Description Usage Arguments Value Raises See Also
with probability of a flip given by p. If p is NULL, return a guaranteed flip in the form of an X operation. This channel evolves a density matrix via $$ \rho \rightarrow M_0 \rho M_0^\dagger + M_1 \rho M_1^\dagger $$ With $$ \beginaligned M_0 =& \sqrtp \beginbmatrix 1 & 0 \ 0 & 1 \endbmatrix \ M_1 =& \sqrt1-p \beginbmatrix 0 & 1 \ 1 & -0 \endbmatrix \endaligned $$
1 | gate_bit_flip(p = NULL)
|
p |
the probability of a bit flip. |
Construct a BitFlipChannel that flips a qubit state.
ValueError: if p is not a valid probability.
Other Noisy gates and operations:
gate_amplitude_damping_channel()
,
gate_amplitude_damp()
,
gate_asymmetric_depolarize()
,
gate_asymmetric_depolarizing_channel()
,
gate_bit_flip_channel()
,
gate_depolarize()
,
gate_depolarizing_channel()
,
gate_generalized_amplitude_damping_channel()
,
gate_generalized_amplitude_damp()
,
gate_no_noise()
,
gate_noise_model_like()
,
gate_noise_model()
,
gate_phase_damping_channel()
,
gate_phase_damp()
,
gate_phase_flip_channel()
,
gate_phase_flip()
,
gate_reset_channel()
,
gate_reset()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.