pyQuil
pyQuil is Rigetti's Python library for constructing Quil programs and working with quantum processors and simulators. Its visualization support includes conventional circuit diagrams and probability bar charts. The LaTeX module translates a program into a wire-and-gate diagram and can display the rendered result in a notebook when the required external tools are installed. Wavefunction.plot displays computational-basis outcome probabilities by bitstring. Together, these features let developers compare the structure of a program with its simulated output. The resources below focus on pyQuil's own interfaces for these tasks.
Visualization labels
03 / VisualizationVisual representations
Visualization resources
Explore the tool’s visualization features and documentation.
Circuit drawing with LaTeX
Circuit export, notebook display, layout settings, and required rendering dependencies.
Wavefunction probability plots
The native bar-chart method for inspecting bitstring probabilities.
Wavefunction simulator guide
How to obtain and inspect the simulated wavefunction used by probability plots.
A Practical Quantum Instruction Set Architecture
Cite this work
@misc{pyquil,
author = {Smith, Robert S. and Curtis, Michael J. and Zeng, William J.},
eprint = {1608.03355},
eprintclass = {quant-ph},
eprinttype = {arXiv},
title = {A Practical Quantum Instruction Set Architecture},
year = {2016},
}