Skip to content

Wigner Function Notebook

This notebook guide computes Wigner functions from wavefunctions and then tests the result more aggressively than a phase-space plot can. A Gaussian state supplies exact normalization, marginals, covariance, and purity benchmarks. Harmonic-oscillator evolution supplies an exact phase-space rotation. A coherent superposition of separated packets supplies interference fringes and genuine negativity.

The definition and interpretation of the Wigner function belong to Wigner Function. Marginals and Quasi-Probabilities owns the meaning of marginals and negativity, while Phase-Space Dynamics owns the Wigner–Moyal evolution equation. This page owns the numerical transform, grid conventions, validation suite, and failure diagnosis.

The notebook should demonstrate that:

  • a relative-coordinate Fourier transform reconstructs the Wigner function with the intended normalization;
  • position and momentum marginals agree with independently computed Born distributions;
  • a Gaussian Wigner function is real, normalized, pure, and nonnegative within numerical tolerance;
  • harmonic evolution rotates a Wigner function exactly in scaled phase space;
  • a coherent superposition produces resolved negative interference fringes;
  • relative-coordinate truncation, half-grid interpolation, FFT scaling, and momentum aliasing are independent error sources;
  • small negative pixels are not evidence of physical Wigner negativity until they converge under refinement.

Every plotted Wigner function should have a numerical validation record. Color alone cannot establish normalization, purity, or negativity.

Use the same convention as the canonical phase-space pages:

Wψ(x,p)=12πℏ∫−∞∞dy e−ipy/ℏ×ψ(x+y2)ψ∗(x−y2).\begin{aligned} W_\psi(x,p) &= \frac{1}{2\pi\hbar} \int_{-\infty}^{\infty}dy\, e^{-ipy/\hbar} \\ &\quad\times \psi\left(x+\frac{y}{2}\right) \psi^*\left(x-\frac{y}{2}\right). \end{aligned}

Equivalently, with s=y/2s=y/2,

Wψ(x,p)=1πℏ∫−∞∞ds e−2ips/ℏψ(x+s)ψ∗(x−s).W_\psi(x,p) = \frac{1}{\pi\hbar} \int_{-\infty}^{\infty}ds\, e^{-2ips/\hbar} \psi(x+s)\psi^*(x-s).

Both formulas are correct. They imply different discrete frequency maps when yy and ss are sampled on different grids. Choose one form for the implementation and derive its momentum grid before writing code.

The notebook should use the yy form because it maps directly to an ordinary Fourier transform with conjugate variable p/ℏp/\hbar.

For each phase-space position xx, define

Cx(y)=ψ(x+y2)ψ∗(x−y2).C_x(y) = \psi\left(x+\frac{y}{2}\right) \psi^*\left(x-\frac{y}{2}\right).

Then

Wψ(x,p)=12πℏFy[Cx](p/ℏ).W_\psi(x,p) = \frac{1}{2\pi\hbar} \mathcal F_y[C_x](p/\hbar).

The Wigner transform is therefore a family of one-dimensional Fourier transforms, one for each output position. Its cost is approximately

O(NxNylog⁡Ny)O(N_xN_y\log N_y)

when an FFT is used along the relative-coordinate axis.

The correlation probes off-diagonal coherence. For fixed xx, large ∣y∣\lvert y\rvert samples wavefunction values far apart. Truncating yy too early removes long-range coherence and produces ringing in momentum.

Choose an evenly spaced relative grid

ym=(m−Ny2)Δy,m=0,…,Ny−1,y_m = \left( m-\frac{N_y}{2} \right)\Delta y, \qquad m=0,\ldots,N_y-1,

with even NyN_y. The quadrature approximation is

Wjk≈Δy2πℏ∑m=0Ny−1Cxj(ym)e−ipkym/ℏ.\begin{aligned} W_{jk} &\approx \frac{\Delta y}{2\pi\hbar} \sum_{m=0}^{N_y-1} C_{x_j}(y_m) e^{-ip_ky_m/\hbar}. \end{aligned}

For the standard forward DFT, the physical momentum bins are

pk=2πℏ fftfreq⁡(Ny,Δy),p_k = 2\pi\hbar\, \operatorname{fftfreq} \left( N_y,\Delta y \right),

followed by the same frequency shift used on the FFT output. Thus

Δp=2πℏNyΔy,\Delta p = \frac{2\pi\hbar}{N_y\Delta y},

and the momentum Nyquist scale is

pNy=πℏΔy.p_{\rm Ny} = \frac{\pi\hbar}{\Delta y}.

The implementation sequence is:

  1. place the centered Cx(ym)C_x(y_m) array into FFT order with an inverse shift;
  2. apply the forward FFT;
  3. shift the output and the frequency bins together;
  4. multiply by Δy/(2πℏ)\Delta y/(2\pi\hbar).

A missing Δy\Delta y, 2π2\pi, or ℏ\hbar changes both normalization and the momentum axis.

The arguments

x+y2,x−y2x+\frac{y}{2}, \qquad x-\frac{y}{2}

do not generally lie on the original wavefunction grid. There are three controlled options:

  1. evaluate an analytic benchmark wavefunction directly at the shifted points;
  2. evaluate the numerical wavefunction on a grid with half the output spacing;
  3. interpolate the complex wavefunction and demonstrate interpolation convergence.

The second option avoids interpolation. If output positions are separated by Δx\Delta x and Δy=Δx\Delta y=\Delta x, store ψ\psi on a fine grid of spacing Δx/2\Delta x/2. Choose output xjx_j at every second fine-grid point. Then

xj±ym2x_j\pm\frac{y_m}{2}

always lands on the fine grid.

Interpolating the density ∣ψ∣2\lvert\psi\rvert^2 is not sufficient. The Wigner transform needs the complex amplitude and relative phase.

Another popular discretization samples the ss form at sm=mΔxs_m=m\Delta x:

W(xj,p)≈Δxπℏ∑mψj+mψj−m∗e−2ipmΔx/ℏ.\begin{aligned} W(x_j,p) &\approx \frac{\Delta x}{\pi\hbar} \sum_m \psi_{j+m}\psi_{j-m}^* e^{-2ipm\Delta x/\hbar}. \end{aligned}

The factor of two in the exponential means the DFT momentum bins are

pk=πℏkNsΔx,p_k = \frac{\pi\hbar k}{N_s\Delta x},

not the ordinary wavefunction-FFT bins

2πℏkNsΔx.\frac{2\pi\hbar k}{N_s\Delta x}.

Assigning the ordinary bins doubles the physical momentum axis and aliases features. The yy-grid implementation avoids this ambiguity by using the standard Fourier pair explicitly.

Use the normalized packet

ψG(x)=1(2πσx2)1/4exp⁡[−(x−x0)24σx2+ip0(x−x0)ℏ].\psi_G(x) = \frac{1}{(2\pi\sigma_x^2)^{1/4}} \exp\left[ - \frac{(x-x_0)^2}{4\sigma_x^2} + \frac{ip_0(x-x_0)}{\hbar} \right].

Its momentum width is

σp=ℏ2σx,\sigma_p = \frac{\hbar}{2\sigma_x},

and its exact Wigner function is

WG(x,p)=1πℏexp⁡[−(x−x0)22σx2−(p−p0)22σp2].\begin{aligned} W_G(x,p) &= \frac{1}{\pi\hbar} \exp\left[ - \frac{(x-x_0)^2}{2\sigma_x^2} \right. \\ &\qquad\left. - \frac{(p-p_0)^2}{2\sigma_p^2} \right]. \end{aligned}

Compare the complete complex numerical transform with this formula. The imaginary part should vanish to numerical tolerance, and the real part should converge pointwise and in an integrated norm.

On a rectangular phase-space grid, compute

ZW=Δx Δp∑j,kWjk.\mathcal Z_W = \Delta x\,\Delta p \sum_{j,k}W_{jk}.

The target is

ZW=1.\mathcal Z_W=1.

The position marginal is

Px(xj)≈Δp∑kWjk,P_x(x_j) \approx \Delta p \sum_kW_{jk},

and should agree with

∣ψ(xj)∣2.\lvert\psi(x_j)\rvert^2.

The momentum marginal is

Pp(pk)≈Δx∑jWjk.P_p(p_k) \approx \Delta x \sum_jW_{jk}.

Compare it with an independently normalized Fourier transform of ψ\psi, evaluated on the same physical momentum grid. Deriving both arrays from the same incorrectly scaled Wigner transform is not an independent check.

For a Hermitian density operator, WW is real. Report

ϵIm=max⁡j,k∣Im⁡Wjk∣max⁡j,k∣Re⁡Wjk∣.\epsilon_{\rm Im} = \frac{ \max_{j,k}\lvert\operatorname{Im}W_{jk}\rvert }{ \max_{j,k}\lvert\operatorname{Re}W_{jk}\rvert }.

For one degree of freedom,

2πℏ∫dx dp Wρ(x,p)2=Tr⁡ρ2.2\pi\hbar \int dx\,dp\, W_\rho(x,p)^2 = \operatorname{Tr}\rho^2.

Thus a pure state satisfies

PW=2πℏΔx Δp∑j,kWjk2=1.\mathcal P_W = 2\pi\hbar \Delta x\,\Delta p \sum_{j,k} W_{jk}^2 = 1.

For two pure states,

2πℏ∫dx dp W1W2=∣⟨ψ1∣ψ2⟩∣2.2\pi\hbar \int dx\,dp\, W_1W_2 = \lvert\langle\psi_1\vert\psi_2\rangle\rvert^2.

These identities are sensitive to normalization and phase-space cell area. They are valuable checks beyond the marginals.

For Weyl-ordered polynomial observables, phase-space moments reproduce quantum expectations:

⟨x⟩=∫dx dp xW,\langle x\rangle = \int dx\,dp\,xW, ⟨p⟩=∫dx dp pW,\langle p\rangle = \int dx\,dp\,pW,

and

12⟨xp+px⟩=∫dx dp xpW.\frac12 \langle xp+px\rangle = \int dx\,dp\,xpW.

Construct the numerical covariance matrix

V=((Δx)2CxpCxp(Δp)2).V = \begin{pmatrix} (\Delta x)^2 & C_{xp}\\ C_{xp} & (\Delta p)^2 \end{pmatrix}.

For the minimum-uncertainty Gaussian,

det⁡V=ℏ24.\det V = \frac{\hbar^2}{4}.

Compare these moments with direct wavefunction calculations. A Wigner array can pass normalization while using a shifted or reflected momentum convention; first moments catch that error.

Use a displaced Gaussian with

σx≠ℏ2mω\sigma_x \ne \sqrt{\frac{\hbar}{2m\omega}}

so its Wigner ellipse is visibly squeezed relative to the oscillator ground state. Expand the wavefunction in the oscillator energy basis, evolve the coefficients by

cn(t)=e−iωt(n+1/2)cn(0),c_n(t) = e^{-i\omega t(n+1/2)}c_n(0),

reconstruct ψ(x,t)\psi(x,t), and compute Wnum(x,p,t)W_{\rm num}(x,p,t).

For the quadratic oscillator, the exact Wigner evolution is a classical phase-space rotation:

W(x,p,t)=W(x−t,p−t,0),W(x,p,t) = W(x_{-t},p_{-t},0),

where

x−t=xcos⁡ωt−pmωsin⁡ωt,x_{-t} = x\cos\omega t - \frac{p}{m\omega}\sin\omega t,

and

p−t=pcos⁡ωt+mωxsin⁡ωt.p_{-t} = p\cos\omega t + m\omega x\sin\omega t.

Compare the numerically transformed evolved wavefunction with this rotated initial Wigner function. The test simultaneously checks basis evolution, complex wavefunction reconstruction, Wigner transformation, and phase-space orientation.

The center should follow

xc(t)=x0cos⁡ωt+p0mωsin⁡ωt,pc(t)=p0cos⁡ωt−mωx0sin⁡ωt.\begin{aligned} x_c(t) &= x_0\cos\omega t + \frac{p_0}{m\omega}\sin\omega t, \\ p_c(t) &= p_0\cos\omega t - m\omega x_0\sin\omega t. \end{aligned}

The covariance should rotate without changing its determinant.

Let ψ±\psi_\pm be real minimum-uncertainty Gaussian packets of width σ\sigma centered at

x=±d2x=\pm\frac d2

with zero mean momentum. Their overlap is

S=⟨ψ+∣ψ−⟩=e−d2/(8σ2).S = \langle\psi_+\vert\psi_-\rangle = e^{-d^2/(8\sigma^2)}.

Define

ψcat=N(ψ++eiϕψ−),\psi_{\rm cat} = \mathcal N \left( \psi_+ + e^{i\phi}\psi_- \right),

where

N=[2(1+Scos⁡ϕ)]−1/2.\mathcal N = \left[ 2(1+S\cos\phi) \right]^{-1/2}.

Its exact Wigner function is

Wcat(x,p)=N2πℏe−2σ2p2/ℏ2×{e−(x−d/2)2/(2σ2)+e−(x+d/2)2/(2σ2)+2e−x2/(2σ2)cos⁡(dpℏ+ϕ)}.\begin{aligned} W_{\rm cat}(x,p) &= \frac{\mathcal N^2}{\pi\hbar} e^{-2\sigma^2p^2/\hbar^2} \\ &\quad\times \left\{ e^{-(x-d/2)^2/(2\sigma^2)} + e^{-(x+d/2)^2/(2\sigma^2)} \right. \\ &\qquad\left. + 2e^{-x^2/(2\sigma^2)} \cos\left( \frac{dp}{\hbar}+\phi \right) \right\}. \end{aligned}

The first two terms are positive packet lobes. The last term is the interference contribution. It oscillates in momentum with fringe spacing

Δpfringe=2πℏd.\Delta p_{\rm fringe} = \frac{2\pi\hbar}{d}.

The numerical momentum spacing must resolve this scale.

Choose

ϕ=π.\phi=\pi.

The state is odd under parity. At the phase-space origin,

Wcat(0,0)=−1πℏ,W_{\rm cat}(0,0) = - \frac{1}{\pi\hbar},

independent of dd and σ\sigma when the state is normalized. This is a sharp pointwise benchmark for sign, normalization, phase convention, and interpolation.

Use

σ=0.55,d=4,ℏ=1\sigma=0.55, \qquad d=4, \qquad \hbar=1

as the baseline. The negative interference bands should be clearly separated from the positive lobes.

For a normalized continuous Wigner function, define

NW=12[∫dx dp ∣W∣−1].\mathcal N_W = \frac12 \left[ \int dx\,dp\,\lvert W\rvert - 1 \right].

On a numerical grid, use the equivalent signed form

NWgrid=Δx Δp2∑j,k(∣Wjk∣−Wjk).\begin{aligned} \mathcal N_W^{\rm grid} &= \frac{\Delta x\,\Delta p}{2} \sum_{j,k} \left( \lvert W_{jk}\rvert-W_{jk} \right). \end{aligned}

Report ZW\mathcal Z_W separately rather than forcing it to one. For the Gaussian benchmark, NW\mathcal N_W should converge to zero. Its residual value defines a numerical negativity floor. The superposition negativity is credible only when it remains well above that floor and converges under all relevant refinements.

Set

ℏ=m=ω=1.\hbar=m=\omega=1.

For the static Gaussian use

σx=0.7,x0=1,p0=0.8.\sigma_x=0.7, \qquad x_0=1, \qquad p_0=0.8.

Choose

−8≤x≤8,Δx=Δy=116,Ny=1024.-8\le x\le8, \qquad \Delta x=\Delta y=\frac{1}{16}, \qquad N_y=1024.

Then

Δp=2π64≈0.0982.\Delta p = \frac{2\pi}{64} \approx 0.0982.

For harmonic evolution use a narrower initial width such as

σx=0.45\sigma_x=0.45

to make covariance rotation visible. For the odd superposition use the σ\sigma and dd values above.

These values produce a useful first run for analytic wavefunction evaluation. Generic numerical wavefunctions still require independent interpolation, basis-cutoff, and boundary studies.

Organize the notebook into these stages:

  1. define the Fourier and Wigner conventions;
  2. construct the xx, yy, and derived pp grids;
  3. assert the FFT frequency spacing and ordering;
  4. evaluate the Gaussian correlation array;
  5. apply the shifted FFT with the physical prefactor;
  6. compare with the analytic Gaussian Wigner function;
  7. validate reality, normalization, both marginals, moments, covariance, purity, and zero negativity;
  8. evolve a squeezed Gaussian in the oscillator basis;
  9. compare its numerical Wigner function with exact phase-space rotation;
  10. evaluate the odd superposition and compare with its analytic Wigner function;
  11. measure W(0,0)W(0,0), fringe spacing, and negative volume;
  12. repeat the grid, domain, relative-range, and interpolation refinements;
  13. run assertions before producing final plots.

Record array shapes, endpoint conventions, shift order, FFT normalization, physical spacings, interpolation method, and all tolerances.

The minimum validation suite is:

CheckTarget
Grid mapΔp=2πℏ/(NyΔy)\Delta p=2\pi\hbar/(N_y\Delta y) and shifted ordering agree
Realityimaginary residual approaches zero
NormalizationZW→1\mathcal Z_W\to1
Position marginalagrees with ∣ψ(x)∣2\lvert\psi(x)\rvert^2
Momentum marginalagrees with an independent wavefunction FFT
Gaussian formulafull Wigner array converges to WGW_G
First momentsreproduce x0x_0 and p0p_0
Covarianceagrees with direct wavefunction moments
PurityPW→1\mathcal P_W\to1 for every pure benchmark
Gaussian negativityconverges to zero and defines the error floor
Harmonic transportagrees with exact phase-space rotation
Phase-space determinantremains ℏ2/4\hbar^2/4 for the pure Gaussian
Odd superpositionW(0,0)→−1/(πℏ)W(0,0)\to-1/(\pi\hbar)
Fringe spacingagrees with 2πℏ/d2\pi\hbar/d
Superposition negativitystabilizes above the numerical floor

For harmonic evolution, also check that a full oscillator period returns the Wigner function to itself. This test is insensitive to the wavefunction’s global phase, as a density-operator representation should be.

Vary the numerical scales independently:

  1. Position range. Increase the wavefunction domain and monitor boundary amplitude.
  2. Output spacing. Refine Δx\Delta x while keeping physical ranges fixed.
  3. Relative range. Increase NyΔyN_y\Delta y at fixed Δy\Delta y to refine momentum spacing.
  4. Relative spacing. Decrease Δy\Delta y at fixed relative range to increase momentum bandwidth.
  5. Interpolation. Compare analytic evaluation, half-grid sampling, and at least one converged complex interpolation method.
  6. Oscillator basis. Increase the number-state cutoff used for time evolution.
  7. Cat separation. Increase dd and confirm that the required momentum resolution tracks the shrinking fringe spacing.

Zero padding increases the density of sampled momentum bins but does not restore correlation data that were truncated or wavefunction structure that was under-resolved. Distinguish interpolation of a transform from increased physical resolution.

Use a signed diverging color map centered exactly at zero. Set symmetric color limits when comparing positive and negative amplitudes, and include a color bar with physical units. Plot xx and pp on their actual derived grids.

For the Gaussian, show contours and marginal panels. For oscillator evolution, use equal-aspect scaled coordinates

Q=mωℏx,P=pmℏω,Q=\sqrt{\frac{m\omega}{\hbar}}x, \qquad P=\frac{p}{\sqrt{m\hbar\omega}},

so a phase-space rotation is geometrically visible. For the superposition, include a one-dimensional cut through x=0x=0 that resolves the predicted cosine fringes.

Do not clip negative values, smooth the Wigner array, or use independent color scales across convergence frames without saying so. Each can hide the numerical signature being tested.

For the proposed analytic grids:

  • the Gaussian transform agrees with the exact array to near floating-point precision;
  • normalization, purity, and both marginals are correspondingly accurate;
  • Gaussian negative volume is at the numerical floor;
  • the oscillator Wigner ellipse rotates without changing area;
  • the transformed evolved wavefunction agrees with the backward-rotated initial Wigner function;
  • the odd superposition reaches W(0,0)=−1/πW(0,0)=-1/\pi for ℏ=1\hbar=1;
  • its negative volume stabilizes near 0.280.28 for the baseline dd and σ\sigma;
  • coarsening the momentum grid first corrupts the interference fringes;
  • truncating the relative-coordinate range produces momentum ringing;
  • using the wrong FFT momentum map shifts or doubles all momentum-space features.

The near-machine-precision static benchmarks rely on analytic evaluation at shifted points. A generic interpolated wavefunction should be held to a convergence-based tolerance instead.

  • Using the ss-grid formula with ordinary FFT momentum bins. The factor of two changes the physical frequency map.
  • Interpolating probability density instead of the complex wavefunction.
  • Shifting the FFT output without shifting the frequency bins, or vice versa.
  • Dropping Δy/(2πℏ)\Delta y/(2\pi\hbar).
  • Including duplicate periodic endpoints in an FFT grid.
  • Truncating Cx(y)C_x(y) while it is still appreciable. This causes momentum ringing.
  • Calling tiny negative Gaussian pixels physical negativity. Establish the refinement floor first.
  • Renormalizing the Wigner array to hide a prefactor or domain error.
  • Checking only the position marginal. A wrong momentum axis can still leave it plausible.
  • Computing purity without the phase-space cell area and 2πℏ2\pi\hbar factor.
  • Using zero padding as a substitute for physical resolution.
  • Smoothing interference fringes before measuring negative volume.
  • Plotting unequal scaled axes and misreading rotation as squeezing.
  • Treating a positive Gaussian Wigner function as proof that the state is classical.
  • Compute Wigner functions for oscillator number states and verify alternating parity at the origin.
  • Compare coherent superpositions with incoherent mixtures of the same two packets.
  • Apply Gaussian coarse graining and observe how interference negativity is suppressed.
  • Reconstruct Wigner functions from simulated quadrature marginals by an inverse Radon transform.
  • Evolve the superposition under the harmonic oscillator and verify rigid fringe rotation.
  • Introduce a quartic potential and compare classical transport with Moyal corrections.
  • E. Wigner, “On the Quantum Correction For Thermodynamic Equilibrium,” Physical Review 40, 749–759 (1932).
  • M. Hillery, R. F. O’Connell, M. O. Scully, and E. P. Wigner, “Distribution Functions in Physics: Fundamentals,” Physics Reports 106, 121–167 (1984), doi:10.1016/0370-1573(84)90160-1.
  • W. P. Schleich, Quantum Optics in Phase Space, Wiley-VCH, 2001.
  • U. Leonhardt, Measuring the Quantum State of Light, Cambridge University Press, 1997.
  • W. B. Case, “Wigner Functions and Weyl Transforms for Pedestrians,” American Journal of Physics 76, 937–946 (2008).
  • NumPy Developers, Discrete Fourier Transform documentation, consulted for FFT normalization, frequency ordering, and shift conventions.

Starting from the discrete yy transform, derive Δp\Delta p and pNyp_{\rm Ny}.

Solution

The DFT phase is

e−2πikm/Ny.e^{-2\pi ikm/N_y}.

The Wigner phase for grid points ym=mΔyy_m=m\Delta y is

e−ipkmΔy/ℏ.e^{-ip_km\Delta y/\hbar}.

Equating exponents gives

pkΔyℏ=2πkNy,\frac{p_k\Delta y}{\hbar} = \frac{2\pi k}{N_y},

so

pk=2πℏkNyΔy.p_k = \frac{2\pi\hbar k}{N_y\Delta y}.

Adjacent bins differ by

Δp=2πℏNyΔy.\Delta p = \frac{2\pi\hbar}{N_y\Delta y}.

The largest represented angular frequency has magnitude approximately π/Δy\pi/\Delta y, giving

pNy=πℏΔy.p_{\rm Ny} = \frac{\pi\hbar}{\Delta y}.

Integrate the defining Wigner transform over momentum.

Solution

Start from

∫dp W(x,p)=12πℏ∫dy ψ(x+y2)ψ∗(x−y2)×∫dp e−ipy/ℏ.\begin{aligned} \int dp\,W(x,p) &= \frac{1}{2\pi\hbar} \int dy\, \psi\left(x+\frac y2\right) \psi^*\left(x-\frac y2\right) \\ &\quad\times \int dp\,e^{-ipy/\hbar}. \end{aligned}

The Fourier identity is

12πℏ∫dp e−ipy/ℏ=δ(y).\frac{1}{2\pi\hbar} \int dp\,e^{-ipy/\hbar} = \delta(y).

The yy integral therefore evaluates the product at y=0y=0:

∫dp W(x,p)=∣ψ(x)∣2.\int dp\,W(x,p) = \lvert\psi(x)\rvert^2.

Use the analytic superposition Wigner function with ϕ=π\phi=\pi to show that W(0,0)=−1/(πℏ)W(0,0)=-1/(\pi\hbar).

Solution

At x=p=0x=p=0, each positive lobe contributes

e−d2/(8σ2)=S.e^{-d^2/(8\sigma^2)} = S.

The interference term contributes

2cos⁡π=−2.2\cos\pi=-2.

Thus

W(0,0)=N2πℏ(2S−2).W(0,0) = \frac{\mathcal N^2}{\pi\hbar} (2S-2).

For ϕ=π\phi=\pi,

N2=12(1−S).\mathcal N^2 = \frac{1}{2(1-S)}.

Therefore

W(0,0)=2(S−1)2(1−S)πℏ=−1πℏ.W(0,0) = \frac{2(S-1)} {2(1-S)\pi\hbar} = - \frac{1}{\pi\hbar}.

Why is the evolved Wigner function evaluated at the inverse classical flow rather than the forward coordinates?

Solution

The Wigner value is transported along a trajectory. If a phase-space point z0\mathbf z_0 moves to

z(t)=S(t)z0,\mathbf z(t)=S(t)\mathbf z_0,

then the density at the final point equals the initial density at its preimage:

W(z,t)=W(S(−t)z,0).W(\mathbf z,t) = W(S(-t)\mathbf z,0).

The arguments (x−t,p−t)(x_{-t},p_{-t}) are precisely S(−t)(x,p)S(-t)(x,p). Using the forward map inside W0W_0 rotates the pattern in the wrong direction.

5. Show that purity equals one for the Gaussian

Section titled “5. Show that purity equals one for the Gaussian”

Evaluate 2πℏ∫WG2 dx dp2\pi\hbar\int W_G^2\,dx\,dp.

Solution

Using

WG=1πℏexp⁡[−(x−x0)22σx2−(p−p0)22σp2],W_G = \frac{1}{\pi\hbar} \exp\left[ - \frac{(x-x_0)^2}{2\sigma_x^2} - \frac{(p-p_0)^2}{2\sigma_p^2} \right],

one obtains

∫dx dp WG2=1π2ℏ2(π σx)(π σp)=σxσpπℏ2.\begin{aligned} \int dx\,dp\,W_G^2 &= \frac{1}{\pi^2\hbar^2} \left( \sqrt\pi\,\sigma_x \right) \left( \sqrt\pi\,\sigma_p \right) \\ &= \frac{\sigma_x\sigma_p}{\pi\hbar^2}. \end{aligned}

For a minimum-uncertainty Gaussian,

σxσp=ℏ2,\sigma_x\sigma_p = \frac{\hbar}{2},

so

2πℏ∫dx dp WG2=1.2\pi\hbar \int dx\,dp\,W_G^2 = 1.

Suppose a cat state has packet separation dd. What relative-coordinate range is needed to sample at least qq momentum points per fringe?

Solution

The fringe spacing is

Δpfringe=2πℏd.\Delta p_{\rm fringe} = \frac{2\pi\hbar}{d}.

The FFT momentum spacing is

Δp=2πℏY,Y=NyΔy.\Delta p = \frac{2\pi\hbar}{Y}, \qquad Y=N_y\Delta y.

At least qq points per fringe requires

Δp≤Δpfringeq.\Delta p \le \frac{\Delta p_{\rm fringe}}{q}.

Substitution gives

2πℏY≤2πℏqd,\frac{2\pi\hbar}{Y} \le \frac{2\pi\hbar}{qd},

or

Y≥qd.Y\ge qd.

This controls momentum spacing. The separate condition Δy\Delta y small enough to cover the required momentum bandwidth must also be checked.