# _decoherence_noise_model¶

pyquil.noise._decoherence_noise_model(gates, T1=3e-05, T2=3e-05, gate_time_1q=5e-08, gate_time_2q=1.5e-07, ro_fidelity=0.95)[source]

The default noise parameters

• T1 = 30 us
• T2 = 30 us
• 1q gate time = 50 ns
• 2q gate time = 150 ns

are currently typical for near-term devices.

This function will define new gates and add Kraus noise to these gates. It will translate the input program to use the noisy version of the gates.

Parameters: gates (Sequence[Gate]) – The gates to provide the noise model for. T1 (Union[Dict[int,float],float]) – The T1 amplitude damping time either globally or in a dictionary indexed by qubit id. By default, this is 30 us. T2 (Union[Dict[int,float],float]) – The T2 dephasing time either globally or in a dictionary indexed by qubit id. By default, this is also 30 us. gate_time_1q (float) – The duration of the one-qubit gates, namely RX(+pi/2) and RX(-pi/2). By default, this is 50 ns. gate_time_2q (float) – The duration of the two-qubit gates, namely CZ. By default, this is 150 ns. ro_fidelity (Union[Dict[int,float],float]) – The readout assignment fidelity $$F = (p(0|0) + p(1|1))/2$$ either globally or in a dictionary indexed by qubit id. A NoiseModel with the appropriate Kraus operators defined.