A quantum state is the information needed to predict the outcome statistics of measurements on a system. A pure state can be written as a normalized ket . For a qubit that ket can be , with .
Measuring in the computational basis gives the probabilities and . A measurement in a superposition basis can also reveal the relative phase. For example, the equal-amplitude states and share the same computational-basis probabilities but give different X-basis results.
A density operator represents both pure and mixed states. It describes, for example, the qubit received from a source that chooses randomly between and and keeps the choice private. The density operator predicts the statistics available to the receiver without the preparation record.
To distinguish a fair mixture of and from a pure equal-amplitude state, repeat the experiment in another basis. The mixture remains balanced in every basis. A basis containing the pure state has one outcome with certainty for that state.