deltakit.circuit.gates.OneQubitMeasurementGate.transform_qubits#

OneQubitMeasurementGate.transform_qubits(id_mapping: Mapping[T, U])#

Transform this gates’s qubits according to the id mapping. No transformation is performed if the qubits id is not in the mapping.

Parameters:

id_mapping (Mapping[T, U]) – A mapping of qubit types to other qubit types