WorksPhysics and Astronomy
Goldbach Representations in Quantum Optics and Metrology
Abstract
We derive a relation between Goldbach representations and photon-number statistics in a quantum-optical setup. Considering an even-number Fock state injected into a stochastic beam splitter with uniformly distributed transmissivity and projections of the two output modes onto prime subspaces, we demonstrate that each successful outcome corresponds to an Goldbach representation and that the averaged detection probability is exactly proportional to the number of Goldbach representations. Then, employing the Hardy–Littlewood asymptotic formula, we demonstrate that the post-measurement state generated by a beam splitter with fixed transmissivity exhibits standard quantum limit scaling of the ultimate precision limit in terms of phase estimation, whereas an equally weighted superposition of Goldbach representations exhibits Heisenberg scaling. These results provide a quantum-optical realization of Goldbach representations and relate their statistics of with quantum metrology.
Introduction
The story of Goldbach’s conjecture began nearly three centuries ago, with an exchange of letters between Christian Goldbach to Leonhard Euler on June 7 and June 30, 1742. From this correspondence emerged what is now known as Goldbach’s conjecture [1, 2]: every even integer greater than two can be expressed as the sum of two primes, namely,
where denotes the set of integers greater than or equal to 2, and denotes the set of all primes.
Despite its remarkably simple formulation, the conjecture has remained unsolved for more than 280 years, making it one of the oldest and most celebrated open problems in number theory, which has challenged generations of mathematicians and inspired several major breakthroughs in analytic number theory. In 1923, Hardy and Littlewood proposed an asymptotic formula for the number of Goldbach representations via the so-called circle method [3], providing a quantitative prediction for how frequently such prime decompositions should occur. In 1937, Vinogradov achieved a major breakthrough by proving that every sufficiently large odd integer can be expressed as the sum of three primes [4]. Around the same period, employing Vinogradov’s methods, Chudakov, van der Corput, and Estermann independently proved that almost all even integers can be expressed as the sum of two primes [5, 6, 7].
Progress toward the original binary conjecture continued with Chen’s celebrated theorem in 1973, showing that every sufficiently large even integer can be written as the sum of a prime and a number having at most two prime factors via sieve methods [8]. More recently, Helfgott completed the proof of the Goldbach’s weak conjecture, establishing that every odd number greater than five is the sum of three primes [9, 10]. Meanwhile, extensive numerical computations have verified the binary Goldbach conjecture for all even integers up to [11]. However, after nearly three centuries of mathematical effort, and despite overwhelming analytical and numerical evidence, the original binary Goldbach conjecture remains unproven.
Goldbach’s conjecture has also inspired research in quantum physics, where various approaches have been proposed to explore the properties of prime numbers by mapping number-theoretic problems onto quantum states and dynamics. For example, Sanchis-Lozano et al. studied Goldbach’s conjecture from the perspective of quantum field theory by introducing fermionic fields associated with prime numbers [12]. Latorre and Sierra introduced quantum states that encode prime numbers and explored their applications to Goldbach’s conjecture [13]. They also investigated the entanglement properties of these states and their connection to prime distributions [14], followed by further studies by García-Martín et al. [15]. More recently, Marchukov et al. proposed a quantum search method based on driven atoms to identify Goldbach partitions [16], while Cassettari et al. studied number-theoretic structures using atomic systems with specially designed potentials [17]. These studies show how quantum systems can offer new ways to explore problems in number theory. Most of them, however, rely on quantum states that encode prime numbers, quantum algorithms, or specially designed atomic systems.
In this paper, we take a different approach by considering a stochastic simple beam splitter (BS), whose photon-number statistics naturally describe the partitions of an integer. By dealing with the BS transmissivity (or reflectivity) as a uniformly distributed random variable, we establish a direct connection between the numbers of Goldbach representations and measurable photon-counting statistics. We then employ the Hardy–Littlewood asymptotic formula to study the contribution of the numbers of Goldbach representations to the quantum metrology [18, 19, 20] by focusing on the scaling of quantum Fisher information (QFI) [21, 22, 23, 24, 25, 26, 27] for phase estimation, which quantifies the ultimate estimation precision limit characterized by the quantum Cramér–Rao bound. This elucidates a relation between the statistical properties of prime numbers and the ultimate precision limits of quantum parameter estimation.
This paper is organized as follows. In Sec. II, we introduce the framework for mapping Goldbach’s conjecture onto a quantum-optical system consisting of a beam splitter (BS) and projective measurements onto prime states. Then, in Sec. III, we present our main results by establishing the connection between Goldbach representations and photon-counting statistics for even-number input Fock states. We further introduce the post-measurement state, which we call the beam-splitter (BS) Goldbach state, and investigate its metrological properties through phase estimation. In particular, we compare the scaling of the QFI for the BS Goldbach state with that of the equally weighted Goldbach state, followed by the concluding remarks in Sec. IV. Throughout this paper, we set and write as the identity operator.
Setup
Let us consider a stochastic beam splitter (BS) with a random transmissivity
distributed uniformly. Denoting the input field operators of the two modes by and , and the corresponding output field operators by and , the unitary transformation describing the BS is given by [28, 29, 30, 31]
where denotes an arbitrary phase. We now inject an even-number Fock state into mode 1 and the vacuum state into mode 2,
The resulting output state is then given by (see Figure 1)
Figure 1. Splitting of photons by a stochastic beam splitter (BS) with a random transmissivity uniformly distributed. Here, () and () denote the input (output) field operators for modes 1 and 2, respectively. An even-number Fock state is injected into mode 1, while mode 2 is initialized in the vacuum state , resulting in the output state .
where the probability amplitude is defined as
Main Results
Here, we present our main results by considering the projector onto the prime subspace, which we call prime projectors, as [32]
We define as the set of primes satisfying the Goldbach representations of ,
Here, note that our definition of already accounts for the distinction between the ordered representations and , which is different from Goldbach representations. If we define as the number of such primes , then it is obvious that is also equivalent to the number of Goldbach representations [33].
Goldbach Representations via Photon Counting
Applying the tensor-product projector onto the prime subspaces of the two output modes yields
where each state encodes a Goldbach representation of . If Goldbach’s conjecture were to fail for a given even integer , then , and consequently . The total probability of obtaining a Goldbach representation conditioned on is therefore
where
The phase does not appear in this probability because
Here, because is uniformly distributed and
by the law of total probability, the probability that the even natural number is represented by the sum of two ordered prime numbers, which we call Goldbach probability, is given by
where is the total number of representations in the sum of two non-negative integers [34].
Note that by defining as
becomes a density matrix describing a quantum state; therefore, is a measurable probability, is a measurable probability
so that the number of Goldbach representations can also be measurable,
This allows one to map the quantitative Goldbach conjecture on a measurable platform with photon counting.
Metrological Scaling from Goldbach Prime Statistics
Case 1: Standard Quantum Limit
First, assuming that Goldbach’s conjecture holds and fixing the BS transmissivity , we consider the post-measurement state, which we call beam-splitter (BS) Goldbach state,
where
with the normalization condition
We then apply the phase shift
generated by
The QFI for estimating from is
where
Using Eqs. (18) and (22), we obtain
where, for any function , we define
Next, we analyze the asymptotic scaling of for large . The probability distribution is explicitly given by
By the central limit theorem, the binomial distribution approaches a Gaussian for asymptotically large ,
with
Thus, is sharply concentrated around
To evaluate the denominator, we employ the Hardy–Littlewood asymptotic formula [1, 2, 3],
where we defined
where
is the so-called twin prime constant. More specifically, we assume the refined Hardy–Littlewood density for weighted Goldbach sums,
Under this assumption, the sum of a sufficiently smooth function over the Goldbach representations can be approximated asymptotically by
It follows that the denominator can be approximately written as
Since the Gaussian approximation to is sharply localized around
with a width of order , we have
Therefore, to leading order, the denominator can be approximately written as
where we have used
This approximation follows because, for fixed and asymptotically large , the distribution is sharply localized around inside the interval . Consequently, this does not modify the leading-order Gaussian envelope, and we may write
Therefore, to leading order, the variance of remains
Hence, from Eq. (25), for fixed , the asymptotic scaling of the QFI is
Then, the quantum Cramér–Rao bound on the uncertainty of an unbiased estimator of is given by
corresponding to the standard quantum limit (SQL).
Case 2: Heisenberg Limit
Let us consider the equally weighted Goldbach state,
Applying the phase shift in Eq. (21), the QFI for estimating from is given by
where
Using Eq. (22), we obtain
where, for any function , we define
We now evaluate the asymptotic scaling of for large . Since
we have
Therefore,
which gives
For asymptotically large , we further have
In the asymptotic limit , the leading order becomes (See Appendix A for detailed derivation)
which follows that
Therefore, from Eqs. (54) and (57), we obatin
Finally, using Eq. (49), the QFI of the equally weighted Goldbach state asymptotically scales as
Then, the quantum Cramér–Rao bound on the uncertainty of an unbiased estimator of is given by
corresponding to the Heisenberg limit.
Numerical Example
We consider the case of 50 : 50 BS, i.e. for even-number Fock state of . First, we illustrate the relation between and in Figure 2. Then, we compare with
Figure 2. Plot of number of Goldbach representations for .
and by plotting their relation with , which is illustrated in Figure 3. In Figure 3, the green and pink
Figure 3. Comparison of the QFI of the BS Goldbach state, , at , and the equally weighted Goldbach state, , for in the logarithmic scale. The green and pink dots represent and , respectively. The black dashed line shows the asymptotic prediction , while the black solid line represents . The equally weighted Goldbach state exhibits quadratic QFI scaling, in contrast to the linear scaling of the BS Goldbach state.
dots represent and , the QFIs of the BS Goldbach state and the equally weighted Goldbach state, respectively. The black dashed and solid line correspond to the linear asymptotic behavior and the
quadratic asymptotic behavior on a logarithmic scale, respectively. As shown in Figure 3, the asymptotic predictions well align with the behaviors of the plots of the exact QFI values. These results indicate that a greater potential precision for phase estimation can be achieved in the Heisenberg limit with equally weighted Goldbach state.
For completeness, in Appendix B, we also examine the case for the single-mode squeezed state, which is the superposition of the even-number Fock state.
Conclusion
We have established a quantum-optical framework that connects Goldbach representations with photon-number statistics. By injecting an even-number Fock state through a stochastic beam splitter and projecting the two output modes onto prime subspaces, we demonstrate that the output photon-number configurations correspond directly to Goldbach representations. Then, averaging the total probability of getting Goldbach representations over a uniformly distributed beam-splitter transmissivity, we show that the number of the Goldbach representations can be obtained from the measurable photon-counting probability.
We further investigated the quantum metrological properties of quantum states constructed from Goldbach representations. For the post-measurement Goldbach state generated at fixed beam-splitter transmissivity, employing the Hardy–Littlewood asymptotic density, we demonstrate that the corresponding quantum Fisher information for phase estimation scales linearly with the photon number, exhibiting the scaling of the standard quantum limit. In contrast, with an equally weighted coherent superposition of all Goldbach representations, the corresponding quantum Fisher information grows quadratically with the photon number, leading to Heisenberg scaling.
These results show that the arithmetic structure of Goldbach representations can acquire a direct operational meaning in quantum optics. In particular, the metrological scaling is determined by how the different Goldbach representations are coherently weighted. Our framework therefore provides a simple connection between the statistical structure of Goldbach representations, photon-number statistics, and the ultimate precision limit, which can be studied within experimentally motivated quantum systems.
Acknowledgments
A.S. gratefully acknowledges his late grandfather, who introduced him to Goldbach’s conjecture when he was in fifth grade and inspired his enduring interest in this longstanding mathematical problem. A.S. also acknowledges U.S. NSF under Grant No. OSI-2328774. A.S. also acknowledges PHY-2425180 and Cooperative Agreement PHY-2019786. M.O. was supported by the NSF Grant No. PHY-2309271.
Derivation of Eq. (56)
We consider the integral
Introducing the change of variable , we obtain
Let us define
Our objective is to show that
To establish this result, we divide the integration interval into three regions:
where is fixed and is sufficiently large . We first take the asymptotic limit with fixed , followed by .
Accordingly, we decompose
where
Central region
We first consider , where . For fixed , both and are bounded independently of . Consequently,
as . Therefore, the integral converges uniformly to on the region , which yields
Then, taking , we obtain
Left Endpoint Region
We next consider , where . Since is not uniformly small near , the approximation used in the central region cannot be applied directly. Returning to the original variable , we have
For fixed and sufficiently large , the integration interval is nonempty, and
Hence, both logarithms are positive. Moreover,
which implies
The remaining integral can be evaluated asymptotically using L’Hôpital’s rule: for ,
Therefore,
as with fixed . Substituting this asymptotic expression into Eq. (77), we find
Then, taking gives
Because , we can conclude
Right Endpoint Region.
Finally, we consider , where . Introducing , we obtain
For and sufficiently large , both denominator factors are positive:
Furthermore, since ,
It follows that
Applying Eq. (81) with , we conclude that
Because , we can conclude
Asymptotic Result
Combining Eqs. (73), (81), and (88), we conclude that the endpoint contributions vanish in the successive limits and , so that we can obtain
which results in
Single-Mode Squeezed State Input
In this appendix, we extend our analysis of Goldbach-representation statistics and QFI to a single-mode squeezed vacuum state, which is a superposition of even-number Fock states [31],
where
with . We consider the input state incident on the beam splitter (BS) described by Eq. (3). The resulting two-mode output state is
Goldbach Representation Statistics
To consider the Goldbach representations in this scenario, we need to include the case of for convenience; therefore, we have
so that we need to impose
Then, the probability of detecting a Goldbach representation in the output modes is therefore
where we have used Eqs. (95) and (96). Here, is the probability that the input squeezed vacuum contains photons, while is the conditional probability of detecting a Goldbach representation at the BS output, given a total photon number of . Finally, averaging over the BS transmissivity yields
where we have used Eq. (14).
Quantum Fisher Information
For a fixed BS transmissivity , the normalized post-measurement state becomes
Note that this state does not require to assume that Goldbach’s conjecture is true because as we take into account all even numbers. Introducing the normalized amplitudes
we can express the post-measurement state as
By Eq. (97), these amplitudes satisfy the normalization condition
Applying the phase-shift operator defined in Eq. (21), the quantum Fisher information (QFI) for estimating from is
where
Using the Hamiltonian in Eq. (22), we obtain
where the variance of an arbitrary function with respect to the probability distribution is defined as
Particularly, when , we have
so that
Therefore, we have
From Eq. (51), because
we have
so that the QFI can be simply given by
References
- [1]R. Crandall and C. Pomerance, Prime numbers: a computational perspective (Springer, 2005).
- [2]P. Pollack, Not always buried deep: A second course in elementary number theory (American Mathematical Soc., 2009).
- [3]G. H. Hardy and J. E. Littlewood, Some problems of ‘partitio numerorum’; III: On the expression of a number as a sum of primes, Acta Math. 44, 1 (1923).
- [4]I. M. Vinogradov, Representation of an Odd Number as the Sum of Three Primes, Dokl. Akad. Nauk SSSR 15, 6 (1937).
- [5]N. G. Chudakov, On the Goldbach Problem, Dokl. Akad. Nauk SSSR 17, 335 (1937).
- [6]J. G. van der Corput, Sur l’hypothèse de Goldbach pour presque tous les nombres pairs, Acta Arith. 2, 266 (1936).DOI
- [7]T. Estermann, On Goldbach’s Problem: Proof That Almost All Even Positive Integers Are Sums of Two Primes, Proc. Lond. Math. Soc. s2-44, 307 (1938).DOI
- [8]J.-R. Chen, On the Representation of a Larger Even Integer as the Sum of a Prime and the Product of at Most Two Primes, Sci. Sin. 16, 157 (1973).
- [9]H. A. Helfgott, The Ternary Goldbach Conjecture Is True, arXiv preprint arXiv:1312.7748 (2013).arxiv.org/abs/1312.7748
- [10]H. A. Helfgott, The ternary Goldbach problem, arXiv preprint arXiv:1501.05438 .arxiv.org/abs/1501.05438
- [11]T. Oliveira e Silva, S. Herzog, and S. Pardi, Empirical Verification of the Even Goldbach Conjecture and Computation of Prime Gaps up to 4 · 10¹⁸, Math. Comput. 83, 2033 (2014).DOI
- [12]M.-A. Sanchis-Lozano, J. F. Barbero G., and J. Navarro-Salas, Prime Numbers, Quantum Field Theory and the Goldbach Conjecture, Int. J. Mod. Phys. A 27, 1250136 (2012).
- [13]J. I. Latorre and G. Sierra, Quantum Computation of Prime Number Functions, Quantum Inf. Comput. 14, 577 (2014).arxiv.org/abs/1302.6245
- [14]J. I. Latorre and G. Sierra, There is entanglement in the primes, Quantum Inf. Comput. 15, 622 (2015).arxiv.org/abs/1403.4765
- [15]D. García-Martín, E. Ribas, S. Carrazza, J. I. Latorre, and G. Sierra, The Prime State and Its Quantum Relatives, Quantum 4, 371 (2020).
- [16]O. V. Marchukov, A. Trombettoni, G. Mussardo, and M. Olshanii, Achieving Quantum Advantage in a Search for Violations of the Goldbach Conjecture, with Driven Atoms in Tailored Potentials, SciPost Phys. Core 8, 074 (2025).DOI
- [17]D. Cassettari, O. V. Marchukov, B. Carruthers, H. Kendell, J. Ruhl, B. De Mitchell Pierre, C. Zara, C. A. Weidner, A. Trombettoni, M. Olshanii, and G. Mussardo, Quantum Dynamics of Atoms in Number-Theory- Inspired Potentials, Phys. Rev. A 113, 032216 (2026).arxiv.org/abs/2410.13988
- [18]V. Giovannetti, S. Lloyd, and L. Maccone, Quantum metrology, Phys. Rev. Lett. 96, 010401 (2006).
- [19]S. Pirandola, B. R. Bardhan, T. Gehring, C. Weedbrook, and S. Lloyd, Advances in photonic quantum sensing, Nat. Photon. 12, 724 (2018).DOI
- [20]C. L. Degen, F. Reinhard, and P. Cappellaro, Quantum sensing, Rev. Mod. Phys. 89, 035002 (2017).DOI
- [21]J. Liu, X.-X. Jing, and X. Wang, Quantum metrology with unitary parametrization processes, Sci. Rep. 5, 8565 (2015).DOI
- [22]J. Liu, H. Yuan, X.-M. Lu, and X. Wang, Quantum Fisher information matrix and multiparameter estimation, J. Phys. A: Math. Theor. 53, 023001 (2020).
- [23]M. Hayashi, Quantum Information Theory: Mathematical Foundation (2nd edition) (Springer, 2004).
- [24]B. Koczor, S. Endo, T. Jones, Y. Matsuzaki, and S. C. Benjamin, Variational-state quantum metrology, New J. Phys. 22, 083038 (2020).DOI
- [25]J. L. Beckey, M. Cerezo, A. Sone, and P. J. Coles, Variational quantum algorithm for estimating the quantum fisher information, Phys. Rev. Research 4, 013083 (2022).
- [26]M. Cerezo, A. Sone, J. L. Beckey, and P. J. Coles, Sub-quantum Fisher information, Quantum Sci. Technol. 6, 035008 (2021).DOI
- [27]A. Sone, M. Cerezo, J. L. Beckey, and P. J. Coles, A generalized measure of quantum fisher information, Phys. Rev. A 104, 062602 (2021).DOI
- [28]R. A. Campos, B. E. A. Saleh, and M. C. Teich, Quantum-mechanical lossless beam splitter: SU(2) symmetry and photon statistics, Phys. Rev. A 40, 1371 (1989).pubmed.ncbi.nlm.nih.gov/9902272
- [29]S. Prasad, M. O. Scully, and W. Martienssen, A quantum description of the beam splitter, Opt. Commun. 62, 139 (1987).DOI
- [30]H. Fearn and R. Loudon, Quantum theory of the lossless beam splitter, Opt. Commun. 64, 485 (1987).DOI
- [31]C. C. Gerry, P. L. Knight, and M. Beck, Introductory Quantum Optics, Vol. 1 (Cambridge university press Cambridge, 2005).
- [32]Note that for the input state |2n, 0⟩, the prime projector Πₚ can be truncated at the largest prime less than 2n. Nevertheless, we retain the general definition of Πₚ throughout this paper to accommodate input states with indefinite photon numbers, such as the single-mode squeezed vacuum considered in Appendix B.
- [33]For example, for 2n = 10, we have 10 = 5 + 5 = 3 + 7 = 7 + 3. Thus, the number of primes satisfying Goldbach’s conjecture and equivalently the number of Goldbach representations for 2n = 10 are |G₂n| = 3, where we distinguish the ordered representations 3 + 7 and 7 + 3.
- [34]For example, 10 has 2 × 5 + 1 = 11 ways to represent, i.e., 10 = 0 + 10, 1 + 9, 2 + 8, 3 + 7, 4 + 6, 5 + 5, 6 + 4, 7 + 3, 8 + 2, 9 + 1, 10 + 0.


