Skip to article frontmatterSkip to article content
Tutorial

Wigner Functions

Abstract

An overview of Winger functions for continuous and discrete quantum systems. Particular detail is given to the discrete case.

Keywords:Phase spaceWigner functionscontinuous systemsdiscrete systemsWooters.

Introduction

Quantum states, both continuous and discrete, can be represented in terms of operators on a Hilbert space. Alternatively, they can be represented as real valued functions - Wigner functions - on a phase space. Both methods contain the same information and the laws of quantum mechanics can be formulated in both paradigms.

This article will primarily focus on the discrete Wigner function. However, given its was initially form for continuous systems they will be briefly covered.

Continuous Systems

In this section, Wigners orginal formulation of quantum mechanics in phase space is briefly covered.

Let ρHd\rho \in \mathcal{H}^d be the density operator of a particle that is able to move in one dimension. The Wigner function is defined as

Wρ(q,p)=1πqxρq+xe2ipxhdx,W^{\rho}(q, p) = \frac{1}{\pi \hbar} \int \bra{q-x} \rho \ket{q+x} e^{\frac{2ipx}{h}} dx,

where q q and p p are the position and momentum operators (they could also be quadratures when considered quantum optics).

Here, we will only consider the Wigner function for position and momentum, see Rundle & Everitt (2021) for details on the Wigner function for arbitrary operators.

Properties of the Continuous Winger Function:

Normalisation
Inner Product
Observables
Marginals

The Wigner function is normalised,

Wρ(p,q)dq dp=1.\int \int W^{\rho}(p, q) dq ~ dp = 1.

Phase Space:

The phase space on which the Wigner function is defined is R2\mathbb{R}^2. This is due to position and momentum being continuous variables and hence they are able to be any real value, (q,p),R2(q,p), \in \mathbb{R}^2.

Phase Point Operators:

The Wigner function for a state can be calculated using the so-called phase-point operators. These are a set of Hermitian operators, {A(q,p)}\{A(q,p)\}. There exists one phase-point operator for each point in phase space.

The phase-point operators are defined such that

ρ=Wρ(q,p)A(q,p)dq dp.\rho = \int \int W^{\rho}(q,p) A(q,p) dq~dp.

The Wigner function at a point (q,p)(q,p) can be found from the phase-point operators as

Wρ(q,p)=12πtr[ρA(q,p)].W^{\rho}(q,p) = \frac{1}{2 \pi \hbar} \textrm{tr} \big[ \rho A(q,p) \big].

The phase point operators have the following properties:

  1. tr[A(q,p)]=1  (q,p)R2\textrm{tr}\big[ A(q,p) \big] = 1~\forall~(q,p) \in \mathbb{R}^2.
  2. tr[A(q,p)A(q,p)]=2πδ(qq)δ(pp)  (q,p),(q,p)R2\textrm{tr}\big[ A(q,p) A(q',p') \big] = 2 \pi \hbar \delta(q - q') \delta(p-p') ~\forall~(q,p), (q',p') \in \mathbb{R}^2
  3. Given an operator O=ap+bqO=a p + b q, consider the strip of phase space such that c1Oc2c_1 \leq O \leq c_2. The follow operator is a projection onto the eigenstates of OO with eigenvalues between c1c_1 and c2c_2,
P=c1c2c1c2A(q,p)dq dp.P = \int_{c_1}^{c_2} \int_{c_1}^{c_2} A(q,p) dq~dp.

If the phase-point operators obey these properties, then the Winger functions obeys the conditions given above.

Note, when considering the Wigner function for general operators, the phase point operators can be defined in terms of the action of a displacement operator on a fixed initial phase-point operator (as will be seen in the discrete case below). See Rundle & Everitt (2021) detail of this.

Uniqueness

The Wigner function is not the unique function that is able to represent quantum systems. Each of the different formulations put forward have different merits, and hence can be useful in different situations. However, the Wigner function is the mostly commonly used in the literature as it a) has the correct marginals, and b) it is the function for which the phase-point operators can be used to both decompose the state with coefficients of the Wigner function, and to calculate the Wigner function as the trace of the product of the phase-point operators and ρ \rho . Other formulations require different operators for these two operations. Again, see Rundle & Everitt (2021) for more details on this.

Discrete Systems

In this section, the details of the Wooters form of the discrete Wigner function is given.

This is only valid for dd-dimensional system where dd is a prime number. Systems that are not prime in dimension can be modelled in the phase space formalism by considering a composition of subsystems that are prime in dimension 💭.

Phase Space:

Consider a dd-dimensional Hilbert space, Hd\mathcal{H}^d, where dd is prime. This space has dd orthogonal states {0,1,,d1}\{ \ket{0}, \ket{1}, \ldots, \ket{d-1} \}.

The phase space associated to this discrete Hilbert space is a d×dd \times d grid of discrete points, each labeled by tuple z=(z1,z2)\bm{z} = (z_1, z_2), where z1,z2Zd={0,1,,d1}z_1, z_2 \in \mathbb{Z}_d = \{0, 1, \ldots, d-1 \}. Hence, z=(z1,z2)Zd×Zd\bm{z} = (z_1, z_2) \in \mathbb{Z}_d \times \mathbb{Z}_d.

A line in phase space is given by a set of points that satisfy mz1+nz2=pmz_1 + nz_2 = p where m,n,pZdm,n,p \in \mathbb{Z}_d, with addition modulo dd. Two lines are parallel if they differ only by pp. There are d(d+1)d(d+1) lines in the Zd×Zd\mathbb{Z}_d \times \mathbb{Z}_d phase space that can be grouped into d+1\hbox{d+1} sets of parallel lines.

Each axis of the space is represented by an observable. If the horizontal axis is labelled by the observable O1O_1 then each vertical line is associated to a different eigenstate of O1O_1, with the eigenvalue labelling that horizontal coordinate. Likewise, if O2O_2 labels the vertical axis, each horizontal line is associated to a different eigenstate of O2O_2, with the eigenvalue labelling that vertical coordinate.

Phase-point Operators:

Each point in phase space is associated an Hermitian operator AzA_{\bm{z}}, giving a set of operators {Az}d2\{ A_{\bm{z} }\}^{d^2}, one for each point in phase space. Each operator obeys the following properties:

  1. tr[Az]=1  zZd×Zd\textrm{tr} \big[ A_{\bm{z}} \big] = 1 ~ \forall ~ \bm{z} \in \mathbb{Z}_d \times \mathbb{Z}_d.
  2. tr[AziAzj]=dδi,j  zi,zjZd×Zd\textrm{tr} \big[ A_{\bm{z_i}} A_{\bm{z_j}} \big] = d \delta_{i,j} ~ \forall ~ \bm{z_i}, \bm{z_j} \in \mathbb{Z}_d \times \mathbb{Z}_d.
  3. Consider any set of dd parallel lines. Each of the dd lines in the set is described by λi \lambda_i , which is the set of points that the line contains. For each line, the following operator can be defined:
Pλ=1dzλAz,P_\lambda = \frac{1}{d} \sum_{\bm{z} \in \lambda} A_{\bm{z}},

which is the average of the phase-point operators along a given line. Let {Pλi}i=1d \{ P_{\lambda_i} \}_{i=1}^{d} be the set of operators for each line in a set of dd parallel lines. This set is mutually orthogonal and when summed over gives the identity.

The set of phase-point operators is not unique. For example, any set that is unitarily equivalent to {Az}d2\{ A_{\bm{z} }\}^{d^2} will also satisfy the above conditions.

The set of phase-point operators now detailed are those that are typically used in the quantum computation literature. See Veitch et al. (2012) and Veitch et al. (2014) for more details.

The phase-point operators are constructed from the Heisenberg-Weyl operators (see Chp 4 for more details). The Heisenberg-Weyl operators are built up from the so called shift and phase operators. In Hd\mathcal{H}^{d}, the shift operator is defined as

X=kZdk+1k,  Xj=j+1,X = \sum_{k \in \mathbb{Z}_d} \ket{k+1}\bra{k}, ~ ~ X \ket{j} = \ket{j + 1},

where all addition is modulo dd. The phase operator is defined as

Z=kZdωkkk,  ω=exp(2πid),  Zj=ωjj.Z = \sum_{k \in \mathbb{Z}_d} \omega^k \ket{k}\bra{k}, ~~ \omega = \exp \bigg( \frac{2 \pi i}{d} \bigg), ~ ~ Z \ket{j} = \omega^j \ket{j}.

From these, the Heisenberg-Weyl operators are defined as

Tz=(z1,z2)={iz1z2Zz1Xz2,(z1,z2)Z2×Z2,ω(z1z2)/2Zz1Xz2,(z1,z2)Zd×Zd, d>2T_{\bm{z}=(z_1, z_2)} = \left\{ \begin{array}{ll} i^{z_1 z_2} Z^{z_1}X^{z_2}, & (z_1, z_2) \in \mathbb{Z}_2 \times \mathbb{Z}_2, \\ \omega^{-(z_1 z_2)/2} Z^{z_1}X^{z_2}, & (z_1, z_2) \in \mathbb{Z}_d \times \mathbb{Z}_d, ~ d>2 \\ \end{array} \right.

These Heisenberg-Weyl operators are the displacement operators in this discrete phase space.

The phase point operators are then defined in terms of the Heisenberg-Weyl operators as

A0=1dzZd×ZdTz,   Az=TzA0Tz.A_{\bm{0}} = \frac{1}{d} \sum_{\bm{z} \in \mathbb{Z}_d \times \mathbb{Z}_d} T_{\bm{z}}, ~ ~ ~ A_{\bm{z}} = T_{\bm{z}}A_{\bm{0}} T_{\bm{z}}.

Additional Phase-point Operator Properties

  1. Az=AzA_{\bm{z}}^{\dagger} = A_{\bm{z}}
    • They are Hermitian.
  2. 1dzZd×ZdAz=I\frac{1}{d}\sum_{\bm{z} \in \mathbb{Z}_d \times \mathbb{Z}_d} A_{\bm{z}} = \mathbb{I}.
    • They sum to the identity.
  3. {Az}={Azt} \{ A_{\bm{z}} \} = \{ A_{\bm{z}}^{t} \}
    • Taking the transpose off all elements of the set gives back the set.

A graphical depiction of the phase space for the discrete Wigner function.

The Discrete Wigner Function:

Let ρHd\rho \in \mathcal{H}^{d}. Given condition 2 stated above in the list of properties of phase-point operators, the set of phase-point operators form a complete basis for the set of d×dd \times d Hermitian matrices. The discrete Wigner function, denoted Wρ(z)W^{\rho}(\bm{z}) at the point z\bm{z} for the state ρ \rho , is then defined as

ρ=zZd×ZdWρ(z)Az,\rho = \sum_{\bm{z} \in \mathbb{Z}_d \times \mathbb{Z}_d } W^{\rho}(\bm{z}) A_{\bm{z}},

such that

Wρ(z)=1dtr[ρAz].W^{\rho}(\bm{z}) = \frac{1}{d} \textrm{tr} \big[ \rho A_{\bm{z}} \big].

The discrete Wigner function then satisfies the following properties

  1. zZd×ZdWρ(z)=1 \sum_{\bm{z} \in \mathbb{Z}_d \times \mathbb{Z}_d } W^{\rho}(\bm{z}) = 1.
  2. Let ρ,ρHd\rho, \rho' \in \mathcal{H}^d have Wigner functions Wρ(z)W^{\rho}(\bm{z}) and Wρ(z)W^{\rho'}(\bm{z}) respectively, then
tr[ρρ]=dzZd×ZdWρ(z)Wρ(z).\textrm{tr} \big[ \rho \rho' \big] = d \sum_{\bm{z} \in \mathbb{Z}_d \times \mathbb{Z}_d } W^{\rho}(\bm{z}) W^{\rho'}(\bm{z}).
  1. The phase space can be foliated into a set of dd parallel lines. For each line, given by λ \lambda , the sum over the Wigner functions for the points in λ \lambda , pλ=λWλρ(z)p_{\lambda} = \sum_{\lambda} W^{\rho}_\lambda(\bm{z}), describes the probability of a measurement associated to that foliation. The eigenstate associated to this measurement is that of the projection operator, given in condition 3, for the given foliation.

Note, the Wigner function can be negative, meaning it cannot be directly interpreted as a probability distribution. As with the state vector or density operator, it is instead an object from which probabilities of measurement outcomes can be found.

There are d+1d+1 different foliations of the phase space into sets of dd parallel lines. As given in condition 3 above, a measurement can be associated to each set of parallel lines. The eigenbasis of the measurements associated to each set have mutually unbiased basis.

Composite Systems

The above was all for systems that are dd-dimensional where dd is a prime number. System that have a non-prime dimension can be build up out of systems that do have prime dimensions, such as d=2d=2 systems.

Firstly, one factorises dd into prime numbers: d=d1,d2,,dnd = d_1, d_2, \ldots, d_n, such that did_i is prime for all i{1,n}i \in \{ 1, n \}. To each did_i a phase space can be associated, that is an array of points ziZdi×Zdi\bm{z}_i \in \mathbb{Z}_{d_i} \times \mathbb{Z}_{d_i}. The total phase space is taken to be the Cartesian product of these phase spaces. Given two sets AA and BB, the Cartesian product is

AB={(a,b):aA,bB}.A \oplus B = \{ (a,b): a \in A, b \in B \}.

Therefore, a point in the total phase space of a composite system is given by an ordered tuple of points from the different subsystems,

z=(z1,z2,,zn).\bm{z} = (\bm{z}_1, \bm{z}_2, \ldots, \bm{z}_n).

Note, the different subsystems can be different dimensions.

In composite systems, lines becomes slices. Given a set of lines, one from each subsystem, a slice is the set of points from all subsystems that are contained in the set of lines.

Phase-point operators can be found for these composite systems by taking the tensor product of the phase-point operators for the different subsystems,

Az=Az1Az2Azn.A_{\bm{z}} = A_{\bm{z}_1} \otimes A_{\bm{z}_2} \otimes \ldots \otimes A_{\bm{z}_n}.

All the properties of phase-point operators given above still apply for the phase point operators of composite systems but with notion of a line replaced by a slice.

The Wigner function for composite systems is calculated in the same way as for non-composite systems.

Further Properties

Definitions

The follow definitions are used in the below properties of the discrete Winger functions.

  1. Clifford operators, CC, are the set of unitaries that map the Heisenberg-Weyl operators to themselves up to a phase. Specifically, a unitary UCU \in C if and only if
z  z,ϕ  such that  UTzU=eiϕTz.\forall \bm{z} ~\exist ~\bm{z'}, \phi ~ ~ \textrm{such that} ~ ~ U T_{\bm{z}} U^{\dagger} = e^{i \phi} T_{\bm{z'}}.
  1. The set of stabliser states is the convex combination of states that can be reached from 0\ket{0} by the Clifford operators,
STAB=conv{U0:UC}.\textrm{STAB} = \textrm{conv} \{ U \ket{0} : U \in C \}.

See Veitch et al. (2012) and Veitch et al. (2014) for more details.

  1. Discrete Hudson’s Theorem (prime dimensions): A pure state, S\ket{S}, is a stabliser state, SSTAB\ket{S} \in \textrm{STAB}, if and only if it has positve Wigner representation
WS(z)0  zZd×Zd.W^{\ket{S}}(\bm{z}) \geq 0 ~ \forall ~\bm{z} \in \mathbb{Z}_d \times \mathbb{Z}_d.
  1. Clifford operators act as permutations of the phase-space
WUρU(z)=Wρ(z),  UC.W^{U \rho U^{\dagger}}(\bm{z}) = W^{\rho}(\bm{z}), ~ ~ U \in C.

Although, only the symplectic permutations of phase space correspond to clifford operators.

  1. As discussed above, the phase-point operators are a basis for all d×dd \times d Hermitian matrices. Hence, the trace of any Hermitain matrix can be found by summing over it’s Wigner function for all point in phase space,
B=zZd×ZdWB(z)Az,tr[B]=zZd×ZdWB(z),\begin{align*} B &= \sum_{\bm{z} \in \mathbb{Z}_d \times \mathbb{Z}_d} W^{B}(\bm{z}) A_{\bm{z}}, \\ \textrm{tr} \big[ B \big] &= \sum_{\bm{z} \in \mathbb{Z}_d \times \mathbb{Z}_d} W^{B}(\bm{z}), \end{align*}

where the fact that tr[Az]=1  zZd×Zd\textrm{tr}\big[ A_{\bm{z}} \big] = 1 ~\forall~\bm{z} \in \mathbb{Z}_d \times \mathbb{Z}_d has been used.

Phase Space for General Hermitian Operators, POVMs and Channel

See Wang et al. (2019) more full details on these definitions.

General Hermitian Operators

Let XHdX \in \mathcal{H}^d be a Hermitian operator, such that X=XX^\dagger = X.

The discrete Winger function at a point z\bm{z} of the operator XX is given by

W(X)=1d tr[XAz].W(X) = \frac{1}{d}~\textrm{tr}\big[XA_{\bm{z}}\big].

POVMS

Let {Eu}\{ E_u \} be a POVM, so that Eu0  uE_u \geq 0~\forall~u and uEu=I\sum_u E_u = \mathbb{I}.

The discrete Winger function at a point z\bm{z} of an operator EuE_u is given by

W(Euz)=tr[EAz],W(E_u \vert \bm{z}) = \textrm{tr}\big[EA_{\bm{z}}\big],

where

uW(Euz)=1.\sum_u W(E_u \vert \bm{z}) = 1.

Channels

Let N:HAHB\mathcal{N}: \mathcal{H}_A \rightarrow \mathcal{H}_B be a quantum channel.

The discrete Winger function at a point z\bm{z} of the operator XX is given by

WN(zy)=1dbtr[((AAy)tABz)JABN],=1dbtr[ABzN(AAy)],\begin{align*} W_{\mathcal{N}}(\bm{z} \vert \bm{y}) &= \frac{1}{d_b} \textrm{tr} \big[ ((A_A^{\bm{y}})^{t} \otimes A_B^{\bm{z}}) \mathcal{J}^{\mathcal{N}}_{AB} \big], \\ &= \frac{1}{d_b} \textrm{tr} \big[ A^{\bm{z}}_B \mathcal{N}(A^{\bm{y}}_A) \big], \end{align*}

where JABN\mathcal{J}^{\mathcal{N}}_{AB} is the Choi-state of N\mathcal{N} and AAuA_A^{\bm{u}} is the phase point operator in the AA space at the point u\bm{u}. It is the case that

zWN(zy)=1  y.\sum_{\bm{z}} W_{\mathcal{N}}(\bm{z} \vert \bm{y}) = 1 ~\forall ~ \bm{y}.

Further Reading

  1. For Wigner Functions in Discrete Spaces - A Wigner-function formulation of finite-state quantum mechanics
  2. Review Article on quantum mechanics in phase space - Overview of the Phase Space Formulation of Quantum Mechanics with Application to Quantum Technologies
  3. Review Article on general quasi-probability representations of quantum theory - Quasi-probability representations of quantum theory with applications to quantum information science
References
  1. Rundle, R. P., & Everitt, M. J. (2021). Overview of the Phase Space Formulation of Quantum Mechanics with Application to Quantum Technologies. Advanced Quantum Technologies, 4(6). 10.1002/qute.202100016
  2. Wootters, W. K. (1987). A Wigner-function formulation of finite-state quantum mechanics. Annals of Physics, 176(1), 1–21. 10.1016/0003-4916(87)90176-x
  3. Veitch, V., Ferrie, C., Gross, D., & Emerson, J. (2012). Negative quasi-probability as a resource for quantum computation. New Journal of Physics, 14(11), 113011. 10.1088/1367-2630/14/11/113011
  4. Veitch, V., Hamed Mousavian, S. A., Gottesman, D., & Emerson, J. (2014). The resource theory of stabilizer quantum computation. New Journal of Physics, 16(1), 013009. 10.1088/1367-2630/16/1/013009
  5. Wang, X., Wilde, M. M., & Su, Y. (2019). Quantifying the magic of quantum channels. New Journal of Physics, 21(10), 103002. 10.1088/1367-2630/ab451d
  6. Ferrie, C. (2011). Quasi-probability representations of quantum theory with applications to quantum information science. Reports on Progress in Physics, 74(11), 116001. 10.1088/0034-4885/74/11/116001