iqm.cirq_iqm.iqm_operation_mapping.instruction_to_operation#
- iqm.cirq_iqm.iqm_operation_mapping.instruction_to_operation(instr: Instruction) Operation #
Convert an IQM instruction to a Cirq Operation.
- Parameters:
instr (Instruction) – the IQM instruction
- Returns:
the converted operation
- Return type:
Operation
- Raises:
OperationNotSupportedError When the circuit contains an unsupported operation. –