Closed rsehgal closed 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.
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...