Computational-basis measurement #
Born rule for the computational-basis PVM {|x><x|} [dW19,
qcnotes.tex:406]: measuring a state vector psi yields outcome x with
probability |psi x|^2. For a 1 + n-qubit register we also provide the
marginal probability of observing the first qubit, given by the projective
measurement {|b><b| ⊗ I} whose outcome probability is the squared norm of the
projected block [dW19, qcnotes.tex:433].
The raw StateVector definitions are available for algebraic intermediate
states. The PureState wrappers automatically form probability distributions,
because normalization is part of PureState.
Born rule [dW19, qcnotes.tex:406]: the probability of observing outcome x
when measuring psi in the computational basis.
Instances For
The Born-rule weights sum to the squared norm.
Probability that measuring qubit 0 of a 1 + n-qubit raw state vector
yields b, leaving the other qubits unobserved.
Instances For
Scaling a raw state vector scales the marginal probability by the squared scalar norm.
Born-rule probability for a pure state.
Equations
- psi.probOutcome x = psi.vec.probOutcome x
Instances For
Pure-state outcome probabilities form a probability distribution.
Compatibility name for the pure-state probability distribution theorem.
Expectation value <psi|O|psi> of an observable O, represented as a real
number via the real part. Hermiticity is a property of the observable, not part
of the raw HilbertOperator type.
Instances For
Probability that measuring qubit 0 of a 1 + n-qubit pure state yields
b, leaving the other qubits unobserved.
Equations
- psi.probQubit0 b = psi.vec.probQubit0 b
Instances For
Compatibility name for raw-vector marginal scaling.