You're reading the documentation for a development version. For the latest released version, please have a look at 11.8.


iqm.qiskit_iqm.iqm_transpilation.optimize_single_qubit_gates(circuit, drop_final_rz=True)#

Optimize number of single-qubit gates in a transpiled circuit exploiting the IQM specific gate set.

  • circuit (qiskit.circuit.quantumcircuit.QuantumCircuit) – quantum circuit to optimise

  • drop_final_rz (bool) – Drop terminal RZ gates even if there are no measurements following them (since they do not affect the measurement results). Note that this will change the unitary propagator of the circuit.


optimised circuit

Return type