Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

03. The Density Operator

The Quantum State of a Thermal Beam

Consider the apparatus illustrated in Figure 1. A collimated beam of silver atoms is extracted from an oven, which is then passed to observer~1, who with a Stern-Gerlach apparatus measures SxS_x. In these notes we will speak of measuring spin instead of magnetic moment; these are proportional,

μ=emcS,\muvec={e\over mc} \Svec,

so measuring one implies the measurement of the other. (But physically the Stern-Gerlach apparatus really measures magnetic moment.) Of the two beams that emerge from the apparatus, the one with measured value Sx=−ℏ/2S_x=-\hbar/2 is thrown away.

In the previous set of notes we decided that the Hilbert space for the spin of a silver atom is two-dimensional, and that the eigenspaces of SxS_x (which are the eigenspaces of μx\mu_x) are one-dimensional. Therefore according to the postulates of quantum mechanics, whatever the state of the beam when it enters the first apparatus, it will be projected onto the one-dimensional eigenspace of SxS_x with eigenvalue +ℏ/2+\hbar/2 when Sx=+ℏ/2S_x=+\hbar/2 is measured. Therefore the state of the ++ beam emerging from the first measurement apparatus is described by any nonzero vector in this eigenspace. We let ∣Sx+⟩\ket{S_x\ordplus} be such a vector, assumed to be normalized. The ++ beam is passed to observer~2, who measures some other observable AA. According to the measurement postulates of quantum mechanics, observer~2 will measure an average value of AA given by

⟨A⟩=⟨Sx+∣A∣Sx+⟩.\xpecval{A} = \matrixelement{S_x\ordplus}{A}{S_x\ordplus}.

The quantity ⟨A⟩\xpecval{A} is the average of a large number of measured values of observable AA, which are made on different silver atoms.

An atomic beam from a thermal source is prepared by observer 1 who measures S_x, and is then passed to observer 2 who measures some observable A.

Figure 1:An atomic beam from a thermal source is prepared by observer 1 who measures SxS_x, and is then passed to observer 2 who measures some observable AA.

Thus the quantum state of the beam emerging from the first apparatus is known. But what about the beam that enters the first apparatus, coming from the oven? How is its quantum state described? Is it also associated with some state vector?

Thermal Beam Not Described by a State Vector

The answer is definitely no, for a beam from a thermal source such as we have described is isotropic, and has no preferred direction of spin. For if we measure SxS_x on the thermal beam we find 50% of the atoms with Sx=+ℏ/2S_x=+\hbar/2 and 50% with Sx=−ℏ/2S_x=-\hbar/2, for an average of ⟨Sx⟩=0\xpecval{S_x}=0. Similarly we find ⟨Sy⟩=⟨Sz⟩=0\xpecval{S_y} =\xpecval{S_z}=0, or ⟨S⟩=0\xpecval{\Svec}=0. Naturally, the thermal beam has no preferred direction of spin.

On the other hand, any definite quantum state (a so-called “pure” state) of the spin system is associated with a normalized ket in the 2-dimensional Hilbert space, and such a ket is not isotropic but rather necessarily “points in” some direction. To show this, let us represent an arbitrary normalized ket ∣χ⟩\ket{\chi} in terms of its components with respect to the basis ∣+⟩\ket{+}, ∣−⟩\ket{-}, consisting of eigenkets of the observable SzS_z. Then ∣χ⟩\ket{\chi} can be written in the form,

∣χ⟩=α∣+⟩+β∣−⟩,\ket{\chi}=\alpha\ket{+} + \beta\ket{-},

where

∣α∣2+∣β∣2=1.|\alpha|^2 + |\beta|^2 =1.

We can equally well represent ∣χ⟩\ket{\chi} in terms of a 2-component spinor,

∣χ⟩=(αβ),\ket{\chi} = \begin{pmatrix}\alpha\\\beta\\\end{pmatrix},

where the column spinor contains the components of ∣χ⟩\ket{\chi} with respect to the basis {∣±⟩}\{\ket{\pm}\}. Then by using S=(ℏ/2)σ\Svec = (\hbar/2) \sigmavec and the standard forms for the Pauli matrices σ\sigmavec, we easily find

⟨S⟩=ℏ2(α†β+β†α−iα†β+iβ†α∣α∣2−∣β∣2)=ℏ2(2Re⁡α†β2Im⁡α†β∣α∣2−∣β∣2)=ℏ2n^,\xpecval{\Svec} = {\hbar\over 2} \begin{pmatrix} \alpha^\cc\beta + \beta^\cc \alpha \\ -i\alpha^\cc\beta + i\beta^\cc\alpha \\ |\alpha|^2 - |\beta|^2 \\\end{pmatrix} = {\hbar\over 2} \begin{pmatrix}2\Re\alpha^\cc\beta\\ 2\Im\alpha^\cc\beta\\ |\alpha|^2-|\beta|^2\\\end{pmatrix} ={\hbar\over 2} {\hat{\mathbf{n}}},

where the vector n^{\hat{\mathbf{n}}} is the real, 3-component vector shown. Vector n^{\hat{\mathbf{n}}} is a unit vector, as follows immediately by computing n^⋅n^{\hat{\mathbf{n}}}\cdot{\hat{\mathbf{n}}} and using (4). Thus, ⟨S⟩\xpecval{\Svec} does not vanish, but rather points in some direction n^{\hat{\mathbf{n}}}. For example, one finds that the state ∣Sx+⟩\ket{S_x\ordplus} “points in” the x^{\hat{\mathbf{x}}} direction.

Conversely, if a direction n^{\hat{\mathbf{n}}} is specified by its usual spherical angles (θ,ϕ)(\theta,\phi),

n^=(sin⁡θcos⁡ϕsin⁡θsin⁡ϕcos⁡θ),{\hat{\mathbf{n}}} = \begin{pmatrix} \sin\theta \cos\phi \\ \sin\theta \sin\phi \\ \cos\theta \\\end{pmatrix},

then it is possible to construct a normalized spinor “pointing in” this direction; this spinor is unique up to an arbitrary overall phase. With one choice of phase convention, this spinor is given by

∣χ⟩=e−iϕ/2cos⁡θ2∣+⟩+eiϕ/2sin⁡θ2∣−⟩,\ket{\chi}=e^{-i\phi/2} \cos{\theta\over2} \ket{+} + e^{i\phi/2}\sin{\theta\over2} \ket{-},

or,

∣χ⟩=(e−iϕ/2cos⁡θ2e+iϕ/2sin⁡θ2).\ket{\chi} = \begin{pmatrix} e^{-i\phi/2} \cos {\ds \theta \over \ds 2} \\ e^{+i\phi/2} \sin {\ds \theta \over \ds 2} \\\end{pmatrix}.

The upshot of all this is that the state of the beam emerging from the oven cannot be described by any definite ket in the Hilbert space.

A Random Ensemble of State Vectors

Now let us modify the apparatus by allowing the first observer to orient his or her Stern-Gerlach apparatus in an arbitrary direction n^{\hat{\mathbf{n}}}, as illustrated in Figure 2, to measure the component of S\Svec in the direction n^{\hat{\mathbf{n}}}. Furthermore, let us suppose that before each silver atom enters the first apparatus from the oven, the first observer chooses a random direction n^{\hat{\mathbf{n}}}, uniformly distributed in solid angle, in which to orient the apparatus. (Fortunately, this is a gedankenexperiment, but what we describe is possible in principle. The easiest way to measure the component of the spin in an arbitrary direction would probably be to rotate the spin, rather than the magnet, before the measurement. This could be done with a uniform magnetic field. It is also possible in principle to change the direction of the beam without changing the spin by use of an inhomogeneous electric field.) The first observer keeps this information secret from the second observer, who therefore has no knowledge of the state of polarization of the beam he or she is receiving.

Now the first observer polarizes the beam in a random direction {\hat{\mathbf{n}}}.

Figure 2:Now the first observer polarizes the beam in a random direction n^{\hat{\mathbf{n}}}.

Under these circumstances, the second observer will be unable to tell, by any measurement performed on the beam, whether the beam has passed through a randomly oriented Stern-Gerlach apparatus on its way from the oven, as illustrated in Figure 2, or whether it has been received straight from the oven. (We assume that observer~2 has no information about the intensity of the beam, which otherwise would allow the two cases to be distinguished.) In the absence of knowledge about the orientation of the first apparatus, the two cases are physically indistinguishable.

[Of course, in making these statements, we are assuming that the beam from the oven really is unpolarized, in the sense that ⟨S⟩=0\xpecval{\Svec}=0. It is a matter of experiment to decide whether this is true or not, and we can imagine physical processes in the oven that would result in a net polarization of the beam from the oven. For example, magnetic fields in the oven would impart an energy difference (small, but nonzero) to the two spin states, and then the Boltzmann factor would give different weights to the two states. But for the sake of this discussion, we assume that the thermal beam really is unpolarized.]

Accepting the equivalence of these two physical situations, we can write the average value of AA, measured on the beam taken directly from the oven, as

⟨A⟩=14π∫dΩ ⟨Sn^+∣A∣Sn^+⟩,\xpecval{A} = {1\over 4\pi} \int d\Omega \, \matrixelement{S_{\hat{\mathbf{n}}}\ordplus}{A}{S_{\hat{\mathbf{n}}}\ordplus},

where dΩd\Omega represents the element of solid angle of the direction in which n^{\hat{\mathbf{n}}} points, and where the integral simply averages the expectation value with respect to a definite state ∣Sn^+⟩\ket{S_{\hat{\mathbf{n}}}\ordplus} over all solid angles. The isotropy of the beam is achieved, not by any definite state vector, but by an isotropic probability distribution of state vectors.

Ensembles of State Vectors from a General Standpoint

Let us now consider state vectors distributed according to some probability distribution from a more general standpoint. Let ∣ψ(λ)⟩\ket{\psi(\lambda)} be a family of normalized kets depending on some continuous parameter (or parameters) λ\lambda, and suppose λ\lambda is distributed according to some probability distribution f(λ)f(\lambda), so that f(λ)≥0f(\lambda) \ge 0 and

∫dλ f(λ)=1.\int d\lambda \, f(\lambda) =1.

For example, in the situation discussed above, λ\lambda could be identified with the angles (θ,ϕ)(\theta,\phi), so that dλd\lambda would represent dΩ=sin⁡θ dθ dϕd\Omega=\sin\theta\,d\theta\,d\phi. Then the expectation value of an arbitrary operator AA is given by

⟨A⟩=∫dλ f(λ) ⟨ψ(λ)∣A∣ψ(λ)⟩,\xpecval{A} = \int d\lambda \, f(\lambda) \, \matrixelement{\psi(\lambda)}{A}{\psi(\lambda)},

in which the notion of expectation value includes both the statistics inherent in the measurement of a definite quantum state, and the lack of knowledge about that quantum state. The experimenter cannot tell the difference between these two types of statistics, based solely on experiments performed on the systems he or she receives.

The discrete case is also of interest. Suppose ∣ψi⟩\ket{\psi_i} is some set of normalized kets, where ii is a discrete index to which probabilities fif_i are assigned, so that fi≥0f_i\ge0 and

∑ifi=1.\sum_i f_i = 1.

Then the expectation value of an arbitrary operator is given by

⟨A⟩=∑ifi ⟨ψi∣A∣ψi⟩.\xpecval{A} = \sum_i f_i \, \matrixelement{\psi_i}{A}{\psi_i}.

It is important to note that the kets ∣ψi⟩\ket{\psi_i} are not assumed to be orthogonal; they simply represent a collection of states to which probabilities are assigned. Nor in the continuous case is there any orthogonality relation assumed among the kets ∣ψ(λ)⟩\ket{\psi(\lambda)} for different values of the parameter λ\lambda; for example, in the Stern-Gerlach apparatus discussed above, the states ∣Sn^+⟩\ket{S_{\hat{\mathbf{n}}}\ordplus} for different values of n^{\hat{\mathbf{n}}} are not orthogonal unless the two n^{\hat{\mathbf{n}}} vectors point in opposite directions.

The Density Operator

We now express the expectation values (12) or (14) in terms of the density operator ρ\rho, defined in the continuous case by

ρ=∫dλ f(λ) ∣ψ(λ)⟩⟨ψ(λ)∣\rho = \int d\lambda \, f(\lambda) \, \ketbra{\psi(\lambda)}{\psi(\lambda)}

and in the discrete case by

ρ=∑ifi ∣ψi⟩⟨ψi∣.\rho = \sum_i f_i \, \ketbra{\psi_i}{\psi_i}.

In terms of ρ\rho, the expectation values (12) and (14) can be written,

⟨A⟩=tr⁡(ρA),\boxed{\xpecval{A} = \tr(\rho A),}

as follows immediately from the definitions of ρ\rho and the properties of the trace. (17) is a fundamental result in quantum mechanics, as it expresses the results of an arbitrary measurement in the general case in which the state vector is only known in a statistical sense.

The generality of (17) is even greater than is apparent. At first sight is seems that the measurement of the average value of an observable is a special kind of measurement, and furthermore one that throws some information away. For example, if the measurement of AA produces three values, a1a_1, a2a_2 and a3a_3, with associated probabilities p1p_1, p2p_2, and p3p_3, then when we compute the average value we have lost information about the possible outcomes and their probabilities. But that information is available if we replace AA by one of its projectors, say P1P_1, whose average value is p1p_1; or if we replace AA by P1AP_1A, whose average value is p1a1p_1a_1. Thus, with a sufficiently broad interpretation of the operator AA that appears in (17), we can say that every possible physical measurement that can be made on a physical system gives a result that can be written in the form (17). Therefore knowledge of the density operator allows one in principle to calculate the results of any measurement process.

Pure and Mixed States

The case in which the state of the system is known to be represented by a definite state vector, for example the case of the beam delivered to the second experimenter in Figure 1, is one in which one state vector can be assigned a probability of 100%, and all other state vectors have probability zero. In this case, the density operator has the form

ρ=∣ψ⟩⟨ψ∣,\rho = \ketbra{\psi}{\psi},

where ∣ψ⟩\ket{\psi} is the state vector in question, assumed to be normalized. In this case we speak of a pure state. On the other hand, if there is any statistical uncertainty in the state vector, then we speak of a mixed state. Mixed states are the norm in real experiments. There is some subtlety in this definition, because if we have two kets ∣ψ1⟩\ket{\psi_1} and ∣ψ2⟩\ket{\psi_2} that differ only by a phase factor, and we decide to attach 50% probability to each, then in fact we have a pure state. This of course is what we expect, since the two kets are physically equivalent. Similarly, if kets ∣ψ1⟩\ket{\psi_1} and ∣ψ2⟩\ket{\psi_2} are nearly linearly dependent, and the system is known to be in one or the other with 50% probability, then the system is nearly in a pure state. On can quantify the degree of “pureness” with the entropy, which is discussed below.

Pure and mixed states in quantum mechanics are similar in many respects to coherent and incoherent light in optics. For example, an ensemble of light waves with random phases but very nearly the same k\kvec vector (all moving in nearly the same direction with the same frequency) represents nearly coherent light. This is the case with light from a star, in which the angular spread in k\kvec is the very small angular diameter of the star. Although the individual light wave are emitted incoherently by atoms on the surface of the star, the light arrives at earth in a high degree of coherence. (More precisely, it has a large correlation length, which can be many meters. As realized by Michaelson, measurements of this correlation length can be used to determine the angular diameter of a star, something that cannot be done with ordinary telescopes because the angles are too small).

A Complete and Minimal Description of the Physics

The density operator contains a complete and minimal description of the information available about the given system (more precisely, about the ensemble of identically prepared systems). The description is complete because, as discussed above, knowledge of ρ\rho suffices to calculate the outcome of any statistical measurement. The description is minimal because ρ\rho can be measured (see Measuring the Density Operator). There are no phase or other conventions involved in determining the density operator. Therefore the density operator contains the physics, all the physics, and nothing but the physics. This is in contrast to wave functions or state vectors, which are subject to phase conventions (and which in any case only work for pure states). It is easy to see from the definitions (15) and (16) that the density operator is independent of the phase conventions inherent in its constituent state vectors.

The Statistical Nature of the Measurement Process

In these discussions, however, the measurement process in quantum mechanics must be understood in the appropriate, statistical sense. The postulates of quantum mechanics are obviously stated in statistical terms; nothing is said about the outcome of a measurement performed on an individual system. For example, if we feed a xx-polarized beam of silver atoms into a Stern-Gerlach magnet oriented in the zz-direction, then neither quantum mechanics nor anything else in the universe can say whether an individual silver atom will go up or down in the magnet. What quantum mechanics does do is make predictions about the distribution of up- and down-going atoms when large numbers of silver atoms, prepared in an identical way, are sent into the zz-magnet. In the general case, we must imagine an ensemble of identically prepared systems---in imagination, an infinite number---upon which measurements are made. Quantum mechanics predicts the statistical distribution of measurements on such ensembles. In the orthodox interpretation of quantum mechanics, that is all it does: the density operator ρ\rho, which is measurable on an ensemble of identically prepared systems, is the repository of all information about that ensemble of systems, and allows us to predict the outcome (in a statistical sense) of any experiments performed on that system in accordance with (17).

Quantum Statistics and Hidden Variables

In quantum mechanics it is meaningful to talk about the value of a certain observable, if the system has been prepared in an eigenstate of that observable with some eigenvalue (which is done by measuring that observable and keeping only those systems with a particular outcome). Then subsequent measurements of that observable will return the given eigenvalue with 100% probability, as explained in Statistical Aspects of Measurement. More generally, we can prepare a system in a simultaneous eigenstate of commuting observables, and we can talk about the values of those observables. If the observables in question are not constant in time (if they do not commute with the Hamiltonian), then the system will not remain in the given eigenstate, and in order to obtain the 100% probability quoted it will be necessary to make the subsequent measurements immediately after the preparation. In particular, the Hamiltonian for an isolated system commutes with itself, so if a system is measured to have a certain energy, then it is meaningful afterwards (assuming the system remains isolated) to talk about its energy.

There is, however, no role played in the orthodox interpretation of quantum mechanics for the simultaneous values of noncommuting observables. These are in principle not measurable. We are of course tempted by the analogy with classical mechanics to think in such terms, because in classical mechanics such simultaneous values of noncommuting observables are meaningful. But to do so means that we are using concepts for understanding physical reality that have no physical consequences. One is reminded of Newton’s ideas of absolute space and time, which likewise had no physical consequences, and which were eliminated from physics with the advent of relativity theory. The idea of basing quantum mechanics on strictly measurable quantities seems to be due to Heisenberg, who was apparently influenced by Einstein’s similar reasoning in his development of relativity theory.

In classical statistics, we can reduce our uncertainty about an ensemble (increase our information) by filtering the system, for example, extracting balls from an urn and keeping only those with a red spot. The new (reduced) ensemble is now known to contain only balls with a red spot on them. Similarly, in quantum mechanics, we can reduce our uncertainty of a system described by some density operator ρ\rho by performing measurements. As discussed later in these notes, a measurement produces a new density operator ρ′\rho', representing a (reduced) ensemble about which we have more information. Our information (or rather the lack of it) can be quantified by the entropy, defined in (37), which reaches its minimum value of zero when a complete set of commuting observables has been measured and the system is in a pure state. Even in a pure state, however, the results of experiments are still predicted only in a statistical sense. In this important sense quantum statistics differs greatly from classical statistics.

The idea that nature is intrinsically statistical is one that has not sat well with a number of physicists, notably Einstein. One way of escaping from the orthodox view is to imagine that there are extra dynamical variables present in a physical system, so-called “hidden variables,” which we do not usually measure but which, if we could know them, would allow us to predict the outcomes of individual measurements. There are a variety of hidden variable theories that compete with quantum mechanics and attempt to explain the experimental results within a framework that is fundamentally deterministic, not statistical. These theories can be classified as “local” or “nonlocal.” In a nonlocal hidden variable theory, communication between different parts of the system takes place faster than the speed of light, that is, instantaneously in some Lorentz frame. Since this seems unlikely from the standpoint of relativity theory, local hidden variable theories seem preferable. However, as first shown by J. S. Bell in 1965, local hidden variable theories give physical predictions that differ from those of quantum mechanics. Experiments testing these predictions were carried out by Alain Aspect in the 1980’s, and they showed that quantum mechanics is correct. For this reason, there does not seem to be much room left for hidden variable theories, although there is speculation about nonlocal hidden variable theories in quantum gravity. See Quantum Gravity by Lee Smolin for a nontechnical discussion of some of these ideas.

For these reasons it seems to me that the orthodox view of quantum mechanics is probably correct, and that it is unwise in talking about quantum mechanics to use a language that implies a reality to the simultaneous values of noncommuting observables. I suspect, however, that there will be a reinterpretation of quantum mechanics when and if quantum gravity is finally comprehended.

The Properties of the Density Operator

We return now to the density operator and describe its characteristic properties, of which there are three. First, ρ\rho is Hermitian, as follows immediately from the definitions (15) and (16). Second, ρ\rho is nonnegative definite (see (67), as follows by computing the expectation value of ρ\rho with respect to an arbitrary ket ∣ϕ⟩\ket{\phi},

⟨ϕ∣ρ∣ϕ⟩=∑ifi ∣⟨ψi∣ϕ⟩∣2≥0,\matrixelement{\phi}{\rho}{\phi} = \sum_i f_i \, |\braket{\psi_i}{\phi}|^2 \ge 0,

where for simplicity we work with the discrete case. The third characteristic property of a density operator is that it has unit trace,

tr⁡ρ=1.\tr \rho =1.

This property is equivalent to the normalization condition on the probabilities, (11) or (13), as one can easily show. Conversely, as we shall show below, every nonnegative definite, Hermitian operator with unit trace can be interpreted as a density operator, that is, there exist kets and corresponding statistical weights such that the operator can be written in the form (15) or (16).

Decomposing a Density Operator into Pure States with Weights

Let us return now to the atomic beam emerging from the oven in Figure 1 or Figure 2, and actually compute the density operator that represents it. We use the continuum formula (15), which in the present case becomes

ρ=14π∫dΩ ∣Sn^+⟩⟨Sn^+∣.\rho = {1\over 4\pi} \int d\Omega \, \ketbra{S_{\hat{\mathbf{n}}}\ordplus}{S_{\hat{\mathbf{n}}}\ordplus}.

We write the integrand in terms of spinors and matrices in the SzS_z basis, so that the outer product becomes the product of a column spinor times a row spinor,

(e−iϕ/2cos⁡θ2e+iϕ/2sin⁡θ2(e+iϕ/2cos⁡θ2e−iϕ/2sin⁡θ2=(cos⁡2θ2e−iϕsin⁡θ2cos⁡θ2e+iϕsin⁡θ2cos⁡θ2sin⁡2θ2).))\begin{aligned} \begin{pmatrix} e^{-i\phi/2} \cos {\ds \theta \over \ds 2} \\ e^{+i\phi/2} \sin {\ds \theta \over \ds 2} \\ & \begin{pmatrix} e^{+i\phi/2} \cos {\ds \theta \over \ds 2} & e^{-i\phi/2} \sin {\ds \theta \over \ds 2} \\ \\ & =\begin{pmatrix} \cos^2 {\ds \theta \over \ds 2} & e^{-i\phi} \sin {\ds \theta \over \ds 2} \cos {\ds \theta \over \ds 2} \\ e^{+i\phi} \sin {\ds \theta \over \ds 2} \cos {\ds \theta \over \ds 2} & \sin^2 {\ds \theta \over \ds 2} \\ \end{pmatrix}. \end{pmatrix} \end{pmatrix} \end{aligned}

Here we are identifying ∣Sn^+⟩\ket{S_{{\hat{\mathbf{n}}}}+} with the state χ\chi in (9). When we average the resulting matrix over solid angles, the off-diagonal elements vanish, and the diagonal elements each give 12\frac{1}{2}. Therefore ρ\rho is represented by a multiple of the identity matrix in the SzS_z basis,

ρ=(120012),\begin{aligned} \rho = \begin{pmatrix} \frac{1}{2} & 0 \\ 0 & \frac{1}{2} \\\end{pmatrix}, \end{aligned}

or, in terms of explicit basis vectors,

ρ=12(∣+⟩⟨+∣+∣−⟩⟨−∣)=12.\rho = {1\over2} \Bigl(\ketbra{+}{+} + \ketbra{-}{-}\Bigr) = {1\over2}.

Although this calculation was carried out in the SzS_z basis, the answer is independent of that basis. It is an important lesson of this calculation that an isotropic density operator is represented by a multiple of the identity matrix; as we will see later when we discuss the theory of rotation operators, only such a matrix is invariant under rotations.

Let us now return to the apparatus sketched in Figure 2, and change the game somewhat. Let us suppose that observer~1, instead of choosing the orientation n^{\hat{\mathbf{n}}} of the Stern-Gerlach apparatus uniformly over all solid angles, makes a choice between only two possibilities, n^=z^{\hat{\mathbf{n}}}={\hat{\mathbf{z}}} and n^=−z^{\hat{\mathbf{n}}}=-{\hat{\mathbf{z}}}, each with 50%50\% probability. That is, suppose the only two directions chosen for n^{\hat{\mathbf{n}}} lie at the north and south poles. Then we have an example of a discrete set of state vectors as in (16), with ∣ψi⟩\ket{\psi_i} identified with ∣+⟩\ket{+} and ∣−⟩\ket{-} for i=1,2i=1,2, each with probability 12\frac{1}{2}. It follows that the density operator is

ρ=12∣+⟩⟨+∣+12∣−⟩⟨−∣.\rho={1\over 2} \ketbra{+}{+} + {1\over2}\ketbra{-}{-}.

But this is the same density operator as in (24), obtained under the assumption of an isotropic distribution of vectors n^{\hat{\mathbf{n}}}! Therefore, since the density operator contains within it the results of all physical measurements that can be performed on the ensemble of systems, it is impossible to tell by any experiment whether the ensemble contains atoms polarized in directions that are random and uniform distributed over all solid angles, or simply in the ±z^\pm{\hat{\mathbf{z}}} directions.

The “Real” Wave Functions

There is another important lesson contained in this result, namely, that there is no unique decomposition of a given density operator into a set of pure states with probability weights. Such a decomposition into pure states and associated weights can be carried out in many different ways. But since the density operator contains all the physics that can be measured on a given ensemble of systems, one cannot determine by any physical measurement which pure states and associated weights are the “real” ones. The reality is the density operator itself.

This point would be easier to understand if we had not defined the density operator in the first place in terms of pure states and associated weights [(15) and (16)]. We did this because you have probably spent more time thinking about wave functions than density operators, so you have some feel or intuition for wave functions. Mixed states may be the norm in real experiments, but pure states are the norm in first courses in quantum mechanics and homework problems. But our presentation has been circular: we defined the density operator in terms of pure states, and then defined a pure state in terms of the density operator. A more satisfactory approach would be to incorporate density operators into the postulates of quantum mechanics from the outset, and then to “derive” pure states as a special case. We will, in fact, present a revised and final version of the postulates of quantum mechanics in The Postulates of Quantum Mechanics (Revised), formulated in terms of the density operator, and you should regard these as a satisfactory starting point for understanding the measurement process in quantum mechanics.

This point has interesting implications in some practical situations. Consider, for example, a scattering experiment, in which a beam of particles is directed at a target. As you know, in mathematical treatments of scattering theory, it is common to speak of a plane wave incident on a target, which is scattered into a scattered wave. This is done for reasons of mathematical simplicity, but note that a plane wave is not normalizable and cannot represent the quantum state of a real particle. A more sophisticated approach uses wave packets, which is somewhat closer to real physics because wave packets are normalizable and can represent physically realizable states (but pure ones). But when we are faced with a real accelerator, an obvious question is, what actually is the wave function of the particles coming out? Is it a plane wave, a wave packet, or something else? And how would we know? The answer is that in most cases the state of the particles emerging from an accelerator is not a pure state at all, but rather a statistical mixture, which must be represented by a density operator. Since the density operator has no unique decomposition into pure states, the question about the “real” wave function of the particles is meaningless.

Another shortcoming in first courses in quantum mechanics is that they spend a lot of time talking about wave functions, but little time explaining how a wave function is measured. Measuring a wave function in quantum mechanics is not like measuring a wave field in classical mechanics (for example, an electromagnetic wave). Consider, for example, a spinless particle moving in three dimensions. As you know, if the system is described by a wave function ψ(x)\psi(\xvec), then the probability density for finding the particle somewhere is space is

P(x)=∣ψ(x)∣2.P(\xvec) = |\psi(\xvec)|^2.

Certainly we can measure P(x)P(\xvec), at least in principle, by making measurements on an ensemble of identically prepared systems. And if the system is described by a wave function ψ(x)\psi(\xvec), then we have determined the amplitude of ψ\psi, that is,

ψ(x)=P(x) eiϕ(x),\psi(\xvec) = \sqrt{P(\xvec)} \, e^{i\phi(\xvec)},

where ϕ\phi is a phase that is not determined by our measurements and which may be a function of position. Obviously further measurements are needed to determine this phase.

But before we do that we must ask, how do we even know that the system is represented by a wave function ψ(x)\psi(\xvec), that is, how do we know that it is in a pure state? If the system is represented by a density operator ρ\rho that has a decomposition into a discrete set of pure states and associated weights as in (16), then what we have actually measured is

P(x)=∑ifi∣ψi(x)∣2.P(\xvec) = \sum_i f_i |\psi_i(\xvec)|^2.

This in fact is the diagonal matrix element of the density operator in the position representation,

ρ(x,x′)=⟨x∣ρ∣x′⟩=∑ifiψi(x)ψi(x′)†,\rho(\xvec,\xvec') = \matrixelement{\xvec}{\rho}{\xvec'} = \sum_i f_i \psi_i(\xvec) \psi_i(\xvec')^\cc,

that is, we have measured

P(x)=ρ(x,x).P(\xvec) = \rho(\xvec,\xvec).

The x\xvec-space matrix elements of ρ\rho given in (29) actually constitute the correlation function of the quantum wave function. Generally speaking, the correlation function of a wave field is the statistical average of a product like ψ(x)ψ(x′)†\psi(\xvec) \psi(\xvec')^\cc, for example, one can talk about the correlation function of the electric field in optics. Thus, before we attempt to measure the phase ϕ\phi in (27), we should make sure that we have a pure state. One way to do this would be to measure the off-diagonal elements of ρ\rho, thereby determining ρ\rho as an operator, and then decide whether it represents a pure state. See Criteria for a Pure State.

General Properties of the Density Operator (Continued)

In the following (and for the rest of the course) we will adopt the point of view that the density operator is the primary object and that pure states are just a special case. This is certainly how it is in real experiments, but it means that our original “definitions” of the density operator, in (15) and (16), are not satisfactory, because they express the density operator in terms of a statistical ensemble of pure states. Nevertheless, those equations do give a useful perspective on the density operator, which is directly applicable in situations such as the gedankenexperiment we considered earlier in which the beam of atoms was polarized in a random direction. Moreover, as shown in The Properties of the Density Operator, they lead to three important properties of the density operator: it is Hermitian, it is nonnegative definite, and it has unit trace.

To pursue this idea, we now ask, if an operator ρ\rho has these three properties, can it be represented as a statistical mixture of pure states? That is, do there exist weights and state vectors such that (15) or (16) is true? The answer is yes, as we now show.

Suppose we have a nonnegative definite, Hermitian operator ρ\rho of unit trace. Consider its eigenkets ∣n⟩\ket{n} and eigenvalues pnp_n,

ρ∣n⟩=pn∣n⟩.\rho\ket{n} = p_n \ket{n}.

The operator ρ\rho can only have a discrete spectrum, because any operator with a continuous spectrum has a trace that is infinite (or not defined, see \hilbert.22). Since ρ\rho is Hermitian, the eigenvalues pnp_n are real. Furthermore, since ρ\rho is nonnegative definite, we can multiply (31) on the left by ⟨n∣\bra{n} to obtain

⟨n∣ρ∣n⟩=pn≥0.\matrixelement{n}{\rho}{n} = p_n \ge 0.

Next, by summing this over nn and using the fact that tr⁡ρ=1\tr\rho=1, we obtain

∑npn=1,\sum_n p_n =1,

so that the pnp_n are nonnegative numbers that sum to unity and can be interpreted as probabilities. Finally, expressing ρ\rho in terms of its eigenvalues and projectors, we have

ρ=∑npn ∣n⟩⟨n∣,\rho = \sum_n p_n \, \ketbra{n}{n},

which is a special case of (16). This proves the assertion.

We see that an arbitrary density operator can actually be represented in terms of a discrete, orthonormal set of pure states and associated weights; but we emphasize again that in the general representation of a density operator in terms of pure states, as in (16), there is no requirement that the states ∣ψi⟩\ket{\psi_i} be orthogonal (nor do they have to belong to a discrete family, as we have seen in the example discussed in A Random Ensemble of State Vectors). We also emphasize that the decomposition of ρ\rho into pure states and weights is not unique. Nevertheless, since such a decomposition always exists, it is never wrong to assume such a representation of a density operator for the purpose of calculation or of understanding its properties.

Criteria for a Pure State

How do we know if a density operator is actually a pure state, that is, that it can be written ρ=∣ψ⟩⟨ψ∣\rho=\ketbra{\psi}{\psi} for some normalized ket ∣ψ⟩\ket{\psi}? The most direct answer is to diagonalize ρ\rho. If all the eigenvalues are zero except one that is 1, and if the eigenvalue 1 is nondegenerate, then the state is pure, and it is represented by the eigenket of ρ\rho with eigenvalue 1. It that case ρ\rho is a projection operator onto the one-dimensional eigenspace of eigenvalue 1.

Here are some other criteria for a pure state. First we have the theorem, that for any density operator ρ\rho,

tr⁡ρ2≤1,\tr \rho^2 \le 1,

with equality if and only if ρ\rho represents a pure state. The proof of this theorem will be left as an exercise (see Prob.~\prbrdensity-2). Another test relies on the fact that a density operator ρ\rho represents a pure state if and only if ρ2=ρ\rho^2=\rho (so that ρ\rho is a projector). Yet another test is based on the entropy (defined momentarily).

How to Prepare a Pure State in Practice

One way to prepare a pure state in practice is to measure a complete set of commuting observables. This was done in the Stern-Gerlach gedankenexperiment described in Fig.~\figr\postulat.1, in which the beam is in a pure state (of its spin degrees of freedom) after the first measurement of μx\mu_x.

For another example, consider an ensemble of atoms extracted from an oven that is hot enough that there are significant populations of excited states, or the ensemble created when atoms are bombarded by an electron beam with an energy high enough to raise them into excited states. Such an ensemble is a mixed state with various probabilities for the excited states. If we just wait long enough, however, all these atoms (after we have extracted them from the oven or the electron beam, where they become isolated systems) will decay into the ground state, emitting one or more photons. After the photons have departed, we are left with an atom that is in the ground state with 100% probability. More generally, all systems move toward the ground state as the temperature is lowered, becoming more and more “pure.”

Creating an atom in an excited pure state can be done to some approximation with optical pumping techniques, in which an atom in the ground state is exposed to an electromagnetic field. To the extent that this electromagnetic field is known precisely, the state of the atom can be calculated by solving the Schr"odinger equation, with the initial (pure) ground state as initial conditions. The resulting state is generally not an energy eigenstate, so it has a nontrivial time evolution.

For another example, consider a beam of particles of the same energy EE and p=2mE/ℏp=\sqrt{2mE}/\hbar (the magnitude of momentum), but with some spread δθ\delta \theta in direction. Let this beam fall on a screen with a hole of size a≪λ/δθa \ll \lambda/\delta\theta, where λ=2πℏ/p\lambda = 2\pi\hbar/p is the de~Broglie wave length. Then the quantum state of the particles that pass through the hole is a pure state.

You can visualize this by thinking of an ensemble of waves with random phases impinging on the small hole. The waves that emerge from the other side are nearly spherical waves centered on the hole, or, rather, a statistical mixture of such waves with random phases. But since these waves are all nearly proportional to one another, as we have seen, the ensemble itself is a pure state.

In a similar way it is possible in optics to create nearly coherent light from an incoherent source by first selecting a definite frequency (with a prism or diffraction grating, for example), and then passing the light through a small hole.

Quantum Statistical Mechanics

Statistical mechanics applies whenever we have only partial information about a system, so that certain quantities are known only in a statistical sense. As we have seen, in quantum mechanics the state of our (incomplete) knowledge about such a system is specified by the density operator. A special case of interest is that of a system in thermal equilibrium at a given temperature TT; for that case a particular density operator is appropriate, but one can also consider other (nonequilibrium) situations.

In the general case (equilibrium or nonequilibrium), a given density operator ρ\rho can be associated with an entropy SS, according to the formula,

S=−ktr⁡(ρln⁡ρ)=−k⟨ln⁡ρ⟩,S = -k \tr(\rho \ln \rho) = -k \xpecval{\ln \rho},

where kk is the Boltzmann constant, where the logarithm of the operator ρ\rho is defined as in A Function of an Observable, and where the angular brackets represent the statistical average as in (17). In particular, if we write out the trace in terms of the orthonormal eigenkets of ρ\rho itself, we have

S=−k∑npnln⁡pn,S=-k\sum_n p_n \ln p_n,

where the pnp_n are the eigenvalues of ρ\rho, as in (31). It is easy to show that S=0S=0 for a pure state, and S>0S>0 for a mixed state.

The justification of (36) or (37) is based on information theory and will not be repeated here. Suffice it to say that the entropy is the negative of a measure of the information available about a system, so that lower entropy means more information and vice versa. In particular, the minimum value of entropy S=0S=0 corresponds to the maximum amount of information one can have about a system, that is, the knowledge that it is in a pure state. By making measurements on a system, we can increase our information about the system and thereby decrease the entropy. The definition (37) is the obvious quantum analog of the classical expression first written down by Boltzmann in the 1870’s for the entropy of a system. Boltzmann was the first to generalize the definition of entropy from equilibrium to nonequilibrium situations and to appreciate its statistical foundations.

If entropy is maximized subject to the constraint that the average value of energy is known, then we obtain the density operator for a system at thermal equilibrium at a given temperature. In this most important case we have

ρ=1Ze−βH,\boxed{\rho = {1\over Z} e^{-\beta H},}

where β=1/kT\beta=1/kT is the usual thermodynamic parameter, and where Z=Z(β)Z=Z(\beta) is the partition function, which otherwise is the normalization factor required to make tr⁡ρ=1\tr\rho=1:

Z(β)=tr⁡e−βH.\boxed{Z(\beta)=\tr e^{-\beta H}.}

The parameter β\beta enters into (38) as the Lagrange multiplier enforcing the given average value of the energy. Notice that the density operator ρ\rho in thermal equilibrium is a function of the Hamiltonian operator, as defined in A Function of an Observable.

These equations are often written in terms of the eigenvalues and eigenkets of the Hamiltonian. We write

H∣nα⟩=En∣nα⟩,H\ket{n\alpha} = E_n \ket{n\alpha},

where α\alpha is an index used to resolve any degeneracies,

α=1,…,gn,\alpha=1, \ldots, g_n,

where gng_n is the order of the degeneracy of level EnE_n. Then since ρ\rho is a function of the Hamiltonian, it is diagonal in the energy eigenbasis,

ρ=1Z∑nαe−βEn ∣nα⟩⟨nα∣,\rho={1\over Z} \sum_{n\alpha} e^{-\beta E_n} \, \ketbra{n\alpha}{n\alpha},

and

Z(β)=∑nαe−βEn=∑ngne−βEn.Z(\beta) = \sum_{n\alpha} e^{-\beta E_n}= \sum_n g_n e^{-\beta E_n}.

Because of these relations, the problem of computing the operator e−βHe^{-\beta H}, or at least its trace, is of central importance in statistical mechanics. The partition function Z(β)Z(\beta) is a generating function for many of the functions (such as the equation of state) that are of interest in equilibrium statistical mechanics.

The physics of (38) is that of a system that has been prepared by allowing it to equilibrate with a heat bath at temperature TT, which then (in imagination, at least) is detached from the heat bath and delivered to an experimenter for measurements. For example, the atoms in the ovens illustrated in Figs.~Figure 1 and Figure 2 can be thought of as being in contact with a heat bath while inside the oven, where there are frequent collisions between atoms in the hot gas (for example, silver vapor) and between atoms and the walls of the oven. That is, the rest of the gas and the walls can be thought of as a heat bath for a particular atom.

Coherent and Incoherent Superpositions

It is important to distinguish a density operator such as (42), which represents an incoherent superposition of energy eigenstates, from a coherent superposition of energy eigenstates, which is a pure state of the form

∣ψ⟩=∑ncn∣n⟩.\ket{\psi} = \sum_n c_n \ket{n}.

(Here we drop the index α\alpha, assuming a nondegenerate spectrum for simplicity.) If the ket ∣ψ⟩\ket{\psi} is known, then the expansion coefficients cnc_n are also known, and we have

textProb(E=En)=∣cn∣2.\\textProb(E=E_n) = |c_n|^2.

This pure state corresponds to the density operator,

ρ=∣ψ⟩⟨ψ∣=∑nmcncm†∣n⟩⟨m∣,\rho = \ketbra{\psi}{\psi} =\sum_{nm} c_n c_m^\cc \ketbra{n}{m},

which differs from the density operator (42) by the presence of off-diagonal terms.

The probabilities of the finding the system in various energy eigenstates depends only on the magnitudes of the coefficients cnc_n and not their phases, as we see in Eq.(45). Let us write

cn=aneiϕn,an=∣cn∣,c_n = a_n e^{i\phi_n}, \qquad a_n = |c_n|,

so that cnc_n is broken into its amplitude ana_n and phase ϕn\phi_n. There are many circumstances where the phases ϕn\phi_n are not as well known as the amplitudes ana_n; in particular, a measurement of energy alone gives no information about these phases. Moreover, the coefficients cnc_n are not constant in time, but evolve according to

cn(t)=cn(0) e−iEnt/ℏ,c_n(t) = c_n(0)\, e^{-iE_nt/\hbar},

so the phases ϕn\phi_n evolve in time and at a different rate for each energy level. Even if we imagine the ϕn\phi_n to be known at some initial time, they will tend to become randomized as time goes on, since any uncertainties in the energy eigenvalues will result in an increasing uncertainty in the phases ϕn\phi_n as time progresses, ultimately becoming much larger than 2π2\pi. In addition, interaction with other systems (for example, a heat bath) will cause random phase shifts to be introduced into the ϕn\phi_n. This leads us to consider a random phase ensemble, in which the amplitudes ana_n are presumed known, but the phases ϕn\phi_n are uniformly distributed on [0,2π][0,2\pi] and uncorrelated with one another.

In that case, we should replace the density operator (46), which we now write in the form,

ρ=∑nmanam ei(ϕn−ϕm) ∣n⟩⟨m∣,\rho = \sum_{nm} a_n a_m \, e^{i(\phi_n -\phi_m)} \, \ketbra{n}{m},

by its average over the random phase ensemble. The average only affects the phases in this expression, for which we have,

⟨ei(ϕn−ϕm)⟩textphases=δnm,\Bigl\langle e^{i(\phi_n - \phi_m)} \Bigr\rangle_{\\text{\sevenrm phases}} =\delta_{nm},

since if n=mn=m we are averaging the constant 1, while if n≠mn\ne m the average over the statistically independent phases vanishes. Thus the density operator (49) becomes

ρ=∑nan2∣n⟩⟨n∣.\rho = \sum_n a_n^2 \ketbra{n}{n}.

In contrast to (49), this is an incoherent superposition of energy eigenstates. The density operator in thermal equilibrium is just such an incoherent superposition, in which the probabilities of the various energy eigenstates are given by the Boltzmann factor e−βEn/Ze^{-\beta E_n}/Z.

Measuring the Density Operator

The density operator is in principle measurable, given an ensemble of systems. This is an important fact that is necessary for its role as the fundamental object describing the state of the system. The measurement of ρ\rho does not involve any phase or other conventions.

As a simple illustration, consider a spin system with spin 12\frac{1}{2}, such as the silver atoms in a Stern-Gerlach experiment. By making measurements on the beam, we can determine ⟨S⟩=tr⁡(ρS)\xpecval{\Svec} = \tr(\rho\Svec), where S=(ℏ/2)σ\Svec=(\hbar/2 )\sigmavec. As for ρ\rho, we expand it as a linear combination of the identity and the three Pauli matrices (see Prob. Paragraph (c)),

ρ=aI+b⋅σ,\rho = aI + \bvec\cdot\sigmavec,

where a=12tr⁡ρ=12a=\frac{1}{2}\tr\rho=\frac{1}{2} and where

bi=12tr⁡(σiρ)=1ℏtr⁡(Siρ)=1ℏ⟨Si⟩.b_i = {1\over 2}\tr(\sigma_i\rho) = {1\over\hbar}\tr(S_i\rho) ={1\over\hbar} \xpecval{S_i}.

Altogether, we find

ρ=12(I+2ℏ⟨S⟩⋅σ).\rho ={1\over 2}\Bigl( I +{2\over\hbar}\xpecval{\Svec} \cdot\sigmavec\Bigr).

From this it is easy to show that ρ\rho is a pure state if and only if ∣⟨S⟩∣=ℏ/2|\xpecval{\Svec}| = \hbar/2, so that ⟨S⟩=(ℏ/2)n^\xpecval{\Svec} = (\hbar/2) {\hat{\mathbf{n}}}, where n^{\hat{\mathbf{n}}} is a unit vector. In that case we have

ρ=12(I+n^⋅σ).\rho={1\over 2}(I + {\hat{\mathbf{n}}}\cdot\sigmavec).

It is left as an exercise to show that the state vector in this case is given by (8) (in terms of the spherical angles of the unit vector n^{\hat{\mathbf{n}}}).

The Postulates of Quantum Mechanics (Revised)

We will conclude this discussion by revising the postulates of quantum mechanics presented in 02. The Postulates of Quantum Mechanics, to incorporate the density operator. The revised postulates are the following:

Prob(A=an)=tr⁡(ρPn),\Prob(A=a_n) = \tr(\rho P_n),

where PnP_n is the projection operator onto the eigenspace En\ES_n corresponding to eigenvalue ana_n, as indicated by (128). In the continuous case, the probability of measuring AA to lie in some interval I=[a0,a1]I=[a_0,a_1] of the continuous spectrum is

Prob(a0≤A≤a1)=tr⁡(ρPI),\Prob(a_0 \le A \le a_1) = \tr(\rho P_I),

where PIP_I is the projection operator corresponding to interval II, as in (132).

We will not present the revision of postulate~6 here, but rather leave it as an exercise.

Problems

Problem 1.

The projection postulate of quantum mechanics says that if a system is described by a pure state ∣ψ⟩\ket{\psi} (here assumed to be normalized), then after a measurement of the operator AA producing eigenvalue ana_n, the system is described by the (normalized) state

∣ψ′⟩=Pn∣ψ⟩⟨ψ∣Pn∣ψ⟩,\ket{\psi'} = {P_n \ket{\psi} \over \sqrt{\matrixelement{\psi}{P_n}{\psi}}},

where }PnP_n is the projector onto the nn-th eigenspace of AA.

Suppose instead the system is described initially by a density operator ρ\rho (assumed normalized). What is the (normalized) density operator ρ′\rho' after the measurement? Express your answer in terms of the original density operator ρ\rho. Do not assume the eigenvalue ana_n is nondegenerate. Do not just write down an answer, to get credit you must justify it.

Problem 2.

Show that if ρ\rho is a density operator, then tr⁡ρ2≤1\tr\rho^2\le1, with equality if and only if ρ\rho represents a pure state.

Problem 3.

Here is another approach to the density operator. Suppose we have a total system tt which is composed of a subsystem ss of interest, plus the rest rr of the total system. For example, let system ss be an atom. Then system rr could be another microscopic system which has interacted with the atom; it could be a second, identical atom, with both atoms flying apart and carrying spin correlations as in an Einstein-Podolsky-Rosen experiment; it could be a heat bath; it could be a macroscopic measuring apparatus; it could be the rest of the universe. System rr may interact with system ss only for certain time intervals, as we wish (in other words, we may wish to assume that systems ss and rr are noninteracting at certain times).

Let ∣n⟩(s)\ket{n}^{(s)} and ∣m⟩(r)\ket{m}^{(r)} be bases of kets in the Hilbert spaces for the subsystem of interest and the rest of the system, respectively, so that the product kets ∣n⟩(s)∣m⟩(r)\ket{n}^{(s) }\ket{m}^{(r)} are basis kets for the Hilbert space for the total system. Let spaces Es\ES_s, Er\ES_r and Et\ES_t be the Hilbert spaces for the system of interest, the rest of the system, and the total system, respectively.

Suppose the total system is in a pure state ∣ψ⟩∈Et\ket{\psi} \in \ES_t. If systems ss and rr are noninteracting (at some time), you might suppose that we could describe system ss by means of a wave function, i.e., as a pure state; but this is impossible in general. Show that if AsA_s is an operator which acts only on ket space Es\ES_s, then the expectation value of AsA_s can be expressed in terms of an operator ρs\rho_s which also acts only on Es\ES_s. That is, show that with a proper definition of ρs\rho_s, we have

⟨As⟩=tr⁡(ρsAs).\xpecval{A_s} = \tr (\rho_s A_s).

Express ρs\rho_s in terms of the expansion coefficients of ∣ψ⟩\ket{\psi} with respect to a basis in Et\ES_t. Show that ρs\rho_s satisfies all the requirements of a density operator, namely, it is Hermitian, nonnegative definite, and has unit trace.