---
title: 'Time Rewinding: Concepts & Protocols'
url: https://www.emergentmind.com/topics/time-rewinding
type: topic
---

# Time Rewinding: Concepts & Protocols

Time rewinding denotes a family of procedures that reconstruct, emulate, or infer an earlier state of a dynamical process from a later one. In the literature, the term has several technically distinct meanings. In quantum information it can mean a heralded implementation of the inverse propagator $W^{-s}=e^{+iH_0 s\Delta T}$ for an arbitrary two-level system without prior knowledge of $H_0$ or of the repeatable interaction $V$ [2205.01131]. In wave physics it ranges from broadband phase conjugation, $E_{\rm rev}(\mathbf r,t)=E^*(\mathbf r,-t)$, to temporal-modulation protocols that restore an evolved field to its exact original amplitude and phase [1909.07003] [2508.14241]. In computer vision and statistical simulation it can denote retrodictive reconstruction of pre-capture frames or historical trigger fields from present observations and auxiliary data [2403.13800] [2004.00539]. Across these usages, the common motif is reversal of an evolution law or of its observable consequences, but the operative meaning depends on the underlying formalism.

## 1. Conceptual forms of rewinding

In quantum mechanics, time reversal is tied to anti-unitarity. One formulation defines an anti-unitary operator $T$ by $T\rho T^\dagger:=K\rho K$, where $K$ is complex conjugation in the energy basis, and emphasizes that no purely unitary map reproduces $t\to -t$ for all observables; an anti-unitary step is essential [1912.12036]. This is conceptually different from protocols that realize an inverse channel or inverse unitary by auxiliary control, postselection, or heralding.

For continuously monitored quantum systems, reversibility is conditioned on the measurement record itself. For a qubit with $H=(\hbar\Omega/2)\sigma_y$ and continuous $\sigma_z$ measurement, the readout is written as $r(t)=z(t)+\sqrt{\tau}\,\xi(t)$, and the backward movie is generated by reversing time order and negating the record, $\tilde r(t)=-r(T-t)$ [1610.03818]. The resulting backward evolution is physically possible, yet a statistical arrow of time remains because forward and backward hypotheses have different likelihoods.

In lossless linear wave propagation, time reversal is expressed by symmetry of the wave equation under $t\to -t$, $E\to E^*$. In the frequency domain this gives $E_{\rm rev}(\mathbf r,\omega)=E^*(\mathbf r,\omega)$, so practical time reversal becomes broadband phase conjugation of each spectral component [1909.07003]. A related spacetime-transformation picture treats a sudden temporal boundary as the dual of a spatial mirror: the frequency changes sign, $\omega\to -\omega$, while the wavevector is preserved [1510.01277].

The term is also used algorithmically. In the Markov-chain and language-model settings, rewinding means returning to previously observed states and resuming stochastic evolution from them, rather than physically reversing microscopic dynamics [2602.16028] [2603.22784]. This suggests that “time rewinding” is best understood as a family resemblance term spanning exact inversion, echo production, backward sampling, and retrodictive reconstruction.

## 2. Universal rewinding of unknown qubit dynamics

A universal qubit rewinding protocol can be built from a two-path interferometric primitive. The target qubit is prepared together with a motion degree of freedom in the superposition $(|\gamma_1\rangle+|\gamma_2\rangle)/\sqrt2$. On path $\gamma_1$ the qubit undergoes free evolution $W=e^{-iH_0\Delta T}$ followed by the unknown but repeatable operation $V$, while on $\gamma_2$ the order is reversed. After recombination on a balanced beam splitter, the heralded branch $|\uparrow\rangle$ applies the commutator $x=[V,W]$, and the branch $|\rightarrow\rangle$ applies the anticommutator $y=\{V,W\}$. This primitive is the gate $Q$ and obeys
$$
Q\,|\psi\rangle|\rightarrow\rangle \propto [V,W]|\psi\rangle|\uparrow\rangle+\{V,W\}|\psi\rangle|\rightarrow\rangle .
$$
For any $2\times2$ matrices $V,W$, the identities $x^2\propto I_2$, $xW^s x\propto W^{-s}$ for invertible $W$, and $y^nxy^n\propto x$ permit synthesis of the word $xW^s x$, thereby rewinding the target by $T=s\Delta T$ [2205.01131].

The protocol is universal in the sense specified for arbitrary two-level systems: it does not depend on the form of $H_0$ or on the detailed interaction, provided that the same unknown $V$ can be repeated. Its classical control layer is a random walk on a finite word-graph. If each application of $Q$ yields $|\uparrow\rangle$ with probability $p>0$, then in the generic case $[V,W]\neq0$ one has
$$
\lim_{m\to\infty} P_{\rm success}(m)=1,
$$
and the failure probability decays exponentially fast in the number of trials. The protocol fails only in the fine-tuned commuting case $[V,W]=0$, and the algebraic argument is specific to dimension two because it relies on $2\times2$ Cayley–Hamilton identities [2205.01131].

A photonic realization used a quantum-SWITCH architecture to implement the required commutator structure and demonstrated reversal of discrete polarization evolution with an average state fidelity of over $95\%$. For $n=1,2,3$ free-evolution steps, the reported fidelities were
$$
F_1=(0.9423\pm0.0002),\quad
F_2=(0.9380\pm0.0004),\quad
F_3=(0.9734\pm0.0004),
$$
with a grand mean of approximately $95.1\%$ [2205.01122]. The same work states that the protocol is optimal in running time: if the goal is to rewind by $n$ discrete steps, at least $n$ uses of the unknown free evolution are necessary.

The principal limitations are explicit. The target must be a two-level system, the unknown interaction must be repeatable across runs, and each use of the building block requires interferometric control of the motion degree of freedom together with one free-evolution interval $\Delta T$ and one interaction step $\tau$ [2205.01131].

## 3. Measurement reversal, ancilla-assisted inversion, and optimal-control undo

Continuous quantum measurement supplies a distinct notion of rewinding. In the Kraus-operator description, the forward update over $dt$ is
$$
\rho(t+dt)\propto M_{r(t)}(dt)\,\rho(t)\,M_{r(t)}(dt)^\dagger ,
$$
while the reversed trajectory is generated by
$$
\tilde M_{\tilde r}(dt)\propto \Theta\,[M_{r=-\tilde r}(dt)]^{-1}\Theta^{-1},
$$
with the record transformed as $\tilde r(t)=-r(T-t)$. Although every forward trajectory has a corresponding backward movie, the arrow of time appears statistically through the log-likelihood ratio
$$
\Delta\Lambda=\ln\frac{P_F}{P_B}=\frac{2}{\tau}\int_0^T r(t)\,z(t)\,dt .
$$
When $\Delta\Lambda>0$, the run is more likely to be forward than reversed [1610.03818]. The same framework generalizes to non-projective measurements by “Janus” sequences, where the backward Kraus operators satisfy $M_{j'}\propto (\Theta M_j\Theta^{-1})^{-1}$.

A different route to reversing an unknown quantum state assumes knowledge of the Hamiltonian and uses an ancilla governed by the same Hamiltonian. With the SWAP operator $S$ and partial-SWAP unitary
$$
U_S(\delta t)=\exp[-i\omega\delta t\,S],
$$
the reduced channel after tracing out the ancilla is
$$
\Phi_{\delta t}[\rho_S]
=
\cos^2(\omega\delta t)\rho_S
+\sin^2(\omega\delta t)\sigma_A
-i\sin(\omega\delta t)\cos(\omega\delta t)[\sigma_A,\rho_S].
$$
For small $\delta t$, this induces an effective Hamiltonian proportional to $\sigma_A$, and after $N$ iterations the approximation error is bounded by $O[(\omega T)^2/N]$ [1912.12036]. The resource estimate given there scales as $N\sim (\dim S)^2/\epsilon$ for fidelity at least $1-\epsilon$.

Experimental “undo” operations have also been realized by optimal control in a five-level system: the $F=2$ Zeeman manifold of non-interacting $^{87}$Rb atoms on an atom chip. There the forward evolution under
$$
H(t)=H_0+H_{RF}(t)
$$
is approximately inverted by an optimally designed control pulse $H_{OC}(t)$ satisfying $U_{\rm rev}U(T)\simeq \mathbb 1$. Using the dCRAB algorithm with a truncated Fourier-like basis of $15$ complex modes, the experiment achieved on average an accuracy of around $92\%$ across tens of test operations of duration $T=100\,\mu{\rm s}$, and an arbitrary-time undo protocol reached $97.3\%$ overlap for reversal to an intermediate past state [2206.02746]. The Loschmidt echo,
$$
M(\tau)=\bigl|\langle\psi_0|e^{+iH_{OC}\tau}e^{-iH\tau}|\psi_0\rangle\bigr|^2,
$$
was used there as a thermodynamic measure of reversibility.

These formulations clarify a frequent confusion. Some quantum rewinding schemes invert unknown dynamics universally but only for qubits; some reverse stochastic state-update trajectories conditioned on a recorded measurement stream; others require a known Hamiltonian or optimal-control synthesis. Exact reversal, heralded reversal, and approximate undo are therefore separate regimes rather than interchangeable descriptions.

## 4. Wave-based rewinding: phase conjugation, temporal boundaries, echoes, and deterministic restoration

In optics, time-reversed waves are “pre-scattered” spatiotemporal fields that enter a complex medium as complicated inputs and arrive as prescribed targets. A system built from a $2$-D spatial light modulator, multi-plane light conversion, and multimode fibre synthesized arbitrary vector spatiotemporal fields over an optical bandwidth $\Delta\nu=4.4\,{\rm THz}$, with spectral resolution $15\,{\rm GHz}$ per SLM pixel, $45$ Hermite–Gaussian modes in each of two polarizations, and approximately $N\approx 90\times300=27\,000$ spatiotemporal degrees of freedom. Prescribed targets such as a $230\,{\rm fs}$ spatiotemporal focus, delayed polarization-structured images, and volumetric “arrow of time” and Eiffel-tower patterns were reconstructed with more than $80\%$ correlation in both space and time [1909.07003].

An alternative wave-mechanical mechanism is the Instantaneous Time Mirror. Here the wave speed is made time dependent through a sudden, spatially uniform jump,
$$
c^2(t)=c_0^2[1+\alpha\,\delta(t-t_{\rm ITM})],
$$
which converts the homogeneous wave equation into
$$
\nabla^2\phi-\frac{1}{c_0^2}\frac{\partial^2\phi}{\partial t^2}=s(\mathbf r,t),\qquad
s(\mathbf r,t)=-\frac{\alpha}{c_0^2}\delta(t-t_{\rm ITM})\frac{\partial^2\phi(\mathbf r,t)}{\partial t^2}.
$$
The source term is interpreted as a distribution of “Cauchy sources” created everywhere at the temporal boundary. In water-wave experiments, a point impact launched an expanding packet, the bath was jolted after $\Delta t\approx 60\,{\rm ms}$ with acceleration reaching $-21\,g$ in about $2\,{\rm ms}$, and a converging packet refocused at the source at $t_0+2\Delta t$ [1510.01277].

For nonrelativistic matter waves, a quantum time mirror was proposed as a near-instantaneous nonlinear kick
$$
i\hbar\frac{\partial\psi}{\partial t}
=
-\frac{\hbar^2}{2m}\nabla^2\psi
+\lambda f(t-t_0)|\psi|^2\psi .
$$
In the $\delta$-kick limit this imprints the phase
$$
\psi_+(\mathbf r)=\psi_-(\mathbf r)\exp\!\left[-\frac{i}{\hbar}\lambda|\psi_-(\mathbf r)|^2\right],
$$
leaving the density unchanged but modifying the current according to
$$
\mathbf j_+ = \mathbf j_- - \frac{\lambda}{m}\rho\nabla\rho .
$$
The resulting reversal is partial: in one dimension the norm-overlap reached about $0.6$ for $\sigma=1$, $k=4$, and $\lambda\sim 50$, while in a two-dimensional ring geometry echoes as strong as $\mathcal N\sim 0.9$ were reported [1801.01818].

More recent work isolates a deterministic regime in time-varying media. In electromagnetic systems, carefully paired temporal layers with impedance matching or anti-matching and matched durations produce complete restoration of amplitude and phase; in Dirac systems the analogous condition is complete interband transition. The central claim is that, unlike time-reversal holography or quantum time mirrors, which produce wave echoes but only partial waveform recovery, the designed temporal modulation can achieve deterministic and complete reconstruction of the entire wave state [2508.14241]. A symmetry classification sharpens this result: for any lossless, spatially homogeneous modulation sequence with identical initial and final media,
$$
\mathcal S_{\rm ord}=(\mathcal S_{\rm rev}^*)^{-1},
$$
with isotropic and chiral media being channel-preserving and Tellegen media channel-exchanging [2606.22703]. This gives a direct scattering-matrix criterion for exact time rewinding.

## 5. Rewinding as an algorithmic primitive

In large-language-model inference, rewinding is modeled as interaction with a Markov chain in which the algorithm may resume generation from any previously observed state. The state space $\Omega$ consists of partial solutions, and a rewinding step chooses a prior state $x_{t'}$ and samples $x_{t+1}\sim P(x_{t'},\cdot)$. The main theorem states that the optimal algorithm always generates a caterpillar tree: after removing the leaves of the explored state tree, what remains is a path. This yields the Caterpillar of Thoughts (CaT) algorithm [2603.22784].

Theoretical characterization is accompanied by empirical comparisons. On $100$ hard Game of 24 instances, Tree-of-Thoughts with beam $5$ achieved $74\%$ success at $19.2{\rm k}$ average tokens, whereas CaT with best-of-$2$ and $15$ steps achieved $81\%$ at $15.3{\rm k}$ average tokens; with $10$ steps, CaT achieved $78\%$ at $14.2{\rm k}$ [2603.22784]. On $20$ held-out $5\times5$ crosswords, truncated ToT at $20$ steps obtained word accuracy $39.5\%$, letter accuracy $64.8\%$, games solved $5\%$, and $73.4{\rm k}$ average tokens, while CaT at $20$ steps obtained $50.0\%$, $68.6\%$, $15\%$, and $66.8{\rm k}$ respectively [2603.22784].

Partially observable Markov chains admit a related but more abstract rewinding model. There the learner observes only $Z_t=O(X_t)$ and may jump back according to a rewind function. Three strategy classes are distinguished: passive, adaptive rewinding, and non-adaptive rewinding. The central information-theoretic theorem states that if a pair of states can be distinguished by some adaptive rewinding strategy, then it can also be distinguished by a non-adaptive strategy. The efficiency difference appears only in query complexity, where a polynomial overhead for non-adaptive strategies is both achievable and necessary in general [2602.16028].

Backward simulation of stochastic processes leads to Time-Reverse Monte Carlo. A naive “invert-and-simulate” procedure is biased unless Jacobian factors are included. The remedy is to introduce a backward proposal kernel $q(x_{i+1}\to x_i)$ and incremental importance weights
$$
W_i(x_i,x_{i+1})=\frac{p(x_{i+1}\mid x_i)}{q(x_{i+1}\to x_i)} .
$$
The full-path estimator
$$
\widehat P=\frac1M\sum_{j=1}^M
\left[
V_A\,p(x_0^{(j)})\prod_{i=0}^{N-1}\frac{p(x_{i+1}^{(j)}\mid x_i^{(j)})}{q(x_{i+1}^{(j)}\to x_i^{(j)})}
\right]
$$
is unbiased, and resampling in the SMC variant is more efficient for simulations with a larger number of time steps [1708.08045].

Quantum complexity theory gives yet another formalization. Rewinding operators that invert quantum measurements define the class $\mathsf{RwBQP}$, and the main structural theorem is
$$
{\sf BPP}^{\sf PP}\subseteq{\sf RwBQP}={\sf CBQP}={\sf AdPostBQP}\subseteq{\sf PSPACE}.
$$
The same work shows that a single rewinding operator can already enable tasks believed intractable for quantum computation under standard assumptions, that rewindable Clifford circuits remain classically simulatable, and that rewindable IQP circuits can solve any problem in $\mathsf{PP}$ [2206.05434]. In this algorithmic literature, rewinding is not a physical inversion of time but an added control primitive with measurable computational power.

## 6. Retrodiction, reconstruction, and reinterpretation

In computer vision, TimeRewind studies the problem of recovering the moments just before a single captured image. The inputs are a single RGB frame $I_0\in\mathbb R^{H\times W\times3}$ at time $t=0$ and an event stream
$$
E^-=\{(x_i,y_i,t_i,p_i)\}
$$
over the interval $[-\Delta t,0)$. A frozen image-to-video diffusion backbone is augmented with an Event Motion Adaptor (EMA) that predicts residuals at each U-Net block. Training minimizes
$$
L_{\rm diff}
=
\mathbb E_{z_0,\epsilon,t}
\bigl[
\|\epsilon-\epsilon_\theta(z_t,t,I_0)-EMA_\phi(e,t,z_t)\|^2
\bigr],
$$
using only EMA parameters as trainable variables [2403.13800]. On held-out sequences from BS-ERGB, the reported results were: SVD, $\mathrm{PSNR}=13.93$, $\mathrm{SSIM}=0.45$, $\mathrm{LPIPS}=0.38$; E2VID+*, $20.19$, $0.59$, $0.36$; EVDI*, $18.64$, $0.56$, $0.41$; REFID*, $20.12$, $0.57$, $0.45$; and TimeRewind, $21.78$, $0.70$, $0.15$ [2403.13800]. The present rewind window is about $30\,{\rm ms}$.

In geohazard modeling, “rewinding to the past” denotes posterior simulation of historical trigger scenarios rather than inversion of dynamics. A Bayesian generalized additive model is fitted to the 2017 Jiuzhaigou earthquake-induced landslide inventory with
$$
Y_i\sim {\rm Bernoulli}(p_i),\qquad
{\rm logit}(p_i)=\eta_i,
$$
and a PGA term enters linearly through $\beta_{\rm PGA}(\mathrm{PGA}_\mu)_i$. Backward simulation then removes the 2017 PGA effect and injects a historical PGA field for each earlier scenario, generating ensembles of susceptibility maps by posterior sampling [2004.00539]. The Jiuzhaigou model yielded ten-fold cross-validation AUC values all above $0.90$, with median approximately $0.93$, and a posterior mean for $\beta_{\rm PGA}$ of approximately $2.51$ [2004.00539].

General relativity offers a more geometric use of the term. The type-D Kasner vacuum metric
$$
ds^2=-dT^2+T^{-2/3}dz^2+T^{4/3}(dx^2+dy^2)
$$
can be read in two opposite time orientations. With $T$ increasing from zero, it describes an anisotropic cosmology emerging from a Big Bang; with $T$ decreasing toward zero, it describes the late interior of a Schwarzschild black hole approaching a future singularity [2205.07768]. The same line element therefore supports both the “birth of a universe” and the “end of time” by reversal of time ordering, illustrating that in relativistic contexts rewinding may refer to reinterpretation of a solution rather than to an operational protocol.

Taken together, these strands show that time rewinding is not a single doctrine but a technically stratified concept. In some settings it is exact inverse dynamics; in others it is heralded inversion, echo formation, optimal-control undo, backward sampling, state-space backtracking, or probabilistic reconstruction. A plausible implication is that the most useful distinctions are not between disciplines but between guarantees: exact versus approximate restoration, deterministic versus heralded success, microscopic reversibility versus statistical arrow, and physical inversion versus inferential retrodiction.

Source: https://www.emergentmind.com/topics/time-rewinding