Skip to content
QFT.org

Search QFT.org

Enter a word or phrase.

    You can also browse the main navigation and chapter contents.

    From Qubit Readout to a Correlator and Its Spectrum

    An accurate quantum evolution is useful only if its readout answers a physical question. A qubit measurement returns a random outcome; a correlator requires a specified interference experiment; a spectrum requires a finite observation window. These stages introduce different uncertainties and normalizations.

    We will recover the spectral content of a four-site Schwinger correlator from an explicit ancilla protocol. Two nearby levels provide a useful test: short windows merge them even when the prospective measurement uncertainty is small. The same reasoning clarifies what additional preparation and limits a scattering calculation would require.

    Preparation: The digital Schwinger circuit supplies the finite Hamiltonian and state preparation. Familiarity with spectral decompositions and elementary probability is useful.

    What is the measured correlator?

    Use the open N=4N=4 Schwinger model with a=g=1a=g=1, mlat=1/4m_{\mathrm{lat}}=1/4 and zero exterior flux. Its six-dimensional neutral sector is encoded in four matter qubits. Let ∣Ω⟩\vert\Omega\rangle be the normalized finite-model ground state, with

    E0=−1.03773886718,z=⟨Ω∣Z0∣Ω⟩=0.7658000158.E_0=-1.03773886718, \qquad z=\langle\Omega\vert Z_0\vert\Omega\rangle=0.7658000158.

    The preceding article gives a five-exchange circuit preparing this known state. Classical diagonalization supplies the preparation angles for this known vacuum.

    Choose the unitary, Hermitian probe O=Z0O=Z_0. Then

    ∣ϕ⟩=Z0∣Ω⟩,⟨ϕ∣ϕ⟩=1,\vert\phi\rangle=Z_0\vert\Omega\rangle, \qquad \langle\phi\vert\phi\rangle=1,

    is prepared by one additional Pauli gate. The target correlator is

    C(t)=⟨Ω∣Z0(t)Z0∣Ω⟩=eiE0t⟨ϕ∣e−iHt∣ϕ⟩.C(t)=\langle\Omega\vert Z_0(t)Z_0\vert\Omega\rangle =e^{iE_0t}\langle\phi\vert e^{-iHt}\vert\phi\rangle.

    A general field insertion O∣Ω⟩O\vert\Omega\rangle need not be normalized or be obtainable by a deterministic gate. One can instead decompose OO into a sum of unitaries and measure the corresponding cross-correlators, or supply a heralded preparation and its success probability. Those costs cannot be inferred from the simple Pauli case.

    With unit-normalized finite-volume energy eigenstates,

    C(t)=∑nwne−iΔnt,Δn=En−E0,wn=∣⟨n∣Z0∣Ω⟩∣2.C(t)=\sum_n w_n e^{-i\Delta_n t}, \qquad \Delta_n=E_n-E_0, \qquad w_n=|\langle n\vert Z_0\vert\Omega\rangle|^2.

    Thus wn≥0w_n\geq0 and ∑nwn=C(0)=1\sum_nw_n=C(0)=1. The zero-frequency term is the elastic contribution w0=z2w_0=z^2. The connected function is Cc(t)=C(t)−z2C_{\mathrm c}(t)=C(t)-z^2.

    Our Fourier phase follows the site's positive forward convention. Define the positive-frequency spectral measure by

    S(ω)=12π∫−∞∞dt eiωtC(t)=∑nwnδ(ω−Δn).\mathcal S(\omega)=\frac1{2\pi} \int_{-\infty}^{\infty}dt\,e^{i\omega t}C(t) =\sum_n w_n\delta(\omega-\Delta_n).

    It integrates to one and has units of inverse energy. This is a Wightman spectral measure of a dimensionless register operator, not a retarded commutator or a relativistically normalized cross section. Matching a lattice interpolator to a continuum field requires its own normalization and regulator analysis.

    The ancilla reads both quadratures

    Adjoin an ancilla in ∣+⟩\vert+\rangle. On its ∣1⟩\vert1\rangle branch apply

    V(t)=eiE0tU(t),U(t)=e−iHt,V(t)=e^{iE_0t}U(t), \qquad U(t)=e^{-iHt},

    to the prepared probe. The joint state is

    ∣Ψ(t)⟩=∣0⟩∣ϕ⟩+∣1⟩V(t)∣ϕ⟩2.\vert\Psi(t)\rangle= \frac{\vert0\rangle\vert\phi\rangle+ \vert1\rangle V(t)\vert\phi\rangle}{\sqrt2}.

    Writing c=⟨ϕ∣V∣ϕ⟩c=\langle\phi\vert V\vert\phi\rangle, the reduced ancilla matrix is

    ρa=12(1c∗c1).\rho_a=\frac12 \begin{pmatrix}1&c^*\\c&1\end{pmatrix}.

    Therefore

    ⟨Xa⟩=Re⁡c,⟨Ya⟩=Im⁡c.\langle X_a\rangle=\operatorname{Re}c, \qquad \langle Y_a\rangle=\operatorname{Im}c.

    The sign of the second relation follows from the displayed matrix. To read XX, apply HH before a computational-basis measurement. To read YY, apply S†S^\dagger then HH. One uses independent repetitions for the two quadratures. This unitary-interference method is described in Somma et al., Sec. III.C.1 and III.C.3–4, PDF pp. 13–16.

    The factor eiE0te^{iE_0t} is a relative ancilla phase. Omitting an identity term from HH while retaining the original E0E_0 changes the signal. If E0E_0 were itself estimated with error ϵ\epsilon, the measured frequencies would be shifted by −ϵ-\epsilon. Here it is known from the finite reference matrix, and the primitive controlled circuit is checked against its direct block matrix.

    For the digital calculation replace U(t)U(t) by the symmetric product Sδt/δS_\delta^{t/\delta}. The measured quantity is then

    Cδ(t)=eiE0t⟨ϕ∣Sδt/δ∣ϕ⟩.C_\delta(t)=e^{iE_0t} \langle\phi\vert S_\delta^{t/\delta}\vert\phi\rangle.

    This approximates the target stationary correlator. ∣Ω⟩\vert\Omega\rangle generally is not an eigenstate of the product-formula step. Consequently subtracting the target z2z^2 need not remove an exact zero-frequency line from the circuit's eigenphase spectrum, and its connected estimate need not remain nonnegative. The exact-target and digital curves below are retained separately.

    From finite times to a normalized spectral window

    Sample at tj=jΔt_j=j\Delta, j=0,…,M−1j=0,\ldots,M-1. Define T=MΔT=M\Delta as the window scale; the largest recorded time is T−ΔT-\Delta. Use the triangular weights

    aj=1−jM.a_j=1-\frac jM.

    Since C(−t)=C(t)∗C(-t)=C(t)^* for the stationary target, the windowed estimate is

    SM(ω)=Δ2π[C(0)+2∑j=1M−1ajRe⁡(eiωtjC(tj))].\mathcal S_M(\omega)=\frac{\Delta}{2\pi} \left[C(0)+2\sum_{j=1}^{M-1}a_j \operatorname{Re}\left(e^{i\omega t_j}C(t_j)\right)\right].

    For a single line C(t)=e−iEtC(t)=e^{-iEt} this gives the discrete Fejér kernel

    KM(ω−E)=Δ2πM[sin⁡(M(ω−E)Δ/2)sin⁡((ω−E)Δ/2)]2,K_M(\omega-E)=\frac{\Delta}{2\pi M} \left[ \frac{\sin\bigl(M(\omega-E)\Delta/2\bigr)} {\sin\bigl((\omega-E)\Delta/2\bigr)} \right]^2,

    with the removable values defined by continuity. Thus

    SM(ω)=∑nwnKM(ω−Δn).\mathcal S_M(\omega)=\sum_n w_nK_M(\omega-\Delta_n).

    The kernel is nonnegative and integrates to one over a frequency period. Its first zeros lie a distance 2π/T2\pi/T from the center. Longer observation therefore improves resolution, while changing the number of shots mainly changes statistical precision. Other windows have different width and sidelobe tradeoffs.

    All sampled signals are periodic in frequency with period 2π/Δ2\pi/\Delta. Energies differing by this amount give exactly the same samples. A smaller time step in the evolution circuit does not repair aliasing caused by a coarse measurement spacing Δ\Delta.

    The connected estimate subtracts the entire broadened elastic kernel,

    SM,c(ω)=SM(ω)−z2KM(ω),\mathcal S_{M,\mathrm c}(\omega) =\mathcal S_M(\omega)-z^2K_M(\omega),

    rather than deleting a single histogram bin near zero. For the exact target its integrated weight over one frequency period is 1−z21-z^2.

    A resolved and an unresolved pair of levels

    The actual finite-matrix spectrum and probe weights are:

    Gap Δn\Delta_nWeight wnw_n
    000.586449660.58644966
    1.312881121.312881120.171207420.17120742
    1.537738871.537738870.199387580.19938758
    1.803593631.803593630.034960050.03496005
    2.340430842.340430840.007922470.00792247
    3.231788753.231788750.000072820.00007282

    The two largest inelastic weights are separated by only 0.224857750.22485775. Fix Δ=0.25\Delta=0.25, so the Nyquist interval is [−4π,4π)[-4\pi,4\pi) and contains all these gaps. Compare the four declared window scales:

    TTFirst-zero distance 2π/T2\pi/TObserved peak structure near the two leading lines
    880.785400.78540one blended maximum at 1.45701.4570
    16160.392700.39270one blended maximum at 1.44321.4432
    32320.196350.19635maxima near 1.30701.3070 and 1.54161.5416
    64640.098170.09817maxima near 1.31211.3121 and 1.53851.5385

    These are maxima of the finite-window curve on declared frequency grids, not fitted energy estimates. In the first two rows, restricting a search to [1.10,1.43][1.10,1.43] puts the maximum at its boundary: the first level is unresolved. Such a boundary result is retained rather than labeled a successful peak determination.

    Short time windows merge two exact spectral lines; longer windows resolve them, while narrow statistical bands do not remove finite-window bias.

    Connected spectra for the same four-site Hamiltonian and Pauli probe, with measurement spacing Δ=0.25\Delta=0.25. Vertical markers locate the exact finite-box levels. Right: the band integral with one-standard-deviation bars for 4,096 shots per independent batch, including elastic subtraction. No random dataset or peak confidence interval is shown.

    A deliberate coarse-spacing check uses Δ=2\Delta=2. Then the gap 1.803593631.80359363 aliases to 1.80359363−π=−1.337999021.80359363-\pi=-1.33799902. Increasing the duration at that spacing cannot distinguish these two frequencies.

    The digital curves use δ=0.025\delta=0.025, ten product-formula steps between consecutive recorded times. At T=64T=64, the largest sampled ∣Cδ−C∣|C_\delta-C| is 0.00106200.0010620. Repeating only this deterministic longest-window control at δ=0.0125\delta=0.0125 reduces it to 0.00026550.0002655. The finite-window spectrum is a separate effect and does not disappear under this refinement.

    Shot uncertainty and the elastic subtraction

    A measurement of XaX_a or YaY_a returns ±1\pm1. If its expectation is mm, then

    Pr⁡(+1)=1+m2,Var⁡(m^)=1−m2Ns\Pr(+1)=\frac{1+m}{2}, \qquad \operatorname{Var}(\widehat m)=\frac{1-m^2}{N_s}

    for NsN_s independent repetitions. The companion calculation uses these exact distributions. It generates no random samples and claims no observed experimental fluctuation.

    At different times and for different quadratures, use independent batches. To estimate z2z^2, use two additional independent static Z0Z_0 batches with means z^A,z^B\widehat z_A,\widehat z_B. Their product is unbiased:

    w^0=z^Az^B,Ew^0=z2.\widehat w_0=\widehat z_A\widehat z_B, \qquad \mathbb E\widehat w_0=z^2.

    If each batch has NsN_s shots, put v=(1−z2)/Nsv=(1-z^2)/N_s. Then

    Var⁡(w^0)=2z2v+v2.\operatorname{Var}(\widehat w_0)=2z^2v+v^2.

    Using the same estimated elastic weight at every frequency creates correlated uncertainty. Define

    Aj(ω)=Δπajcos⁡(ωtj),Bj(ω)=−Δπajsin⁡(ωtj).\begin{aligned} A_j(\omega)&=\frac{\Delta}{\pi}a_j\cos(\omega t_j),\\ B_j(\omega)&=-\frac{\Delta}{\pi}a_j\sin(\omega t_j). \end{aligned}

    Writing xj=Re⁡C(tj)x_j=\operatorname{Re}C(t_j) and yj=Im⁡C(tj)y_j=\operatorname{Im}C(t_j), the estimator is

    S^M,c(ω)=Δ2π+∑j=1M−1[Aj(ω)x^j+Bj(ω)y^j]−KM(ω)w^0.\widehat{\mathcal S}_{M,\mathrm c}(\omega) =\frac{\Delta}{2\pi} +\sum_{j=1}^{M-1}\bigl[A_j(\omega)\widehat x_j+B_j(\omega)\widehat y_j\bigr] -K_M(\omega)\widehat w_0.

    We used the known identity C(0)=1C(0)=1. Independence of the separate batches gives

    Cov⁡(S^M,c(ω),S^M,c(ω′))=∑j=1M−1Aj(ω)Aj(ω′)1−xj2Ns+∑j=1M−1Bj(ω)Bj(ω′)1−yj2Ns+KM(ω)KM(ω′)(2z2v+v2).\begin{aligned} \operatorname{Cov}\bigl(\widehat{\mathcal S}_{M,\mathrm c}(\omega), \widehat{\mathcal S}_{M,\mathrm c}(\omega')\bigr) ={}&\sum_{j=1}^{M-1} A_j(\omega)A_j(\omega')\frac{1-x_j^2}{N_s}\\ &+\sum_{j=1}^{M-1} B_j(\omega)B_j(\omega')\frac{1-y_j^2}{N_s}\\ &+K_M(\omega)K_M(\omega')(2z^2v+v^2). \end{aligned}

    The last term is a rank-one covariance contribution. Treating every frequency as independent would lose it and would also ignore the sharing of the time-domain measurements. A noisy estimate can be negative even when its exact-target mean is nonnegative; clipping it to zero changes the estimator.

    A linear quantity with an exact uncertainty

    A peak location is a nonlinear statistic. Pointwise error bands do not automatically give an energy confidence interval. A simpler quantity with directly calculable variance is the integrated weight in the fixed band

    BM=∫1.151.70dω SM,c(ω).B_M=\int_{1.15}^{1.70}d\omega\,\mathcal S_{M,\mathrm c}(\omega).

    Integrate each coefficient Aj,Bj,KMA_j,B_j,K_M to obtain a linear estimator and its covariance. In particular,

    A‾j=Δajπtj[sin⁡(1.70tj)−sin⁡(1.15tj)],B‾j=Δajπtj[cos⁡(1.70tj)−cos⁡(1.15tj)].\begin{aligned} \overline A_j&=\frac{\Delta a_j}{\pi t_j} \left[\sin(1.70t_j)-\sin(1.15t_j)\right],\\ \overline B_j&=\frac{\Delta a_j}{\pi t_j} \left[\cos(1.70t_j)-\cos(1.15t_j)\right]. \end{aligned}

    The sign in the second expression comes from integrating −sin⁡(ωtj)-\sin(\omega t_j). Independent adaptive integration of the shifted closed-form kernels agrees with this coefficient calculation within 6×10−176\times10^{-17}.

    TTExact finite-window BMB_MStandard deviation, Ns=4096N_s=4096
    880.2269290.2269290.0017290.001729
    16160.3035050.3035050.0021470.002147
    32320.3456310.3456310.0024150.002415
    64640.3568000.3568000.0025800.002580

    The sharp sum of the first two inelastic weights is 0.3705950.370595. It is not the same target as the finite-window band integral: kernel tails leave and enter the selected interval. Even at T=64T=64, that difference exceeds the prospective statistical standard deviation. More shots do not remove it.

    The digital T=64T=64 band value is 0.356804810.35680481 at δ=0.025\delta=0.025 and 0.356800950.35680095 at δ=0.0125\delta=0.0125, compared with the exact-window value 0.356799660.35679966. Circuit bias, finite-window bias and measurement variance are visible separately.

    For MM time samples and the protocol above, the two quadrature batches at M−1M-1 positive times plus the two static batches require 2MNs2MN_s attempted shots. The T=64T=64, Ns=4096N_s=4096 design therefore uses 2,097,1522{,}097{,}152 prospective shots. Later samples also need longer controlled evolutions. The shot count assumes the specified ideal measurements.

    The source companions spectral_readout.py and digital_checks.py in examples/lattice-hamiltonian/quantum-simulation/ retain the exact probabilities, covariance examples, spectra and normalization checks. The kernel's unit-period area agrees with one within 3×10−153\times10^{-15}; the elastic-product variance is independently checked by finite binomial enumeration.

    The finite four-site Hamiltonian also permits a direct normalization check before any circuit is run. Since Z02=1Z_0^2=1, the connected line weights together carry 1−z2=0.413550341-z^2=0.41355034. Integrating the connected, windowed target over one complete frequency period gives this same number for every MM. This tests the total weight even at T=8T=8, when the leading inelastic levels appear as one maximum. For a probe whose square depends on the state, the averaged scalar field in a truncated basis shows how an exact sum rule within the retained space can still miss physical weight.

    What changes for scattering?

    A finite-volume energy peak is not yet a scattering amplitude. One route extracts scattering information from finite-volume levels with an appropriate quantization condition. A real-time quantum protocol instead prepares incoming wavepackets, evolves them through an interaction region and measures suitably defined outgoing packets or detectors.

    For normalized finite-register packets, a directly measurable probability has the form

    Pf←i(T)=∣⟨fout(T)∣U(T)∣iin(0)⟩∣2.P_{f\leftarrow i}(T)= |\langle f_{\mathrm{out}}(T)\vert U(T)\vert i_{\mathrm{in}}(0)\rangle|^2.

    It is a finite-time packet probability. Relating it to a continuum differential cross section requires the packet normalization, incident flux, detector bins, external-state normalization and field matching. A unit-normalized register ket does not itself have the continuum normalization 2E(2π)dδ(d)(p−p′)2E(2\pi)^d\delta^{(d)}(\mathbf p-\mathbf p').

    The volume must permit well-separated incoming and outgoing packets; the observation time must allow the collision and separation without unwanted boundary returns. Preparation must account for dressing and phases rather than merely applying a nonunitary field symbol to a vacuum. A scalar-field construction addressing these steps is given in Jordan, Lee and Preskill, Sec. 3.1, PDF pp. 14–16, and Sec. 4.4, pp. 36–37. The four-site spectral example here does not perform that scattering calculation or a continuum limit.

    Summary

    The ancilla protocol measures a normalized unitary overlap, with both quadratures and the energy reference explicitly defined. A finite observation window produces a known spectral kernel; sampling spacing fixes aliasing; shot counts determine statistical precision. Elastic subtraction introduces shared covariance. Recovering finite-box levels is a concrete step toward field-theory observables, while scattering needs additional state preparation, normalization and volume/time control.

    Exercises

    1. Derive the spectral window and an alias

    Show that the triangular discrete window equals the squared geometric sum

    ∑j=−(M−1)M−1(1−∣j∣M)eijθ=1M∣∑r=0M−1eirθ∣2.\sum_{j=-(M-1)}^{M-1}\left(1-\frac{|j|}{M}\right)e^{ij\theta} =\frac1M\left|\sum_{r=0}^{M-1}e^{ir\theta}\right|^2.

    Use it to obtain KMK_M, its integral over one period and the alias of a line at E=1.80359363E=1.80359363 when Δ=2\Delta=2.

    Solution

    Expanding the squared sum gives ∑r,sei(r−s)θ\sum_{r,s}e^{i(r-s)\theta}. For a difference j=r−sj=r-s, there are M−∣j∣M-|j| pairs. Dividing by MM yields the triangular coefficients.

    For θ∉2πZ\theta\notin2\pi\mathbb Z, the geometric sum is

    ∑r=0M−1eirθ=ei(M−1)θ/2sin⁡(Mθ/2)sin⁡(θ/2).\sum_{r=0}^{M-1}e^{ir\theta} =e^{i(M-1)\theta/2}\frac{\sin(M\theta/2)}{\sin(\theta/2)}.

    Set θ=(ω−E)Δ\theta=(\omega-E)\Delta and multiply by Δ/(2π)\Delta/(2\pi) to obtain the stated kernel. The limiting value at its center is MΔ/(2π)M\Delta/(2\pi). Over any frequency interval of length 2π/Δ2\pi/\Delta, all nonconstant Fourier terms integrate to zero; the constant term integrates to one. The first numerator zeros occur at ∣ω−E∣=2π/(MΔ)|\omega-E|=2\pi/(M\Delta).

    With Δ=2\Delta=2, the frequency period is π\pi and the principal interval is [−π/2,π/2)[-\pi/2,\pi/2). The line is indistinguishable from

    E−π=−1.33799902.E-\pi=-1.33799902.

    No increase in MM at this fixed sampling spacing resolves the alias. It only narrows the same periodically repeated kernel.

    2. Subtracting an elastic contribution without bias

    Let z^A,z^B\widehat z_A,\widehat z_B be independent sample means of NsN_s Pauli measurements, each with expectation zz. Derive the mean and variance of their product. Compare it with squaring one sample mean, and explain the covariance generated when the same product is subtracted from every frequency bin.

    Solution

    Each mean has variance v=(1−z2)/Nsv=(1-z^2)/N_s and second moment z2+vz^2+v. Independence gives

    E(z^Az^B)=z2,\mathbb E(\widehat z_A\widehat z_B)=z^2, Var⁡(z^Az^B)=E(z^A2)E(z^B2)−z4=(z2+v)2−z4=2z2v+v2.\begin{aligned} \operatorname{Var}(\widehat z_A\widehat z_B) &=\mathbb E(\widehat z_A^2)\mathbb E(\widehat z_B^2)-z^4\\ &=(z^2+v)^2-z^4=2z^2v+v^2. \end{aligned}

    In contrast, E(z^A2)=z2+v\mathbb E(\widehat z_A^2)=z^2+v, so simply squaring one batch is biased upward. A corrected one-batch estimator can also be constructed, but it is a different estimator with a different variance.

    If the independent time-domain data give a raw spectral estimate S^(ω)\widehat S(\omega), subtract KM(ω)z^Az^BK_M(\omega)\widehat z_A\widehat z_B. The same random scalar appears at every frequency. Its covariance contribution is therefore

    KM(ω)KM(ω′)(2z2v+v2).K_M(\omega)K_M(\omega')\left(2z^2v+v^2\right).

    The signs of the two subtractions multiply to a plus. This term must be retained in a band integral or a joint spectral analysis. It does not turn pointwise standard deviations into a confidence interval for the location of a maximum.

    References

    • R. Somma, G. Ortiz, J. E. Gubernatis, E. Knill and R. Laflamme, “Simulating physical phenomena by quantum networks,” Physical Review A 65, 042323 (2002), arXiv:quant-ph/0108146v1 (PDF). Section III.C.1 and III.C.3–4, PDF pp. 13–16, derives ancilla interference, unitary correlators and the spectral transform. The finite-window and uncertainty calculations here are explicit additional calculations.
    • S. P. Jordan, K. S. M. Lee and J. Preskill, “Quantum computation of scattering in scalar quantum field theories,” Quantum Information and Computation 14, 1014–1080 (2014), arXiv:1112.4833v2 (PDF). Section 3.1, PDF pp. 14–16, treats packet preparation and its phases; Sec. 4.4, pp. 36–37, discusses occupation-number and localized-detector measurements.

    Scrollable formula. Use Left and Right arrow keys to reveal hidden content.

    Scrollable table. Use Left and Right arrow keys to reveal hidden columns.

    Scrollable figure. Use Left and Right arrow keys to reveal hidden content.