RelaxationNoisePass¶
- class RelaxationNoisePass(*args, **kwargs)[source]¶
Add duration dependent thermal relaxation noise after instructions.
Initialize RelaxationNoisePass.
- Parameters:
t1s – List of T1 times in seconds for each qubit.
t2s – List of T2 times in seconds for each qubit.
dt – Backend sample time (resolution) in seconds. This is required for converting dt-unit op durations to times in scheduled circuits.
op_types – Optional, the operation types to add relaxation to. If None relaxation will be added to all operations.
excited_state_populations – Optional, list of excited state populations for each qubit at thermal equilibrium. If not supplied or obtained from the backend this will be set to 0 for each qubit.
Attributes
Check if the pass is an analysis pass.
Check if the pass is a transformation pass.
Methods
RelaxationNoisePass.__call__
(circuit[, ...])Runs the pass on circuit.
Return the name of the pass.
Run the LocalNoisePass pass on dag.
RelaxationNoisePass.__call__
(circuit[, ...])Runs the pass on circuit.