← Exercise library← All exercises for this theme
Theme 3 — Postulates and Applications

Kets, bras and observables: computations on a qubit

Keywords: Dirac notation · inner product · projector · Born rule · expectation value · incompatible observables · qubit

Exercise 1 : Kets, bras and observables: computations on a qubit

We consider a quantum system whose state space has dimension two, equipped with an orthonormal basis : this is the model of a qubit. We define the two states

together with the two observables

Question 1
Check that and are normalized. Write down the bras and , then compute and . Which relation do these two numbers satisfy?

Solution
In an orthonormal basis, the squared norm is the sum of the squared moduli of the components:

Both states are normalized. The bra associated with a ket is obtained by conjugating the components:

Watch the sign: the component becomes in the bra. The inner product is computed component by component, using and :

We check that : exchanging the two vectors of an inner product amounts to conjugating it. This is the Hermitian symmetry property of the inner product.

Question 2
Give the matrix representation of , of and of the projector in the basis . Check on these matrices that and are Hermitian, that and that .

Solution
The columns of a matrix are the images of the basis vectors, expressed in that same basis. From the definitions given in the statement we get , , , , together with and . Hence the matrices

The three matrices are real and symmetric, hence equal to their conjugate transpose: the operators are Hermitian. An immediate computation gives , consistent with the fact that the eigenvalues of equal , and , the characteristic property of a projector. In and we recognize the Pauli matrices and .

Question 3
We measure on the state . What are the possible outcomes, their probabilities, and the state right after each outcome? Compute the expectation value in two ways: from the probabilities, then by computing directly.

Solution
The vectors and are eigenvectors of with eigenvalues and : these are the only two possible outcomes. The associated projectors are and ; one checks that . The Born rule gives

and one checks that these add up to . After the outcome , the state is the renormalized projection , up to a global phase; after the outcome , the state is . The expectation value is the weighted average of the outcomes:

Direct computation: . The inner product of with this vector is obtained by multiplying the conjugated components of by those of :

The two methods agree, as they must: the formula is nothing but the Born average written in compact form.

Question 4
Determine the eigenvalues and eigenvectors of . We measure on the state : give the probabilities of the outcomes, the expectation value and the standard deviation. Comment on the result .

Solution
The matrix of , written in the previous question, is the Pauli matrix . Its eigenvalues are , with normalized eigenvectors

The probability amplitudes are

with squared moduli

The expectation value is therefore . Since , we have and

A vanishing average does not mean that the measurement yields zero: zero is not even a possible outcome. Each measurement gives or , and it is the statistical average over many systems prepared in the same state that vanishes, the two outcomes being equally likely. The standard deviation, equal to , measures precisely this spread.

Question 5
Compute the commutator . Are the two observables compatible? The measurement of gave ; we then measure , and then again. Give the probabilities of the outcomes of this last measurement and comment.

Solution
Let us compute the two matrix products:

hence

The commutator does not vanish: the two observables are incompatible, and there is no common eigenbasis. After the outcome of , the state is . The measurement of then gives with probabilities , and leaves the system in or . In both cases, the last measurement of gives

Whereas an immediate repetition of the measurement would have given with certainty, the intermediate measurement of has completely erased this information: this is the situation of successive Stern–Gerlach measurements along , and then , translated into qubit language.