API Reference:
qbraid.visualization
Draw Circuit Diagrams
qBraid’scircuit_drawer function takes in any type of supported quantum circuit and draws the corresponding visualization.
Here’s an example using braket and cirq:
Draw OpenQASM 3 circuits
Thecircuit_drawer function accepts a string of OpenQASM 3 code and returns a matplotlib figure of the circuit:
pyqasm.draw(..., output="mpl")
Plot Experimental Results
Gather the measurement counts and plot the histogram data for anyResult constructed from ResultData of type qbraid.runtime.GateModelResultData:
