deltakit.circuit.NoiseContext#
- class deltakit.circuit.NoiseContext(circuit: Circuit, gate_layer: GateLayer)#
Bases:
objectCircuit data passed by deltakit_circuit.Circuit.apply_gate_noise to the noise generation functions. In guaranteeing that this object is passed through to noise generation functions, users have maximal access to the circuit’s state and are able to formulate noise profiles for circuits that are not yet in scope
Methods#
Returns all the qubits that belong to gates of type gate_t in self.gate_layer's gates with optional gate qubit count selector. |