Skip to content

Quantum Filtering

Quantum filtering is the recursive estimation of a quantum state from the measurement record available up to the present time. In continuous measurement it is the rule that turns a stream of detector data into the conditional state ρc(t)\rho_c(t) used for prediction, feedback, parameter estimation, and trajectory interpretation.

The shortest definition is:

ρc(t)=ρ(t∣Yt),\rho_c(t) = \rho(t\mid\mathcal Y_t),

where Yt\mathcal Y_t denotes the classical information generated by the record up to time tt. The notation is deliberately conditional. A filter is not the unconditional density matrix, and it is not a hidden trajectory independent of the measurement. It is the state assignment justified by a specified measurement model and the record actually retained.

Quantum filtering is the continuous-time analogue of Bayesian filtering in classical probability. The analogy is useful, but incomplete: a quantum measurement changes the state through an instrument, and the measured observables at different times need not be jointly classical random variables.

At each time, a filter performs two logically distinct steps:

  • prediction: propagate the previous conditional state through known dynamics;
  • update: condition on the new measurement increment.

In a laboratory this distinction is practical. Between digitizer samples, the state evolves under Hamiltonian dynamics, damping, dephasing, drives, and unmonitored loss. At a sample time, the new voltage increment, quadrature increment, or count updates the state according to the calibrated measurement model.

The filter therefore connects four objects:

model + previous state + new record increment -> updated conditional state

The same mathematical object appears under several names: conditional state, information state, filtered state, a posteriori state, or quantum trajectory conditioned on the observed record. The preferred term depends on community and context.

For the record conventions themselves, see Measurement Records. For the stochastic differential equations usually used to write the filter, see Stochastic Master Equations.

The cleanest starting point is a finite time step. Suppose ρk∣k\rho_{k|k} is the state conditioned on all records through bin kk. First propagate it through a trace-preserving prediction map PΔt\mathcal P_{\Delta t}:

ρk+1∣k=PΔt(ρk∣k).\rho_{k+1|k} = \mathcal P_{\Delta t}(\rho_{k|k}).

If the next outcome is rk+1r_{k+1}, represented by an instrument operation Irk+1Δt\mathcal I_{r_{k+1}}^{\Delta t}, the unnormalized updated state is

ρ~k+1∣k+1=Irk+1Δt ⁣(ρk+1∣k).\tilde\rho_{k+1|k+1} = \mathcal I_{r_{k+1}}^{\Delta t} \!\left(\rho_{k+1|k}\right).

The likelihood of that record increment is its trace:

p(rk+1∣Yk)=Tr⁡ ⁣[Irk+1Δt ⁣(ρk+1∣k)].p(r_{k+1}\mid\mathcal Y_k) = \operatorname{Tr} \!\left[ \mathcal I_{r_{k+1}}^{\Delta t} \!\left(\rho_{k+1|k}\right) \right].

After normalization,

ρk+1∣k+1=ρ~k+1∣k+1Tr⁡(ρ~k+1∣k+1).\rho_{k+1|k+1} = \frac{\tilde\rho_{k+1|k+1}} {\operatorname{Tr}(\tilde\rho_{k+1|k+1})}.

This is the quantum version of the prediction-update cycle. The probability law of the record and the state update are not separate assumptions; both come from the same instrument.

For a classical hidden variable xx and outcome rr, Bayes’ rule says

p(x∣r)=p(r∣x)p(x)∑x′p(r∣x′)p(x′).p(x\mid r) = \frac{p(r\mid x)p(x)} {\sum_{x'}p(r\mid x')p(x')}.

For a quantum measurement with Kraus operators MrM_r, the corresponding selective update is

ρr=MrρMr†Tr⁡(Mr†Mrρ),p(r∣ρ)=Tr⁡(Mr†Mrρ).\rho_r = \frac{M_r\rho M_r^\dagger} {\operatorname{Tr}(M_r^\dagger M_r\rho)}, \qquad p(r\mid\rho) = \operatorname{Tr}(M_r^\dagger M_r\rho).

The denominator is a likelihood, just as in Bayes’ rule. The numerator, however, is not merely multiplication by a classical likelihood function. It also contains the transformation MrρMr†M_r\rho M_r^\dagger, which represents measurement backaction and coherence changes.

This is the essential distinction:

classical filtering updates a probability distribution;quantum filtering updates a state through an instrument.\text{classical filtering updates a probability distribution;} \qquad \text{quantum filtering updates a state through an instrument.}

When the measured quantities commute and the measurement is nondemolition in the relevant basis, quantum filtering can reduce to a classical Bayesian filter over pointer states. In general it does not.

For a homodyne-like record, a common normalized convention is

dYt=μt dt+dWt,dY_t = \mu_t\,dt + dW_t,

where dWtdW_t is a Wiener increment and the predicted signal is

μt=η Tr⁡ ⁣[(c+c†)ρc(t)].\mu_t = \sqrt{\eta}\, \operatorname{Tr} \!\left[ (c+c^\dagger)\rho_c(t) \right].

The innovation is the surprise in the record:

dWt=dYt−μt dt.dW_t = dY_t-\mu_t\,dt.

Written in innovation form, the corresponding filter is

dρc=Lρc dt+η H[c]ρc(dYt−μt dt),\begin{aligned} d\rho_c =& \mathcal L\rho_c\,dt \\ &+ \sqrt{\eta}\, \mathcal H[c]\rho_c \left(dY_t-\mu_t\,dt\right), \end{aligned}

with

H[c]ρ=cρ+ρc†−Tr⁡ ⁣[(c+c†)ρ]ρ.\mathcal H[c]\rho = c\rho+\rho c^\dagger - \operatorname{Tr} \!\left[ (c+c^\dagger)\rho \right]\rho.

This is the same physical equation as the usual diffusive stochastic master equation, but the filtering form emphasizes that the state is driven by the mismatch between observed and predicted signal.

In a correctly specified model,

E[dWt∣Yt]=0,E[dWt2∣Yt]=dt.\mathbb E[dW_t\mid\mathcal Y_t]=0, \qquad \mathbb E[dW_t^2\mid\mathcal Y_t]=dt.

This property is not just formal. Innovation residuals are a practical diagnostic: systematic drift, wrong variance, or residual correlations usually signal an incorrect measurement strength, local-oscillator phase, detector efficiency, bandwidth model, Hamiltonian, or noise calibration.

For homodyne and heterodyne detector models, see Homodyne Detection and Heterodyne Detection. For the corresponding trajectory equations, see Diffusive Trajectories.

For photon counting, the record is a counting process NtN_t. In a simple ideal model with monitored collapse operator cc, the conditional intensity is

λt=η Tr⁡(c†cρc(t)).\lambda_t = \eta\, \operatorname{Tr}(c^\dagger c\rho_c(t)).

The filter predicts

E[dNt∣Yt]=λt dt.\mathbb E[dN_t\mid\mathcal Y_t] = \lambda_t\,dt.

The counting innovation, often called a compensated counting increment, is

dMt=dNt−λt dt,dM_t = dN_t-\lambda_t\,dt,

with conditional mean zero. A click gives a large update, while a no-click interval also gives information because it says that no event occurred when the current state predicted some rate.

For unit efficiency and no dark counts, the click update is

ρc⟼cρcc†Tr⁡(c†cρc).\rho_c \longmapsto \frac{c\rho_c c^\dagger} {\operatorname{Tr}(c^\dagger c\rho_c)}.

Dark counts, finite efficiency, dead time, and unresolved detector channels modify the instrument and therefore modify the filter. It is not enough to keep the ideal jump equation and add a detector note in prose; the likelihood and update must match the record actually being used.

For the record model, see Photon Counting. For the conditioned dynamics, see Quantum Jump Trajectories.

Three related tasks are often confused:

  • filtering estimates the present state using records up to the present;
  • prediction uses the present filtered state to estimate future records or future states;
  • smoothing uses later records as well, usually to infer a past state, trajectory feature, event time, or parameter.

In notation:

filtering:ρ(t∣Yt),uses records through t,prediction:ρ(t+s∣Yt),uses records through t,smoothing:ρ(t∣YT),uses records through T, T>t.\begin{array}{lll} \text{filtering:} & \rho(t\mid\mathcal Y_t), & \text{uses records through }t, \\ \text{prediction:} & \rho(t+s\mid\mathcal Y_t), & \text{uses records through }t, \\ \text{smoothing:} & \rho(t\mid\mathcal Y_T), & \text{uses records through }T,\ T\gt t. \end{array}

Smoothing can be valuable for offline data analysis, but it is not available to a real-time controller at time tt. A feedback law that uses smoothed information is acausal unless implemented with a delay and interpreted accordingly.

Unobserved Channels and Mixed Conditional States

Section titled “Unobserved Channels and Mixed Conditional States”

If every relevant environmental channel is monitored with unit efficiency, a pure initial state can often remain pure along a trajectory. Real experiments rarely meet this ideal. Loss, inefficient detectors, unmonitored decay channels, thermal noise, detector bandwidth, and classical technical noise all remove information from the observer.

A common model splits one physical channel into monitored and unmonitored parts:

cmon=η c,closs=1−η c.c_{\mathrm{mon}} = \sqrt{\eta}\,c, \qquad c_{\mathrm{loss}} = \sqrt{1-\eta}\,c.

The total unread dissipator is unchanged:

D[cmon]ρ+D[closs]ρ=D[c]ρ.\mathcal D[c_{\mathrm{mon}}]\rho + \mathcal D[c_{\mathrm{loss}}]\rho = \mathcal D[c]\rho.

Only the monitored part contributes to the record. The lost part still decoheres or damps the system, but the observer cannot condition on its specific outcome. The filtered state is therefore generally mixed even if the underlying system began pure.

This is one of the most common experimental mistakes: fitting a pure-state filter to data whose detection efficiency or unmonitored loss requires a mixed-state filter.

In dispersive circuit QED, a microwave resonator maps qubit information onto an outgoing field. After amplification and demodulation, a simplified calibrated readout model for a qubit measurement of σz\sigma_z is often written

dYt=2ηΓm ⟨σz⟩c dt+dWt,dY_t = 2\sqrt{\eta\Gamma_{\mathrm m}}\, \langle\sigma_z\rangle_c\,dt + dW_t,

where Γm\Gamma_{\mathrm m} is a convention-dependent measurement rate and η\eta is the total efficiency. A corresponding schematic filter is

dρc=−iℏ[H,ρc] dt+ΓmD[σz]ρc dt+ηΓm H[σz]ρc dWt.\begin{aligned} d\rho_c =& - \frac{i}{\hbar}[H,\rho_c]\,dt + \Gamma_{\mathrm m}\mathcal D[\sigma_z]\rho_c\,dt \\ &+ \sqrt{\eta\Gamma_{\mathrm m}}\, \mathcal H[\sigma_z]\rho_c\,dW_t. \end{aligned}

The exact coefficients depend on the normalization of the integrated voltage, the resonator elimination, the amplifier chain, and whether additional dephasing is separated from the measured dephasing. The operational point is stable across conventions: the live voltage record changes the observer’s state estimate, and the innovation tests whether the readout model is calibrated.

The broader platform context is Circuit QED.

Quantum filtering usually assumes that the Hamiltonian, decay rates, measurement efficiencies, phases, and detector response are known. In real data analysis, some of these quantities may also be uncertain.

One strategy is to run a family of filters indexed by a classical parameter θ\theta and update a classical posterior:

p(θ∣Yt)∝p(Yt∣θ)p(θ).p(\theta\mid\mathcal Y_t) \propto p(\mathcal Y_t\mid\theta)p(\theta).

For each candidate θ\theta, the quantum state ρc(θ)(t)\rho_c^{(\theta)}(t) evolves according to its own measurement model, and the record likelihood updates the parameter weights. This is a hybrid classical-quantum filtering problem: the parameter uncertainty is classical, while the system state update remains quantum.

This distinction matters when interpreting fitted trajectories. A single best-fit state trajectory is not the same object as a posterior distribution over models and states.

Measurement-based feedback uses the record, or the filtered state inferred from it, to choose later control actions. A schematic feedback Hamiltonian might be

Hfb(t)=H0+ut(Yt)F,H_{\mathrm{fb}}(t) = H_0 + u_t(\mathcal Y_t)F,

or, in state-estimate form,

ut=u ⁣(ρc(t)).u_t = u\!\left(\rho_c(t)\right).

The filter is what makes the feedback causal: at time tt, the controller may depend only on the information already in Yt\mathcal Y_t, along with any allowed delays. Unmonitored information, future records, and postselected outcomes cannot be used for real-time control.

This also explains the conceptual difference between measurement-based feedback and reservoir engineering. In Reservoir Engineering, the environment or dissipation is designed so that the desired dynamics occurs autonomously. In measurement-based feedback, a classical record is processed and fed back through a controller.

  • Using the unconditional master-equation state as if it were the filtered state for a single record.
  • Treating the detector current as the system expectation value rather than as signal plus noise.
  • Updating the state with an ideal instrument while comparing to a coarse-grained, inefficient, or bandwidth-limited record.
  • Forgetting that no-click intervals are part of the counting record and can be informative.
  • Using future data in a calculation and then calling the result a real-time filter.
  • Assuming that a conditional state remains pure when efficiency is less than one or unmonitored channels are present.
  • Ignoring latency and filtering in a feedback loop.
  • Diagnosing unexpected innovations as new physics before checking calibration, phase, efficiency, and model mismatch.
  • V. P. Belavkin, “Quantum stochastic calculus and quantum nonlinear filtering,” Journal of Multivariate Analysis 42, 171–201, 1992.
  • L. Bouten, R. van Handel, and M. R. James, “An introduction to quantum filtering,” SIAM Journal on Control and Optimization 46, 2199–2241, 2007.
  • A. Barchielli and M. Gregoratti, Quantum Trajectories and Measurements in Continuous Time, Springer, 2009.
  • H. M. Wiseman and G. J. Milburn, Quantum Measurement and Control, Cambridge University Press, 2010.
  • K. Jacobs, Quantum Measurement Theory and its Applications, Cambridge University Press, 2014.
  • H. J. Carmichael, An Open Systems Approach to Quantum Optics, Springer, 1993.
  • A. Blais, A. L. Grimsmo, S. M. Girvin, and A. Wallraff, “Circuit quantum electrodynamics,” Reviews of Modern Physics 93, 025005, 2021.
  1. Let {Ir}\{\mathcal I_r\} be a measurement instrument with ∑rIr\sum_r\mathcal I_r trace preserving. Show that the normalized update
ρr=Ir(ρ)Tr⁡[Ir(ρ)]\rho_r = \frac{\mathcal I_r(\rho)} {\operatorname{Tr}[\mathcal I_r(\rho)]}

is a valid density matrix whenever p(r)=Tr⁡[Ir(ρ)]>0p(r)=\operatorname{Tr}[\mathcal I_r(\rho)]\gt0.

Solution

Because an instrument operation is completely positive, Ir(ρ)\mathcal I_r(\rho) is positive whenever ρ\rho is positive. Its trace is p(r)p(r), which is positive by assumption. Dividing by p(r)p(r) preserves positivity and gives unit trace:

Tr⁡(ρr)=Tr⁡[Ir(ρ)]Tr⁡[Ir(ρ)]=1.\operatorname{Tr}(\rho_r) = \frac{\operatorname{Tr}[\mathcal I_r(\rho)]} {\operatorname{Tr}[\mathcal I_r(\rho)]} = 1.

Thus ρr\rho_r is positive and normalized, so it is a valid density matrix.

  1. In a diffusive filter, suppose
dYt=μt dt+dWt,dY_t=\mu_t\,dt+dW_t,

with μt\mu_t determined by the present conditional state. Show that the innovation dYt−μtdtdY_t-\mu_tdt has conditional mean zero and conditional variance dtdt.

Solution

By definition,

dYt−μtdt=dWt.dY_t-\mu_tdt=dW_t.

For a Wiener increment in Itô convention,

E[dWt∣Yt]=0,E[dWt2∣Yt]=dt.\mathbb E[dW_t\mid\mathcal Y_t]=0, \qquad \mathbb E[dW_t^2\mid\mathcal Y_t]=dt.

Therefore the innovation has conditional mean zero and conditional variance dtdt. If experimental residuals fail this test, the model or calibration is suspect.

  1. For a counting filter with conditional intensity λt\lambda_t, define
dMt=dNt−λtdt.dM_t=dN_t-\lambda_tdt.

Show that dMtdM_t has conditional mean zero.

Solution

The defining property of the conditional intensity is

E[dNt∣Yt]=λtdt.\mathbb E[dN_t\mid\mathcal Y_t] = \lambda_tdt.

Therefore

E[dMt∣Yt]=E[dNt∣Yt]−λtdt=0.\mathbb E[dM_t\mid\mathcal Y_t] = \mathbb E[dN_t\mid\mathcal Y_t] - \lambda_tdt = 0.

This makes dMtdM_t the counting analogue of an innovation increment.

  1. A real-time controller uses the estimate ρ(t∣YT)\rho(t\mid\mathcal Y_T) with T>tT\gt t to choose a control at time tt. Identify the conceptual error.
Solution

The estimate ρ(t∣YT)\rho(t\mid\mathcal Y_T) uses records after time tt, so it is a smoothed estimate, not a filtered estimate available at time tt. A real-time controller can use only past and present information, possibly with known delays. Using future records makes the control law acausal unless the calculation is reinterpreted as offline analysis or delayed feedback.