Decompose operation to ionq native operations.
cirq_ionq.ionq_devices.decompose_to_device(
operation: cirq.Operation, atol: float = 1e-08
) -> cirq.OP_TREE
Merges single qubit operations and decomposes two qubit operations
into CZ gates.
Args |
operation
|
cirq.Operation to decompose.
|
atol
|
absolute error tolerance to use when declaring two unitary
operations equal.
|
Returns |
cirq.OP_TREE containing decomposed operations.
|
Raises |
ValueError
|
If supplied operation cannot be decomposed
for the ionq device.
|