cirq_ionq.ionq_devices.decompose_to_device

Decompose operation to ionq native operations.

Merges single qubit operations and decomposes two qubit operations into CZ gates.

operation cirq.Operation to decompose.
atol absolute error tolerance to use when declaring two unitary operations equal.

cirq.OP_TREE containing decomposed operations.

ValueError If supplied operation cannot be decomposed for the ionq device.