deltakit.circuit.noise_channels.PauliChannel2.transform_qubits#

PauliChannel2.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