Picture of Yee Wei Law

Pure state, mixed state, density operator/matrix

by Yee Wei Law - Sunday, 11 February 2024, 5:51 PM
 

As defined in Practical 1 of COMP 5074, a qubit is a quantum state with two possible outcomes. Mathematically, a qubit is a two-dimensional Hilbert space.

A pure state is the quantum state of a qubit that we can precisely define at any point in time [Qis21, Sec. 1].

  • For example, a qubit, say , that started out as becomes when it passes through a Hadamard gate.
  • When we measure in the computational basis (Z-basis), we get at a probability of 0.5, or at the same probability.
  • Regardless of our measurement, in the ideal condition, we can say with absolute certainty that has quantum state , and is an example of a pure state.

In non-ideal conditions, a qubit can assume a certain quantum state at a certain probability, and other quantum states at other probabilities, regardless of measurements.

  • For example, consider the two-qubit entangled state in Fig. 1:

    where the subscripts and label the qubits associated with registers and respectively.

    Fig. 1: A two-qubit entangled state [Qis21, Sec. 2].
  • Since the qubits of and are entangled, measuring a in causes to be measured in . Similarly, measuring a in causes to be measured in .
  • Equivalently, the qubit of , namely , assumes values and at equal probability.
  • However, this is NOT to say is a superposition of and , i.e., we CANNOT express as .
  • is a mixture or ensemble of the states and [KLM07, Sec. 3.5].
  • is an example of a mixed state, i.e., a statistical ensemble of quantum states [Qis21, Sec. 2].

A direct but rather clunky representation of a mixed state is the set of pairs:

where each pair means the pure state appears at probability , for . Note .

A more compact and useful representation of a mixed state can be obtained from the type of Hilbert-space operators called density operators [KLM07, Sec. 3.5.1].

  • The matrix representation of a density operator is a density matrix.
  • The density matrix representing the pure state is defined as the outer product

  • The density matrix representing the mixed state is defined as the weighted sum of outer products:

    Note do not need to be basis states.

    Example 1

    Revisiting the example in Fig. 1, the density matrix of is thus

  • It is important to know the effect of measuring a mixed state.

    Suppose the pure state , where , is measured in the computational (Z) basis, then the probability of getting as the measurement outcome is [WN17, Sec. 1.2.1]:

    Similarly, the probability of getting as the measurement outcome is .

    Now suppose we are measuring the mixed state . By the law of total probability, the probability of getting is now 

    Similarly, the probability of getting is .

    Thus in general, the probability of measuring mixed state and getting basis vector is

    Example 2

    Continuing from Example 1, let us find out the probability of getting when is measured in the Hadamard (X) basis.

    The probability of getting is

    Similarly, the probability of getting is .

    In case there is any confusion that mixed state is equivalent to , consider what happens when is measured in the X basis: the measurement outcome is simply at a probability of 1.

    Example 3
    [Leo10, Sec. 1.2]
  • A quick way to test whether a density matrix represents a pure state or a mixed state is to use the trace operator [Gra21, p. 11; NC10, Theorem 2.5]:

    represents a pure state if .

    represents a mixed state if .

    is positive-semidefinite (i.e., is a positive operator) and for any density matrix .

    A useful property of is available through the observation that since is a scalar,

    for matrix and ket . Applying the cyclic property of , we get , and consequently [WN17, Exercise 1.2.3]:

    (1)

If the explanation above is hard to grasp, see if edX Lecture 1.2 “The density matrix” of Quantum Cryptography by CaltechDelftX QuCryptox helps.

When applied with unitary operator , state evolves into . Accordingly, the density matrix of the mixed state evolves into

Our adventure with the trace operator continues because an important application of the trace operator is determining the probability of getting result when applying measurement operator to mixed state .

By definition, the probability of getting result given initial state is [NC10, p. 99]:

The last equality is due to Eq. (1). By the law of total probability,

Omitting the derivation in [NC10, pp. 99-100], the density matrix of the system after making measurement and obtaining result is:

By the law of total probability,

implying

which is called the completeness equation. ⚠ Note is unitary if and only if has one value.

Postulates of quantum mechanics

Using the language of the density operator, we can phrase the fundamental postulates of quantum mechanics as [NC10, pp. 98-102; Gra21, p. 11-12]:

Postulate 1: Associated with any isolated physical system is a complex-valued Hilbert space known as the state space of the system. The system is completely described by its density operator, which is a positive operator with trace one, acting on the state space of the system. If a quantum system is in the state (in density-matrix, not ket notation) with probability , then the density operator for the system is .

Postulate 2: The evolution of a closed quantum system is described by a unitary transformation. That is, the state of the system at time is related to the state of the system at time by a unitary operator , which depends only on the times and : .

Postulate 3 (aka Measurement Postulate): Quantum measurements are described by a collection of measurement operators. These are operators acting on the state space of the system being measured. The index refers to the measurement outcomes that may occur in the experiment. If the state of the quantum system is immediately before the measurement then the probability that result occurs is given by

and the state of the system after the measurement is

The measurement operators satisfy the completeness equation:

Postulate 4: The state space of a composite physical system is the tensor product of the state spaces of the component physical systems. Moreover, if we have systems numbered 1 through , and system number is prepared in the state , then the joint state of the total system is .

Postulate 3 defines general/generalised measurement [NC10, Box 2.5], which consists of 1️⃣ a rule describing the probabilities of different measurement outcomes, and 2️⃣ a rule describing the post-measurement state.

  • For applications where measurement is made once at the conclusion of some experiment, the main items of interest are the probabilities rather than the post-measurement state. For these applications, the mathematical tool of positive operator-valued measure (POVM) is applicable.
  • To determine the post-measurement state but in a way that the measurement is repeatable and the outcome is deterministic, we use projective measurement.

References

[Gra21] F. Grasselli, Quantum Cryptography: From Key Distribution to Conference Key Agreement, Quantum Science and Technology, Springer Cham, 2021. https://doi.org/10.1007/978-3-030-64360-7.
[KLM07] P. Kaye, R. Laflamme, and M. Mosca, An Introduction to Quantum Computing, Oxford University Press, 2007. Available at https://ebookcentral.proquest.com/lib/unisa/reader.action?docID=415080.
[Leo10] U. Leonhardt, Essential Quantum Optics: From Quantum Measurements to Black Holes, Cambridge University Press, 2010. https://doi.org/10.1017/CBO9780511806117.
[NC10] M. A. Nielsen and I. L. Chuang, Quantum computation and quantum information, 10th anniversary ed., Cambridge University Press, 2010. Available at http://mmrc.amss.cas.cn/tlb/201702/W020170224608149940643.pdf.
[Qis21] Qiskit, The density matrix and mixed states, Qiskit textbook, June 2021. Available at https://learn.qiskit.org/course/quantum-hardware/density-matrix.
[WN17] S. Wehner and N. Ng, Lecture Notes: edX Quantum Cryptography, CaltechDelftX: QuCryptox, 2017. Available at https://courses.edx.org/courses/course-v1:CaltechDelftX+QuCryptox+3T2018/pdfbook/0/.

» Math and physics (including quantum)