deltakit.circuit.InvertiblePauliX.transform_qubits#
- InvertiblePauliX.transform_qubits(id_mapping: Mapping[T, U])#
Transform this noise channel’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