iqm.pulla.utils.circuit_operations_to_cpc

iqm.pulla.utils.circuit_operations_to_cpc#

iqm.pulla.utils.circuit_operations_to_cpc(circ_ops, name=None)#

Convert a list of CircuitOperations to an IQM CPC Circuit.

Parameters:
  • circ_ops (tuple[CircuitOperation]) – The CircuitOperations to convert.

  • name (str | None) – Optional name of the circuit.

Returns:

The equivalent IQM CPC Circuit.

Return type:

Circuit