Interfacing with External Software

Our compiler tools include functions that enable easy conversion of True-Qᵀᴹ circuits to and from the circuit representation of other popular software packages. This translation includes a compilation step that converts gates in a circuit into the gates that are supported by the targeted software package.

Note

Users can specify a set of supported gates during conversion if they want the output to be compatible with a specific gate set. Additionally, users can specify a priority list which tells the interface which gate to use when there is degeneracy in the gate representations. See Interface: Introduction for an example using an alternate priority list.

Currently, True-Qᵀᴹ supports integration with Qiskit, Cirq, and pyQuil.

Examples

../_images/sphx_glr_interface_software_thumb1.png

Interface: Introduction