Compilation Tools
True-Q™ has a powerful built-in Compiler
that allows
users to re-express a quantum circuit in True-Q™ through a different gateset such as
the set of gates native to a particular physical device. Additionally, the
Compiler
can transform a True-Q™ circuit to be
compatible with the circuit representations of other leading software frameworks
such as Qiskit, Cirq and PyQuil.
- Example: Configuring Native Gates
The
Compiler
can be used to construct circuits containing only gates that a native to a particular physical device by defining a configuration consisting ofGateFactory
objects.
- Compiler
The
Compiler
translates quantum circuits into new quantum circuits that contain only gates that can be executed on a specific hardware platform. This includes arbitrarySU(4)
decomposition for converting arbitrary unitary matrices into gates that are compatible with the hardware, in addition to circuit compression, simplification, and handling hardware restrictions.- Example: Compilation Basics
Provides hands-on examples for how to get started with the True-Q™
Compiler
.
- Example: Defining Custom Compilers
Demonstrates how the
Compiler
can be customized by specifying compilationPass
options.
- Example: Advanced Custom Compilers
Walks through an example of a highly customized
Compiler
with 15Pass
es.
- Example: Gate synthesis
Shows how arbitrary unitary gates can be synthesized using the True-Q™
Compiler
.
- Example: Phase Tracking with the Compiler
The ability of the
Compiler
to incorporate parameterized gates allows for flexible gate synthesis through specification of parameterized gate phases. This example demonstrates the so-called Phase Tracking technique using both the cross-resonance and the Mølmer-Sørensen gate.
- Example: Interfacing with Other Software
Demonstrates how to easily convert between the circuit representations of leading software packages to run jobs on different platforms, including re-compiling into the gateset supported by the hardware backend. Currently, True-Q™ supports conversion between Qiskit, Cirq, pyQuil, and QASM.