Papers
Topics
Authors
Recent
Search
2000 character limit reached

Modular Variables: Definitions & Applications

Updated 4 July 2026
  • Modular variables are bounded observables defined by decomposing position and momentum into integer and remainder parts, capturing the periodic structure of phase space.
  • They facilitate the encoding of discrete quantum information and offer a framework to analyze nonlocal dynamics in interference phenomena, such as slit interference and Aharonov–Bohm effects.
  • Experimental platforms using photonic and trapped-ion setups validate theoretical predictions by measuring modular observables via variance and entropic witnesses.

Modular variables are bounded observables obtained by decomposing canonical position and momentum into integer and remainder parts with respect to fixed spatial and momentum scales, or equivalently by identifying the phases of Weyl translation operators. In the formulation associated with Aharonov and collaborators, they provide commuting observables tailored to periodic structure in phase space and to phenomena such as slit interference, Aharonov–Bohm phase shifts, and quantum dynamical non-locality (Lobo et al., 2014). Subsequent work has developed their phase-space geometry and modular polarization (Yargic, 2020), used them to encode discrete quantum information in infinite-dimensional systems (Ketterer et al., 2014), constructed grid-state and modular-observable readout schemes (Ketterer et al., 2015), and implemented modular-variable measurements and witnesses in photonic and trapped-ion experiments (Carvalho et al., 2012, Flühmann et al., 2017). More recent analyses have emphasized that modular observables can retain relative-phase information in open systems even when ordinary local observables become insensitive to it (Mousavi, 21 May 2026).

1. Canonical definition and algebra

In one transverse dimension, modular variables are introduced by fixing a coarse-graining length dd and decomposing the canonical coordinates as

x=nd+r,p=m(2π/d)+s,x = n\,d + r,\qquad p = m\,(2\pi/d) + s,

where n,mn,m are integer-valued cell indices and r,sr,s are bounded remainders with

r(d/2,d/2],s(π/d,π/d].r\in(-d/2,d/2],\qquad s\in(-\pi/d,\pi/d].

At the operator level this yields

x^=n^d+r^,p^=m^(2π/d)+s^.\hat x=\hat n\,d+\hat r,\qquad \hat p=\hat m\,(2\pi/d)+\hat s.

The integer operators n^,m^\hat n,\hat m commute with one another but do not commute with r^\hat r or s^\hat s; within each cell, the modular operators behave like canonically conjugate continuous variables subject to bounded spectra (Carvalho et al., 2012).

An equivalent formulation uses Weyl translation operators. With canonical operators Q^,P^\hat Q,\hat P satisfying x=nd+r,p=m(2π/d)+s,x = n\,d + r,\qquad p = m\,(2\pi/d) + s,0, define

x=nd+r,p=m(2π/d)+s,x = n\,d + r,\qquad p = m\,(2\pi/d) + s,1

For two slits separated by x=nd+r,p=m(2π/d)+s,x = n\,d + r,\qquad p = m\,(2\pi/d) + s,2, modular momentum is the phase of x=nd+r,p=m(2π/d)+s,x = n\,d + r,\qquad p = m\,(2\pi/d) + s,3, so that

x=nd+r,p=m(2π/d)+s,x = n\,d + r,\qquad p = m\,(2\pi/d) + s,4

Similarly, modular position is defined via x=nd+r,p=m(2π/d)+s,x = n\,d + r,\qquad p = m\,(2\pi/d) + s,5, giving

x=nd+r,p=m(2π/d)+s,x = n\,d + r,\qquad p = m\,(2\pi/d) + s,6

When the Weyl parameters satisfy x=nd+r,p=m(2π/d)+s,x = n\,d + r,\qquad p = m\,(2\pi/d) + s,7, the corresponding translations commute, and one obtains

x=nd+r,p=m(2π/d)+s,x = n\,d + r,\qquad p = m\,(2\pi/d) + s,8

Thus the modular parts can be simultaneously specified even though x=nd+r,p=m(2π/d)+s,x = n\,d + r,\qquad p = m\,(2\pi/d) + s,9 and n,mn,m0 cannot (Lobo et al., 2014).

A discrete analogue arises in Schwinger’s finite quantum kinematics. In an n,mn,m1-dimensional Hilbert space with cyclic unitary shifts n,mn,m2, one has

n,mn,m3

If n,mn,m4 with n,mn,m5, then n,mn,m6 commute and generate a finite modular algebra. In the terminology of that construction, this yields a “pseudo-degree-of-freedom” that is the finite-dimensional counterpart of modular position and momentum (Lobo et al., 2014).

In continuous-variable quantum information, an equivalent notation uses

n,mn,m7

with commuting modular operators n,mn,m8. Their common eigenstates n,mn,m9 form a complete basis over a unit cell, and in the r,sr,s0-representation they are given by

r,sr,s1

This basis is central to modular-variable encodings of qubits in infinite-dimensional Hilbert spaces (Ketterer et al., 2015).

2. Phase-space geometry and modular polarization

The Weyl–Wigner formalism makes explicit why modular variables are naturally phase-space objects. The Weyl–Wigner map assigns to an operator r,sr,s2 a phase-space symbol r,sr,s3. For the translation operator r,sr,s4, the corresponding symbol is

r,sr,s5

which depends only on r,sr,s6 modulo r,sr,s7. In the star-product algebra, this periodicity is automatically enforced when one factor is r,sr,s8 or its position analogue r,sr,s9. In the classical limit, the same structure becomes the periodic identification r(d/2,d/2],s(π/d,π/d].r\in(-d/2,d/2],\qquad s\in(-\pi/d,\pi/d].0 in phase space (Lobo et al., 2014).

This periodicity can be elevated from an operator identity to a choice of polarization. In the modular-space formulation, one selects a rank-r(d/2,d/2],s(π/d,π/d].r\in(-d/2,d/2],\qquad s\in(-\pi/d,\pi/d].1 lattice r(d/2,d/2],s(π/d,π/d].r\in(-d/2,d/2],\qquad s\in(-\pi/d,\pi/d].2 obeying the integrality condition r(d/2,d/2],s(π/d,π/d].r\in(-d/2,d/2],\qquad s\in(-\pi/d,\pi/d].3, where r(d/2,d/2],s(π/d,π/d].r\in(-d/2,d/2],\qquad s\in(-\pi/d,\pi/d].4 is the symplectic form. The quotient

r(d/2,d/2],s(π/d,π/d].r\in(-d/2,d/2],\qquad s\in(-\pi/d,\pi/d].5

is the modular space, a phase-space torus. Modular vectors r(d/2,d/2],s(π/d,π/d].r\in(-d/2,d/2],\qquad s\in(-\pi/d,\pi/d].6 are common eigenvectors of all Weyl operators r(d/2,d/2],s(π/d,π/d].r\in(-d/2,d/2],\qquad s\in(-\pi/d,\pi/d].7 with r(d/2,d/2],s(π/d,π/d].r\in(-d/2,d/2],\qquad s\in(-\pi/d,\pi/d].8, and the Hilbert space is realized as sections of a r(d/2,d/2],s(π/d,π/d].r\in(-d/2,d/2],\qquad s\in(-\pi/d,\pi/d].9-bundle x^=n^d+r^,p^=m^(2π/d)+s^.\hat x=\hat n\,d+\hat r,\qquad \hat p=\hat m\,(2\pi/d)+\hat s.0 (Yargic, 2020).

Within this polarization, the harmonic-oscillator propagator admits a modular path-integral representation. The transition amplitude is a sum over winding sectors x^=n^d+r^,p^=m^(2π/d)+s^.\hat x=\hat n\,d+\hat r,\qquad \hat p=\hat m\,(2\pi/d)+\hat s.1,

x^=n^d+r^,p^=m^(2π/d)+s^.\hat x=\hat n\,d+\hat r,\qquad \hat p=\hat m\,(2\pi/d)+\hat s.2

with modular Lagrangian

x^=n^d+r^,p^=m^(2π/d)+s^.\hat x=\hat n\,d+\hat r,\qquad \hat p=\hat m\,(2\pi/d)+\hat s.3

The compactness of x^=n^d+r^,p^=m^(2π/d)+s^.\hat x=\hat n\,d+\hat r,\qquad \hat p=\hat m\,(2\pi/d)+\hat s.4 introduces winding modes and an Aharonov–Bohm phase x^=n^d+r^,p^=m^(2π/d)+s^.\hat x=\hat n\,d+\hat r,\qquad \hat p=\hat m\,(2\pi/d)+\hat s.5. The stationary paths live on the universal cover x^=n^d+r^,p^=m^(2π/d)+s^.\hat x=\hat n\,d+\hat r,\qquad \hat p=\hat m\,(2\pi/d)+\hat s.6, but each modular path corresponds in the Schrödinger picture to a sequence of superposition states, so locality on the torus is non-local in the usual configuration-space basis (Yargic, 2020).

The modular action also exposes symmetries that are hidden or absent in the ordinary formulation. Standard oscillator symmetries remain, phase-space translations produce conserved currents, hidden symplectic rotations become manifest, and the modular connection has a x^=n^d+r^,p^=m^(2π/d)+s^.\hat x=\hat n\,d+\hat r,\qquad \hat p=\hat m\,(2\pi/d)+\hat s.7 gauge freedom. The same work proposes a modular Legendre transform for constructing modular actions from more general Hamiltonians (Yargic, 2020).

3. Nonlocal dynamics and phase sensitivity

The distinctive physical role of modular variables appears most clearly in the Heisenberg equation for a translation operator. For a potential x^=n^d+r^,p^=m^(2π/d)+s^.\hat x=\hat n\,d+\hat r,\qquad \hat p=\hat m\,(2\pi/d)+\hat s.8,

x^=n^d+r^,p^=m^(2π/d)+s^.\hat x=\hat n\,d+\hat r,\qquad \hat p=\hat m\,(2\pi/d)+\hat s.9

The evolution depends on the potential difference between two separated points, so the operator n^,m^\hat n,\hat m0 is sensitive to spatially separated regions without requiring occupation of the intermediate points. This is the sense in which modular variables were introduced to describe quantum dynamical non-locality (Lobo et al., 2014).

The same framework distinguishes dynamical non-locality from kinematic non-locality. Entangled EPR states encode non-locality in non-factorizable states or projectors on n^,m^\hat n,\hat m1, whereas modular variables describe a non-locality intrinsic to the dynamics of translation operators. In the slit-interference setting, modular momentum is exchanged in units of n^,m^\hat n,\hat m2, modular position in units of n^,m^\hat n,\hat m3, and the commuting pair n^,m^\hat n,\hat m4 provides the appropriate language for single-particle interference and Aharonov–Bohm-type phase shifts (Lobo et al., 2014).

The nonlocal phase sensitivity becomes operationally sharp for superpositions of spatially separated packets. For

n^,m^\hat n,\hat m5

local densities and currents have no cross term in the non-overlap regime. By contrast,

n^,m^\hat n,\hat m6

so the Hermitian modular cosine and sine retain the hidden relative phase. In a uniform gravitational field,

n^,m^\hat n,\hat m7

and similarly for n^,m^\hat n,\hat m8. The oscillation frequency is therefore

n^,m^\hat n,\hat m9

This gives a modular signal that remains phase-sensitive even when standard local observables are insensitive to r^\hat r0 (Mousavi, 21 May 2026).

In the high-temperature Caldeira–Leggett model, the modular expectation value takes the form

r^\hat r1

Thermal diffusion damps the amplitude through r^\hat r2, while dissipation shifts the phase through r^\hat r3. For two particles coupled to a shared environment, environment-induced correlations can modify the local modular expectation value of one particle, but the transfer of phase sensitivity to the modular signal of the distant particle remains negligible in the regime considered. The same analysis reports that common coherence measures and covariance-matrix-based continuous-variable entanglement criteria fail structurally to capture the relative phase when the packets do not overlap, because they probe only local or quasi-local matrix elements (Mousavi, 21 May 2026).

A finite-dimensional reduction also exists. In the two-slit subspace spanned by r^\hat r4, Pauli-like modular operators can be defined from r^\hat r5 and r^\hat r6, and these close the r^\hat r7 algebra. In that sense, the two-slit modular variables form a genuine qubit (Lobo et al., 2014).

4. Encoded qubits and modular measurements

A central application of modular variables is the embedding of qubit structure into continuous-variable Hilbert spaces. In the dimensionless formulation,

r^\hat r8

with decompositions

r^\hat r9

where s^\hat s0 and s^\hat s1. Since s^\hat s2, one introduces the joint eigenbasis s^\hat s3. Splitting the modular interval into two halves,

s^\hat s4

yields, for each fixed s^\hat s5 with s^\hat s6, a two-dimensional subspace spanned by

s^\hat s7

Any continuous-variable state can then be written as a continuous superposition of these s^\hat s8-labeled qubit subspaces (Ketterer et al., 2014).

Logical basis states are obtained by fixing the Bloch angles uniformly across the family of subspaces. One convenient choice is

s^\hat s9

with Q^,P^\hat Q,\hat P0 a normalized envelope (Ketterer et al., 2014). A complementary construction uses grid states. Fixing a scale Q^,P^\hat Q,\hat P1, the ideal comb states

Q^,P^\hat Q,\hat P2

become, in the modular basis,

Q^,P^\hat Q,\hat P3

This produces a direct equivalence between a logical qubit and a pair of modular points in phase space (Ketterer et al., 2015).

Single-qubit logical operations can be expressed as displacements or as modular Pauli-like operators. In the grid-state encoding,

Q^,P^\hat Q,\hat P4

with Q^,P^\hat Q,\hat P5. The phase gate, Hadamard, and CNOT are realized by Gaussian or quadratic unitaries (Ketterer et al., 2015). In the continuous family of Q^,P^\hat Q,\hat P6 qubits, one defines

Q^,P^\hat Q,\hat P7

and the corresponding rotations

Q^,P^\hat Q,\hat P8

These operators are non-Gaussian and non-unitary but can be implemented deterministically by ancilla-driven superpositions of Gaussian gates, with ancilla readout identifying the branch and enabling the required correction or relabeling (Ketterer et al., 2014).

Readout is performed through modular observables that act as logical Pauli measurements. A standard family is

Q^,P^\hat Q,\hat P9

These observables have eigenvalues in x=nd+r,p=m(2π/d)+s,x = n\,d + r,\qquad p = m\,(2\pi/d) + s,00 and reproduce logical Pauli statistics on the encoded subspace. They can be measured directly from suitable quadrature distributions or indirectly by an ancilla-qubit POVM with elements

x=nd+r,p=m(2π/d)+s,x = n\,d + r,\qquad p = m\,(2\pi/d) + s,01

The difference of ancilla outcome probabilities gives x=nd+r,p=m(2π/d)+s,x = n\,d + r,\qquad p = m\,(2\pi/d) + s,02 (Ketterer et al., 2015).

Because ideal comb states are unphysical, finite-energy approximations are used in practice. A Gaussian-enveloped comb

x=nd+r,p=m(2π/d)+s,x = n\,d + r,\qquad p = m\,(2\pi/d) + s,03

factorizes in modular variables, and the logical error probabilities obey

x=nd+r,p=m(2π/d)+s,x = n\,d + r,\qquad p = m\,(2\pi/d) + s,04

Reducing x=nd+r,p=m(2π/d)+s,x = n\,d + r,\qquad p = m\,(2\pi/d) + s,05 suppresses position-shift errors but broadens the momentum envelope, so the design criterion is to balance the two contributions (Ketterer et al., 2015).

5. Experimental platforms and correlation witnesses

Photonic experiments with x=nd+r,p=m(2π/d)+s,x = n\,d + r,\qquad p = m\,(2\pi/d) + s,06-slit apertures have provided direct tests of modular entanglement and steering. In one transverse dimension, the modular decomposition x=nd+r,p=m(2π/d)+s,x = n\,d + r,\qquad p = m\,(2\pi/d) + s,07 and x=nd+r,p=m(2π/d)+s,x = n\,d + r,\qquad p = m\,(2\pi/d) + s,08 leads to bipartite observables

x=nd+r,p=m(2π/d)+s,x = n\,d + r,\qquad p = m\,(2\pi/d) + s,09

For separable states, the Gneiting–Hornberger variance witness gives

x=nd+r,p=m(2π/d)+s,x = n\,d + r,\qquad p = m\,(2\pi/d) + s,10

where x=nd+r,p=m(2π/d)+s,x = n\,d + r,\qquad p = m\,(2\pi/d) + s,11 is the minimal eigenvalue of x=nd+r,p=m(2π/d)+s,x = n\,d + r,\qquad p = m\,(2\pi/d) + s,12. An entropic witness uses

x=nd+r,p=m(2π/d)+s,x = n\,d + r,\qquad p = m\,(2\pi/d) + s,13

For EPR steering, the variance-inference and entropic inequalities are

x=nd+r,p=m(2π/d)+s,x = n\,d + r,\qquad p = m\,(2\pi/d) + s,14

In the reported experiment, photon pairs from type-I SPDC passed through x=nd+r,p=m(2π/d)+s,x = n\,d + r,\qquad p = m\,(2\pi/d) + s,15 slit masks, with near-field measurements determining slit index and far-field measurements determining the modular momentum remainder. The entropic criteria were more successful than the variance criteria in identifying both entanglement and steering (Carvalho et al., 2012).

A second platform uses the motional degree of freedom of a single trapped ion. A state-dependent force implements a modular measurement through the Kraus operators

x=nd+r,p=m(2π/d)+s,x = n\,d + r,\qquad p = m\,(2\pi/d) + s,16

with associated modular observable

x=nd+r,p=m(2π/d)+s,x = n\,d + r,\qquad p = m\,(2\pi/d) + s,17

Sequential application of such measurements enabled tests of no-signaling-in-time (NSIT), signaling-in-time (SIT), and Leggett–Garg inequalities in an oscillator supporting multi-component coherent, squeezed, or Fock-state superpositions (Flühmann et al., 2017).

Platform Modular observable or criterion Reported outcome
Photon pairs through x=nd+r,p=m(2π/d)+s,x = n\,d + r,\qquad p = m\,(2\pi/d) + s,18-slits x=nd+r,p=m(2π/d)+s,x = n\,d + r,\qquad p = m\,(2\pi/d) + s,19 Violation only for x=nd+r,p=m(2π/d)+s,x = n\,d + r,\qquad p = m\,(2\pi/d) + s,20
Photon pairs through x=nd+r,p=m(2π/d)+s,x = n\,d + r,\qquad p = m\,(2\pi/d) + s,21-slits x=nd+r,p=m(2π/d)+s,x = n\,d + r,\qquad p = m\,(2\pi/d) + s,22 Violation for x=nd+r,p=m(2π/d)+s,x = n\,d + r,\qquad p = m\,(2\pi/d) + s,23
Photon pairs through x=nd+r,p=m(2π/d)+s,x = n\,d + r,\qquad p = m\,(2\pi/d) + s,24-slits x=nd+r,p=m(2π/d)+s,x = n\,d + r,\qquad p = m\,(2\pi/d) + s,25 Entropic steering for x=nd+r,p=m(2π/d)+s,x = n\,d + r,\qquad p = m\,(2\pi/d) + s,26
Trapped-ion oscillator Sequential x=nd+r,p=m(2π/d)+s,x = n\,d + r,\qquad p = m\,(2\pi/d) + s,27 measurements NSIT for commuting periodicities; SIT and Leggett–Garg violation with interference

In the photonic implementation, the main numerical findings were that the variance entanglement witness violated its bound only for x=nd+r,p=m(2π/d)+s,x = n\,d + r,\qquad p = m\,(2\pi/d) + s,28, whereas the entropic witness violated its separable bound for x=nd+r,p=m(2π/d)+s,x = n\,d + r,\qquad p = m\,(2\pi/d) + s,29; similarly, only the entropic steering criterion revealed EPR steering for x=nd+r,p=m(2π/d)+s,x = n\,d + r,\qquad p = m\,(2\pi/d) + s,30 (Carvalho et al., 2012). In the trapped-ion experiment, NSIT occurred whenever the geometric phase

x=nd+r,p=m(2π/d)+s,x = n\,d + r,\qquad p = m\,(2\pi/d) + s,31

or the wave-packet overlap vanished, while quantum interference generated SIT for other settings; the same sequential protocol yielded two-time correlators that violated a Leggett–Garg inequality (Flühmann et al., 2017).

These experiments establish two complementary points. First, modular observables can be measured directly rather than treated as purely conceptual constructs. Second, because they probe periodic or translation-linked structure rather than only local moments, entropic or sequential modular tests can reveal quantum features that remain hidden to more conventional variance or covariance diagnostics (Carvalho et al., 2012, Flühmann et al., 2017).

6. Distinct modern extensions of the modular paradigm

The adjective “modular” also appears in technically distinct settings that do not use Aharonov modular position and momentum, but that retain a compositional or periodic structure. One example is the modular XXZ magnet and the lattice Sinh–Gordon model. There the local Hilbert space is x=nd+r,p=m(2π/d)+s,x = n\,d + r,\qquad p = m\,(2\pi/d) + s,32, the monodromy matrix x=nd+r,p=m(2π/d)+s,x = n\,d + r,\qquad p = m\,(2\pi/d) + s,33 has entries x=nd+r,p=m(2π/d)+s,x = n\,d + r,\qquad p = m\,(2\pi/d) + s,34, and the separated variables x=nd+r,p=m(2π/d)+s,x = n\,d + r,\qquad p = m\,(2\pi/d) + s,35 diagonalize x=nd+r,p=m(2π/d)+s,x = n\,d + r,\qquad p = m\,(2\pi/d) + s,36 through

x=nd+r,p=m(2π/d)+s,x = n\,d + r,\qquad p = m\,(2\pi/d) + s,37

The associated eigenfunctions admit Gauss–Givental and Mellin–Barnes representations built from Faddeev’s modular quantum dilogarithm, form a complete orthogonal system in x=nd+r,p=m(2π/d)+s,x = n\,d + r,\qquad p = m\,(2\pi/d) + s,38, and solve the spectrum of the odd-length lattice Sinh–Gordon model, thereby proving the Bytsko–Teschner conjecture stated in that setting (Derkachov et al., 2018).

A different extension appears in modular quantum signal processing. In that work, the basic object is an x=nd+r,p=m(2π/d)+s,x = n\,d + r,\qquad p = m\,(2\pi/d) + s,39 gadget: a multi-input/output quantum superoperator taking x=nd+r,p=m(2π/d)+s,x = n\,d + r,\qquad p = m\,(2\pi/d) + s,40 embeddable single-qubit oracles

x=nd+r,p=m(2π/d)+s,x = n\,d + r,\qquad p = m\,(2\pi/d) + s,41

and producing x=nd+r,p=m(2π/d)+s,x = n\,d + r,\qquad p = m\,(2\pi/d) + s,42 twisted-embeddable outputs whose top-left matrix elements are real polynomials or Laurent polynomials in x=nd+r,p=m(2π/d)+s,x = n\,d + r,\qquad p = m\,(2\pi/d) + s,43. Atomic gadgets are built from M-QSP circuits, snappable gadgets admit efficient correction back to embeddable form, and composition is organized by an interlink that wires selected outputs of one gadget into inputs of another. At the function level, sequential and parallel composition correspond directly to composition and product of polynomial maps. The examples given include gadgets for x=nd+r,p=m(2π/d)+s,x = n\,d + r,\qquad p = m\,(2\pi/d) + s,44, negation, products, sums, recursive sign, and bandpass constructions. The same work packages the formalism as a monad

x=nd+r,p=m(2π/d)+s,x = n\,d + r,\qquad p = m\,(2\pi/d) + s,45

with unit and bind satisfying the monad laws, and provides a Python package for gadget assembly and circuit compilation (Rossi et al., 2023).

Taken together, these lines of work show that modular structure appears in several mathematically distinct guises: as commuting remainders of canonical observables, as a toroidal phase-space polarization with winding sectors and modular actions, as an operational resource for quantum information and nonclassicality tests, and as a compositional principle in separate areas of quantum mathematics and algorithm design (Lobo et al., 2014, Yargic, 2020, Rossi et al., 2023).

Topic to Video (Beta)

No one has generated a video about this topic yet.

Whiteboard

No one has generated a whiteboard explanation for this topic yet.

Follow Topic

Get notified by email when new papers are published related to Modular Variables.