Skip to content

Commit

Permalink
Fix typo in contrib noise models (#2529)
Browse files Browse the repository at this point in the history
  • Loading branch information
mpharrigan authored and CirqBot committed Nov 13, 2019
1 parent c90644e commit 7a15f02
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cirq/contrib/noise_models/noise_models.py
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ def __init__(
"""
value.validate_probability(depol_prob, 'depol prob')
value.validate_probability(bitflip_prob, 'bitflip prob')
value.validate_probability(decay_prob, 'bitflip prob')
value.validate_probability(decay_prob, 'decay_prob')
self.qubit_noise_gate = ops.DepolarizingChannel(depol_prob)
self.readout_noise_gate = ops.BitFlipChannel(bitflip_prob)
self.readout_decay_gate = ops.AmplitudeDampingChannel(decay_prob)
Expand Down

0 comments on commit 7a15f02

Please sign in to comment.