deltakit.circuit.NoiseLayer.transform_qubits#
- NoiseLayer.transform_qubits(id_mapping: Mapping[T, U])#
Transform all noise channels in this layer 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