Learn how to use our hardware-native gateset to run a circuit with Cirq
cirq-ionq
package, including:
GPIGate(phi)
GPI2Gate(phi)
MSGate(phi0, phi1, theta=0.25)
for Aria systemscirq-ionq
. To use this type of native gate, build and submit circuits via the IonQ API or Qiskit.
The native gates can be imported from cirq_ionq.ionq_native_gates
:
cirq.MSGate
, but this gate is not equivalent to the IonQ native gates. To build a circuit in IonQ native gates, make sure you’re using the MS gate imported from cirq_ionq
.
cirq_ionq.Service
—the gateset will be detected automatically.
pip install cirq~=1.0.dev
. This capability should be included in the next full release after version 1.4.1.
Start by constructing a circuit using abstract (QIS) gates:
cirq_ionq
, then use cirq.optimize_for_target_gateset()
.