Modular Variables: Definitions & Applications
- 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 and decomposing the canonical coordinates as
where are integer-valued cell indices and are bounded remainders with
At the operator level this yields
The integer operators commute with one another but do not commute with or ; 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 satisfying 0, define
1
For two slits separated by 2, modular momentum is the phase of 3, so that
4
Similarly, modular position is defined via 5, giving
6
When the Weyl parameters satisfy 7, the corresponding translations commute, and one obtains
8
Thus the modular parts can be simultaneously specified even though 9 and 0 cannot (Lobo et al., 2014).
A discrete analogue arises in Schwinger’s finite quantum kinematics. In an 1-dimensional Hilbert space with cyclic unitary shifts 2, one has
3
If 4 with 5, then 6 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
7
with commuting modular operators 8. Their common eigenstates 9 form a complete basis over a unit cell, and in the 0-representation they are given by
1
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 2 a phase-space symbol 3. For the translation operator 4, the corresponding symbol is
5
which depends only on 6 modulo 7. In the star-product algebra, this periodicity is automatically enforced when one factor is 8 or its position analogue 9. In the classical limit, the same structure becomes the periodic identification 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-1 lattice 2 obeying the integrality condition 3, where 4 is the symplectic form. The quotient
5
is the modular space, a phase-space torus. Modular vectors 6 are common eigenvectors of all Weyl operators 7 with 8, and the Hilbert space is realized as sections of a 9-bundle 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 1,
2
with modular Lagrangian
3
The compactness of 4 introduces winding modes and an Aharonov–Bohm phase 5. The stationary paths live on the universal cover 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 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 8,
9
The evolution depends on the potential difference between two separated points, so the operator 0 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 1, 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 2, modular position in units of 3, and the commuting pair 4 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
5
local densities and currents have no cross term in the non-overlap regime. By contrast,
6
so the Hermitian modular cosine and sine retain the hidden relative phase. In a uniform gravitational field,
7
and similarly for 8. The oscillation frequency is therefore
9
This gives a modular signal that remains phase-sensitive even when standard local observables are insensitive to 0 (Mousavi, 21 May 2026).
In the high-temperature Caldeira–Leggett model, the modular expectation value takes the form
1
Thermal diffusion damps the amplitude through 2, while dissipation shifts the phase through 3. 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 4, Pauli-like modular operators can be defined from 5 and 6, and these close the 7 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,
8
with decompositions
9
where 0 and 1. Since 2, one introduces the joint eigenbasis 3. Splitting the modular interval into two halves,
4
yields, for each fixed 5 with 6, a two-dimensional subspace spanned by
7
Any continuous-variable state can then be written as a continuous superposition of these 8-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
9
with 0 a normalized envelope (Ketterer et al., 2014). A complementary construction uses grid states. Fixing a scale 1, the ideal comb states
2
become, in the modular basis,
3
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,
4
with 5. The phase gate, Hadamard, and CNOT are realized by Gaussian or quadratic unitaries (Ketterer et al., 2015). In the continuous family of 6 qubits, one defines
7
and the corresponding rotations
8
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
9
These observables have eigenvalues in 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
01
The difference of ancilla outcome probabilities gives 02 (Ketterer et al., 2015).
Because ideal comb states are unphysical, finite-energy approximations are used in practice. A Gaussian-enveloped comb
03
factorizes in modular variables, and the logical error probabilities obey
04
Reducing 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 06-slit apertures have provided direct tests of modular entanglement and steering. In one transverse dimension, the modular decomposition 07 and 08 leads to bipartite observables
09
For separable states, the Gneiting–Hornberger variance witness gives
10
where 11 is the minimal eigenvalue of 12. An entropic witness uses
13
For EPR steering, the variance-inference and entropic inequalities are
14
In the reported experiment, photon pairs from type-I SPDC passed through 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
16
with associated modular observable
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 18-slits | 19 | Violation only for 20 |
| Photon pairs through 21-slits | 22 | Violation for 23 |
| Photon pairs through 24-slits | 25 | Entropic steering for 26 |
| Trapped-ion oscillator | Sequential 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 28, whereas the entropic witness violated its separable bound for 29; similarly, only the entropic steering criterion revealed EPR steering for 30 (Carvalho et al., 2012). In the trapped-ion experiment, NSIT occurred whenever the geometric phase
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 32, the monodromy matrix 33 has entries 34, and the separated variables 35 diagonalize 36 through
37
The associated eigenfunctions admit Gauss–Givental and Mellin–Barnes representations built from Faddeev’s modular quantum dilogarithm, form a complete orthogonal system in 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 39 gadget: a multi-input/output quantum superoperator taking 40 embeddable single-qubit oracles
41
and producing 42 twisted-embeddable outputs whose top-left matrix elements are real polynomials or Laurent polynomials in 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 44, negation, products, sums, recursive sign, and bandpass constructions. The same work packages the formalism as a monad
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).