rsehgal / barcQ

A repository to share ideas related to Quantum computing, and code to implement Quantum Algorithms
2 stars 0 forks source link

Displaying the results of Quantum circuits #38

Closed rsehgal closed 4 years ago

rsehgal commented 4 years ago

Currently there is no way to display the result of the quantum circuit. Once we are able to create a communication channel between front and backend, the next required thing is to display the results. This may be the histogram of the various possible output.

IDEA : Once the job is executed at the backend, the results should be stored in the form of JSON file, Upon request the file will be sent back to the frontend where the histogram will be generated using Javascript plotting library. Various libraries are available like Plotly, Koolchart, Highchart etc...

rsehgal commented 4 years ago

For the time being, we will assume that frontend will get the result back from the backend in the form of JSON object containing the data to plot. So in this implementation we will fix the JSON format and will use that to populate the histogram to be displayed in Results tab.