Introduction
Many photonic quantum technologies rely on interference between photons whose internal states cannot be perfectly controlled. Unwanted partial distinguishability can introduce errors in linear-optical quantum gates [1 ] , reduce the sensitivity of quantum-enhanced interferometry [2 ] and reduce quantum computational advantage schemes such as Boson Sampling to efficient classical computations [3 ] . Characterizing these effects is therefore essential for assessing photonic experiments and improving photonic devices. Yet the internal degrees of freedom responsible for them are often inaccessible: photons may differ in polarization, frequency, or arrival time, while the available interferometers and detectors manipulate and resolve only spatial modes. The observed interference patterns carry information about the internal states, but extracting that information requires measurements and reconstruction methods adapted to this restricted access.
The theoretical description of partial distinguishability was developed in seminal works [4 , 5 ] . In these works it was observed that, although Hong–Ou–Mandel visibilities characterize pairwise interference, multiphoton experiments also depend on relational information involving larger groups of photons. For independent preparations, this information is encoded in Bargmann invariants , the multivariate traces Tr ( ρ 1 ⋯ ρ k ) \operatorname{Tr}(\rho_1 \cdots\rho_k) Tr ( ρ 1 ⋯ ρ k ) of the individual internal states { ρ i } \{\rho_i\} { ρ i } [6 ] . For pure states, these quantities are cyclic products of inner products; their arguments are the collective phases that remain unchanged when individual state vectors are rephased [7 ] . Experiments have demonstrated how such phases alter multiphoton interference without changing pairwise visibilities [8 , 9 ] , and how mixedness introduces further features beyond the two-photon description [10 ] .
These findings have motivated the development of experimentally accessible ways to characterize multiphoton sources without resolving their internal states. Indicators of genuine multiphoton indistinguishability and their experimental implementations quantify the collective character of interference within specified incoherent models for the photon sources [11 , 12 , 13 ] , while bunching and photon-number fluctuations provide further tests that tolerate imperfect control of the interferometer [14 ] . More recently, protocols using Fourier interferometers have reduced the measurement cost of such benchmarks [15 , 16 ] for restricted classes of input states, and finally operational certification methods have established guarantees on the proximity to perfectly indistinguishable preparations [17 ] . These methods can certify whether multiple photons from a source are sufficiently indistinguishable for a given purpose. A complementary task, which has so far attracted little attention, is to fully recover the information needed to describe partially distinguishable photons themselves, including their collective phases, and to quantify the accuracy of the resulting predictions.
Rigorous quantum-state tomography provides a model for this task: a reconstruction of a quantum state should come with a quantitative relation between the number of collected samples and the estimation error. For finite-dimensional systems, including registers of distinguishable qubits and qudits, sample-complexity bounds quantify the resources needed to achieve a prescribed trace-distance accuracy [18 , 19 ] . Low-rank tomography and compressed sensing further exploit structure to reduce measurement requirements while controlling statistical error [20 , 21 ] . Similar guarantees have been developed for energy-constrained continuous-variable systems and, in particular, bosonic Gaussian states [22 , 23 ] .
For partially distinguishable photons, the corresponding target is the external state [17 , 24 , 25 , 26 ] . It is obtained by tracing out the internal degrees of freedom from the physical multiphoton state, leaving a density operator on the external, or path, degrees of freedom. This state, also called the visible state or accessible state, determines the statistics of every experiment whose operations and measurements are insensitive to the internal degrees of freedom. Consequently, reconstructing it in trace distance controls the total-variation error of all such measurement statistics. Existing work established that reconstruction of internal degrees of freedom can be carried out in principle [6 ] from estimates of Bargmann invariants. What has been missing in this setting is a reconstruction guarantee that connects finite-data estimates obtained without resolving the internal degrees of freedom to the trace-distance accuracy of the associated external state. This reconstruction problem and our two experimental approaches are illustrated in Figure 1 .
Figure 1. A pictorial description of the main problem studied together with the key results of the paper. Left: For n n n single photons with pure internal states ∣ ψ 1 ⟩ , … , ∣ ψ n ⟩ \lvert\psi_1\rangle,\ldots,\lvert\psi_n\rangle ∣ ψ 1 ⟩ , … , ∣ ψ n ⟩ , all relational information governing multiphoton interference is encoded in the n × n n \times n n × n Gram matrix G i j = ⟨ ψ i ∣ ψ j ⟩ G_{ij}=\langle\psi_i\vert\psi_j\rangle G ij = ⟨ ψ i ∣ ψ j ⟩ . The tomographic objective is to reconstruct G G G without resolving the internal degrees of freedom. Right: Two complementary experimental protocols to extract the needed Bargmann invariants: (a) Fourier method: Uses k k k -mode Fourier interferometers F k F_k F k to directly measure cyclic invariants Tr [ ψ k 1 ⋯ ψ k l ] \operatorname{Tr}[\psi_{k_1}\cdots\psi_{k_l}] Tr [ ψ k 1 ⋯ ψ k l ] , see Protocol 1. (b) One-shot method: Collects output samples from a single Haar-random interferometer U ∼ Haar ( m ) U\sim\operatorname{Haar}(m) U ∼ Haar ( m ) to estimate photon-number 2-body and 3-body correlators, obtaining the invariants via linear inversion, see Protocol 2. Both protocols reconstruct an estimate G ^ \widehat{G} G through classical postprocessing.
In this work, we fill in this gap by developing a reconstruction theory for independently prepared photons with pure or nearly pure internal states, based solely on linear optics and photon-number resolving detectors. The protocols are furthermore efficient (in number of photons, irrespectively of the dimension and character of internal degrees of freedom) under explicit assumptions on the internal state overlaps. For n n n photons entering distinct input modes with pure internal states ∣ ψ 1 ⟩ , … , ∣ ψ n ⟩ \lvert\psi_1\rangle,\ldots,\lvert\psi_n\rangle ∣ ψ 1 ⟩ , … , ∣ ψ n ⟩ , all relevant information is contained in their Gram matrix
G i j = ⟨ ψ i ∣ ψ j ⟩ , G ⪰ 0 , G i i = 1. (1) G_{ij}=\langle\psi_i\vert\psi_j\rangle,\qquad G\succeq0,\qquad G_{ii}=1. \tag*{(1)} G ij = ⟨ ψ i ∣ ψ j ⟩ , G ⪰ 0 , G ii = 1. (1)
In particular, the external state, which specifies the outcome probabilities of linear optical experiments with photon number detectors, is determined by G G G . Independent phase choices for the vectors transform G G G by conjugation with a diagonal unitary and leave the external state unchanged. Our tomography procedure reconstructs G G G up to these unphysical phase choices from O ( n 2 ) O(n^2) O ( n 2 ) selected Bargmann invariants (Sec. III C). For pure inputs, our Fourier measurement method achieves Frobenius error ∥ G − G ^ ∥ F ≤ δ \lVert G-\widehat{G}\rVert_{\mathrm{F}}\leq\delta ∥ G − G ∥ F ≤ δ at fixed confidence using O ( n 4 / δ 2 ) O(n^4/\delta^2) O ( n 4 / δ 2 ) total experimental runs and polynomial classical postprocessing, provided the required pairwise and cycle invariants have magnitudes bounded below by a positive constant (Proposition 2). More generally, we give explicit bounds retaining the dependence on these invariants and on the measurement variances, but which are completely independent of the internal Hilbert-space dimension (Appendix B1).
The reconstruction guarantee has a direct operational meaning. We show that bosonic symmetrization acts as a mechanism translating a reconstruction for the internal state Gram matrix G G G [Eq. (1) ] into a reconstruction of the state Ω e x t ( G ) \Omega_{\mathrm{ext}}(G) Ω ext ( G ) of external degrees of freedom, leading to a bound on the total variation distance (TVD) of any linear-optical experiment insensitive to internal degrees of freedom (Proposition 1 and Corollary 1):
TVD ( p M ( G ) , p M ( G ^ ) ) ≤ 1 2 ∥ Ω e x t ( G ) − Ω e x t ( G ^ ) ∥ 1 ≤ n 2 ∥ G − G ^ ∥ F , (2) \operatorname{TVD}\bigl(p_{\mathcal{M}}(G),p_{\mathcal{M}}(\widehat{G})\bigr)\leq\frac{1}{2}\lVert\Omega_{\mathrm{ext}}(G)-\Omega_{\mathrm{ext}}(\widehat{G})\rVert_1
\leq\frac{\sqrt{n}}{2}\lVert G-\widehat{G}\rVert_{\mathrm{F}}, \tag*{(2)} TVD ( p M ( G ) , p M ( G ) ) ≤ 2 1 ∥ Ω ext ( G ) − Ω ext ( G ) ∥ 1 ≤ 2 n ∥ G − G ∥ F , (2)
where p M p_{\mathcal{M}} p M is the outcome distribution of any measurement on the external degrees of freedom and the Gram matrices are compared after fixing their phase choices. Crucially, this supplies the same type of operational accuracy guarantee as trace-distance tomography for a system of distinguishable particles, as the external state Ω e x t ( G ) \Omega_{\mathrm{ext}}(G) Ω ext ( G ) is the relevant object for photonic experiments. The preceding sample bound gives O ( n 5 / δ 2 ) O(n^5/\delta^2) O ( n 5 / δ 2 ) runs for external-state trace-distance accuracy δ \delta δ under the same assumptions (Theorem 1 and the discussion following Theorem 2). A complementary Ω ( n 2 / δ 2 ) \Omega(n^2/\delta^2) Ω ( n 2 / δ 2 ) worst-case sample lower bound shows that quadratic growth with photon number is unavoidable for general external-state reconstruction, even with arbitrary collective measurements on the external degrees of freedom (Theorem 3).
We extend the analysis to nearly pure product preparations ρ = ρ 1 ⊗ ⋯ ⊗ ρ n \rho=\rho_1\otimes\cdots\otimes\rho_n ρ = ρ 1 ⊗ ⋯ ⊗ ρ n , separating finite-sample statistical error from the systematic effect of impurity. The reconstructed Gram matrix approximates that of the dominant pure components of the individual states. If Tr ( ρ i 2 ) ≥ 1 − ε \operatorname{Tr}(\rho_i^2)\geq1-\varepsilon Tr ( ρ i 2 ) ≥ 1 − ε , replacing the actual source by these pure components contributes at most n ε n\varepsilon n ε to the external-state trace distance [Eq. (23) ]. Combining this approximation with our reconstruction bounds gives operational guarantees that remain meaningful for imperfectly pure sources (Theorem 2).
To acquire the reconstruction data, we develop two complementary strategies using passive linear optics and photon counting (Figure 1 ). The first uses Fourier interferometers to measure the selected Bargmann invariants directly [27 ] , including higher-order invariants when the overlap structure requires them (Protocol 1). The second obtains second- and third-order invariants from photon-number correlations measured at the output of a single generic interferometer, provided the associated linear systems are invertible (Protocol 2). These orders suffice whenever one reference photon has nonzero overlap with every other photon and the use of a single configuration reduces the need for experimental reconfiguration. The trade-off is that the correlations must be converted into invariants by linear inversion, whose conditioning affects the reconstruction error. We prove conditioning bounds for the second-order inversion in a dilute regime (Theorem 4) and assess both inversion problems numerically, including at substantially smaller mode numbers (Appendix § 1.2.3 ).
The remainder of the paper is organized as follows. Section II introduces the description of partial distinguishability and the external state. Section III presents the reconstruction protocol, its error guarantees, and the sample-complexity lower bound. Section IV describes the Fourier and one-shot measurement methods. The numerical results then compare the two methods for pure and mixed inputs, and the concluding section discusses open questions. Appendices § 1.2.1 –§ 2.4 contain the proofs and further analyses of estimation errors, inversion conditioning, photon-number correlators, indistinguishability certification, and linear-system reduction.
Partial distinguishability in linear optics
Consider n n n photons entering distinct input ports of an m m m -mode passive interferometer. The paths through the interferometer are the external degrees of freedom, with Hilbert space H e x t ≃ C m \mathcal{H}_{\mathrm{ext}}\simeq\mathbb{C}^{m} H ext ≃ C m and basis ∣ 1 ⟩ , … , ∣ m ⟩ \lvert1\rangle,\ldots,\lvert m\rangle ∣ 1 ⟩ , … , ∣ m ⟩ . Each photon also carries internal degrees of freedom, such as its temporal or spectral wave packet and polarization, which the interferometer does not manipulate and the detectors do not resolve. Fix an orthonormal basis { ∣ α ⟩ } \{\lvert\alpha\rangle\} {∣ α ⟩} of the internal Hilbert space H i n t \mathcal{H}_{\mathrm{int}} H int . The creation operator a ^ j , α † \hat{a}^{\dagger}_{j,\alpha} a ^ j , α † then creates a photon in mode j j j with internal basis state ∣ α ⟩ \lvert\alpha\rangle ∣ α ⟩ , as in the description of Ref. [17 ] .
A passive interferometer described by a single-particle unitary U ∈ U ( m ) U\in\mathrm{U}(m) U ∈ U ( m ) mixes the modes while preserving the internal label:
U ^ a ^ j , α † U ^ † = ∑ k = 1 m U k j a ^ k , α † . (3) \hat{U}\hat{a}^{\dagger}_{j,\alpha}\hat{U}^{\dagger}=\sum_{k=1}^{m}U_{kj}\hat{a}^{\dagger}_{k,\alpha}. \tag*{(3)} U ^ a ^ j , α † U ^ † = k = 1 ∑ m U k j a ^ k , α † . (3)
The detectors measure the total occupation of each output mode, n ^ j = ∑ α a ^ j , α † a ^ j , α \hat{n}_j=\sum_{\alpha}\hat{a}^{\dagger}_{j,\alpha}\hat{a}_{j,\alpha} n ^ j = ∑ α a ^ j , α † a ^ j , α . Although the internal states are neither manipulated nor observed, they determine the interference between alternative many-photon paths [4 , 5 , 28 ] .
To identify the state accessible in such experiments, we keep the external and internal tensor factors explicit. Suppose the occupied input ports are 1 , … , n 1,\ldots,n 1 , … , n , and write their ordered list as ∣ i 0 ⟩ = ∣ 1 ⟩ ⊗ ⋯ ⊗ ∣ n ⟩ \lvert i_0\rangle=\lvert1\rangle\otimes\cdots\otimes\lvert n\rangle ∣ i 0 ⟩ = ∣ 1 ⟩ ⊗ ⋯ ⊗ ∣ n ⟩ . An internal density operator ρ \rho ρ on H i n t ⊗ n \mathcal{H}_{\mathrm{int}}^{\otimes n} H int ⊗ n describes the preparations associated with these input ports; the tensor factors label ports, rather than distinguishable particles. Bosonic symmetry requires us to permute the external and internal factors together. With the convention P π ∣ x 1 , … , x n ⟩ = ∣ x π − 1 ( 1 ) , … , x π − 1 ( n ) ⟩ P_\pi\lvert x_1,\ldots,x_n\rangle=\lvert x_{\pi^{-1}(1)},\ldots,x_{\pi^{-1}(n)}\rangle P π ∣ x 1 , … , x n ⟩ = ∣ x π − 1 ( 1 ) , … , x π − 1 ( n ) ⟩ , the corresponding embedding of an internal state ∣ χ ⟩ \lvert\chi\rangle ∣ χ ⟩ is [17 ]
V ∣ χ ⟩ = 1 n ! ∑ π ∈ S n P π e x t ∣ i 0 ⟩ ⊗ P π i n t ∣ χ ⟩ . (4) V\lvert\chi\rangle=\frac{1}{\sqrt{n!}}\sum_{\pi\in S_n}P_\pi^{\mathrm{ext}}\lvert i_0\rangle\otimes P_\pi^{\mathrm{int}}\lvert\chi\rangle. \tag*{(4)} V ∣ χ ⟩ = n ! 1 π ∈ S n ∑ P π ext ∣ i 0 ⟩ ⊗ P π int ∣ χ ⟩ . (4)
Here the superscripts specify the factors being permuted. Since the input ports are distinct, V V V is an isometry and Ω ( ρ ) = V ρ V † \Omega(\rho)=V\rho V^\dagger Ω ( ρ ) = V ρ V † is a normalized bosonic state. This construction allows arbitrary internal states, including mixed or correlated preparations.
The external state, also called the visible or accessible state [24 , 25 , 26 ] , is obtained by tracing out the internal degrees of freedom. It contains all information needed to predict experiments that act only on the external modes. In the orthonormal permutation basis ∣ σ ⟩ : = ∣ σ ( 1 ) , … , σ ( n ) ⟩ = P σ − 1 ∣ i 0 ⟩ \lvert\sigma\rangle:=\lvert\sigma(1),\ldots,\sigma(n)\rangle=P_{\sigma^{-1}}\lvert i_0\rangle ∣ σ ⟩ := ∣ σ ( 1 ) , … , σ ( n )⟩ = P σ − 1 ∣ i 0 ⟩ , it takes the form
Ω e x t ( ρ ) : = Tr i n t [ V ρ V † ] = 1 n ! ∑ σ , τ ∈ S n ∣ τ ⟩ ⟨ σ ∣ Tr [ ( P τ σ − 1 i n t ) † ρ ] . (5) \Omega_{\mathrm{ext}}(\rho):=\operatorname{Tr}_{\mathrm{int}}[V\rho V^\dagger]=\frac{1}{n!}\sum_{\sigma,\tau\in S_n}\lvert\tau\rangle\langle\sigma\rvert\operatorname{Tr}\left[\left(P_{\tau\sigma^{-1}}^{\mathrm{int}}\right)^\dagger\rho\right]. \tag*{(5)} Ω ext ( ρ ) := Tr int [ V ρ V † ] = n ! 1 σ , τ ∈ S n ∑ ∣ τ ⟩ ⟨ σ ∣ Tr [ ( P τ σ − 1 int ) † ρ ] . (5)
The permutation traces in this expression are the weights that enter the theory of partial distinguishability [5 ] .
For independent preparations, ρ = ρ 1 ⊗ ⋯ ⊗ ρ n \rho=\rho_1\otimes\cdots\otimes\rho_n ρ = ρ 1 ⊗ ⋯ ⊗ ρ n , each permutation trace factorizes over its disjoint cycles:
Tr [ ( P π i n t ) † ρ ] = ∏ ( i 1 ⋯ i ℓ ) ∈ cyc ( π ) Tr ( ρ i 1 ⋯ ρ i ℓ ) . (6) \operatorname{Tr}\left[\left(P_\pi^{\mathrm{int}}\right)^\dagger\rho\right]=\prod_{(i_1\cdots i_\ell)\in\operatorname{cyc}(\pi)}\operatorname{Tr}(\rho_{i_1}\cdots\rho_{i_\ell}). \tag*{(6)} Tr [ ( P π int ) † ρ ] = ( i 1 ⋯ i ℓ ) ∈ cyc ( π ) ∏ Tr ( ρ i 1 ⋯ ρ i ℓ ) . (6)
The cycle traces B c : = Tr ( ρ i 1 ⋯ ρ i ℓ ) B_c:=\operatorname{Tr}(\rho_{i_1}\cdots\rho_{i_\ell}) B c := Tr ( ρ i 1 ⋯ ρ i ℓ ) are Bargmann invariants : they describe relations among the preparations and are unchanged by a common unitary transformation of the internal states [6 ] . If every preparation is pure, ρ i = ∣ ψ i ⟩ ⟨ ψ i ∣ \rho_i=\lvert\psi_i\rangle\langle\psi_i\rvert ρ i = ∣ ψ i ⟩ ⟨ ψ i ∣ , these quantities are cyclic products of overlaps, B c = G i 1 i 2 ⋯ G i ℓ i 1 B_c=G_{i_1i_2}\cdots G_{i_\ell i_1} B c = G i 1 i 2 ⋯ G i ℓ i 1 , where
G i j : = ⟨ ψ i ∣ ψ j ⟩ , Tr [ ( P π i n t ) † ρ ] = ∏ i = 1 n G i , π ( i ) . (7) G_{ij}:=\langle\psi_i\vert\psi_j\rangle,\qquad\operatorname{Tr}\left[\left(P_\pi^{\mathrm{int}}\right)^\dagger\rho\right]=\prod_{i=1}^{n}G_{i,\pi(i)}. \tag*{(7)} G ij := ⟨ ψ i ∣ ψ j ⟩ , Tr [ ( P π int ) † ρ ] = i = 1 ∏ n G i , π ( i ) . (7)
Thus the n × n n\times n n × n Gram matrix determines the entire external state, irrespective of the dimension of H i n t \mathcal{H}_{\mathrm{int}} H int . Reconstructing it suffices to characterize all subsequent experiments that are insensitive to the internal degrees of freedom [4 , 6 ] .
The phases of the individual vectors have no physical meaning. Replacing ∣ ψ i ⟩ \lvert\psi_i\rangle ∣ ψ i ⟩ by e i φ i ∣ ψ i ⟩ e^{\mathrm{i}\varphi_i}\lvert\psi_i\rangle e i φ i ∣ ψ i ⟩ transforms G G G into D † G D D^\dagger G D D † G D , where D = diag ( e i φ 1 , … , e i φ n ) D=\operatorname{diag}(e^{\mathrm{i}\varphi_1},\ldots,e^{\mathrm{i}\varphi_n}) D = diag ( e i φ 1 , … , e i φ n ) , but leaves every Bargmann invariant and hence Ω e x t ( ρ ) \Omega_{\mathrm{ext}}(\rho) Ω ext ( ρ ) unchanged. The tomographic target is therefore the equivalence class
[ G ] = { D † G D : D diagonal unitary } . (8) [G]=\{D^\dagger G D:D\text{ diagonal unitary}\}. \tag*{(8)} [ G ] = { D † G D : D diagonal unitary } . (8)
For generic full-rank Gram matrices, this leaves ( n − 1 ) 2 (n-1)^2 ( n − 1 ) 2 real parameters. To choose a representative, consider the overlap graph : vertex i i i represents the preparation ∣ ψ i ⟩ \lvert\psi_i\rangle ∣ ψ i ⟩ , and distinct vertices i , j i,j i , j are joined by an undirected edge whenever G i j ≠ 0 G_{ij}\ne0 G ij = 0 . Within each connected component, choose a spanning tree , namely a connected subgraph that contains every vertex of that component and has no cycles. Starting from any root, choose the phases of successive state vectors so that the overlaps on all tree edges are real and positive. This fixes the phase convention within that component, up to a common phase that does not affect G G G .
Every edge outside the chosen trees closes a cycle with the unique tree path between its endpoints. The Bargmann invariant around this cycle determines the phase of that edge’s overlap once the tree overlaps have been made positive. Thus pairwise invariants ∣ G i j ∣ 2 \lvert G_{ij}\rvert^2 ∣ G ij ∣ 2 determine the overlap magnitudes, while higher-order invariants provide the remaining phase information. The next section develops the reconstruction protocol and shows how its Gram-matrix error controls the trace distance between external states.
The tomography protocol
Statement of the results
We will now describe the main result of this paper – an efficient experimental protocol that reconstructs the external state Ω e x t ( ρ ) \Omega_{\mathrm{ext}}(\rho) Ω ext ( ρ ) by measuring certain Bargmann invariants, provided ρ \rho ρ has high purity. We first describe the ideal case where the internal state ψ ∈ H i n t ⊗ n \psi\in\mathcal{H}_{\mathrm{int}}^{\otimes n} ψ ∈ H int ⊗ n is a pure product state:
ψ = ⨂ i = 1 n ψ i (9) \psi=\bigotimes_{i=1}^{n}\psi_i \tag*{(9)} ψ = i = 1 ⨂ n ψ i (9)
Any fixed choice of global phases allows to identify ψ \psi ψ with a sequence of vectors { ∣ ψ i ⟩ } i = 1 n \{\lvert\psi_i\rangle\}_{i=1}^{n} {∣ ψ i ⟩ } i = 1 n with the corresponding Gram matrix G i j = ⟨ ψ i ∣ ψ j ⟩ G_{ij}=\langle\psi_i\vert\psi_j\rangle G ij = ⟨ ψ i ∣ ψ j ⟩ . Combining (5) and (7) , the external state in the permutation basis ∣ σ ⟩ = ∣ σ ( 1 ) , … , σ ( n ) ⟩ \lvert\sigma\rangle=\lvert\sigma(1),\ldots,\sigma(n)\rangle ∣ σ ⟩ = ∣ σ ( 1 ) , … , σ ( n )⟩ is
Ω e x t ( ψ ) = 1 n ! ∑ σ , τ ∈ S n ∣ τ ⟩ ⟨ σ ∣ ∏ i = 1 n G σ ( i ) , τ ( i ) . (10) \Omega_{\mathrm{ext}}(\psi)=\frac{1}{n!}\sum_{\sigma,\tau\in S_n}\lvert\tau\rangle\langle\sigma\rvert\prod_{i=1}^{n}G_{\sigma(i),\tau(i)}. \tag*{(10)} Ω ext ( ψ ) = n ! 1 σ , τ ∈ S n ∑ ∣ τ ⟩ ⟨ σ ∣ i = 1 ∏ n G σ ( i ) , τ ( i ) . (10)
We propose a protocol that reconstructs an estimate of the true Gram matrix G G G based on a number of appropriate Bargmann invariants, measured using methods described in Section IV. The protocol is described in detail in Section III C and then analyzed in Section B.
Theorem 1. There exists a protocol that, given as input a photonic state with n n n photons with pure product internal state ψ \psi ψ with a Gram matrix G G G , measures O ( n 2 ) O(n^2) O ( n 2 ) Bargmann invariants using in total N N N experimental samples and outputs a estimate G ′ G' G ′ of the Gram matrix such that for a pure product state ψ ′ \psi' ψ ′ described by G ′ G' G ′ we have:
P ( ∥ Ω e x t ( ψ ) − Ω e x t ( ψ ′ ) ∥ 1 > δ ) ≤ A ( n ) N ⋅ 1 δ 2 . (11) \mathbb{P}\left(\left\|\Omega_{\mathrm{ext}}(\psi)-\Omega_{\mathrm{ext}}(\psi')\right\|_1>\delta\right)\leq\frac{A(n)}{N}\cdot\frac{1}{\delta^2}. \tag*{(11)} P ( ∥ Ω ext ( ψ ) − Ω ext ( ψ ′ ) ∥ 1 > δ ) ≤ N A ( n ) ⋅ δ 2 1 . (11) Here, the probability is taken over the sampling of Bargmann invariants and the factor A ( n ) A(n) A ( n ) depends on the measurement method, number of photons n n n and the magnitude of Bargmann invariants. In particular, the external state Ω e x t ( ψ ) \Omega_{\mathrm{ext}}(\psi) Ω ext ( ψ ) can be estimated with high probability to accuracy δ \delta δ in trace distance with O ( A ( n ) δ 2 ) O\left(\frac{A(n)}{\delta^2}\right) O ( δ 2 A ( n ) ) experimental samples.
The protocol is robust in the sense that it can handle also mixed states, provided they are sufficiently close to pure.
Theorem 2. The protocol from Theorem 1 works also for mixed states. Given as input a photonic state with n n n photons with mixed product internal state ρ = ⨂ i = 1 n ρ i \rho=\bigotimes_{i=1}^{n}\rho_i ρ = ⨂ i = 1 n ρ i , with tr ( ρ i 2 ) > 1 − ϵ \operatorname{tr}(\rho_i^2)>1-\epsilon tr ( ρ i 2 ) > 1 − ϵ , it measures O ( n 2 ) O(n^2) O ( n 2 ) Bargmann invariants using in total N N N experimental samples and outputs a Gram matrix G ′ G' G ′ of a pure product state ψ ′ \psi' ψ ′ such that:
P ( ∥ Ω e x t ( ρ ) − Ω e x t ( ψ ′ ) ∥ 1 > δ ) ≤ ( A ( n ) N + B ( n ) ϵ 2 ) ⋅ 1 δ 2 (12) \mathbb{P}\left(\left\|\Omega_{\mathrm{ext}}(\rho)-\Omega_{\mathrm{ext}}(\psi')\right\|_1>\delta\right)\leq\left(\frac{A(n)}{N}+B(n)\epsilon^2\right)\cdot\frac{1}{\delta^2} \tag*{(12)} P ( ∥ Ω ext ( ρ ) − Ω ext ( ψ ′ ) ∥ 1 > δ ) ≤ ( N A ( n ) + B ( n ) ϵ 2 ) ⋅ δ 2 1 (12) where probability is taken over the sampling of Bargmann invariants and A ( n ) , B ( n ) A(n),B(n) A ( n ) , B ( n ) depend on the measurement method, number of photons n n n and the magnitude of Bargmann invariants. In particular, the external state Ω e x t ( ψ ) \Omega_{\mathrm{ext}}(\psi) Ω ext ( ψ ) can be estimated with high probability to accuracy δ \delta δ in trace distance with O ( max { A ( n ) , B ( n ) } δ 2 ) O\left(\frac{\max\{A(n),B(n)\}}{\delta^2}\right) O ( δ 2 m a x { A ( n ) , B ( n )} ) experimental samples, assuming ϵ ≪ δ \epsilon\ll\delta ϵ ≪ δ .
Efficiency of the protocol. The number of samples required for reconstruction to desired accuracy δ \delta δ depends on the functions A ( n ) , B ( n ) A(n),B(n) A ( n ) , B ( n ) , which depend on the experimental setting. We give detailed formulas and discussion in Section B1. A sufficient, but not necessary, criterion for efficient (polynomial in n n n ) reconstruction is that all pairwise Bargmann invariants are bounded from below by a constant independent of n n n , B i j > c B_{ij}>c B ij > c . This holds e.g. for generic random states with fixed internal dimension and we expect it to be satisfied in natural experimental settings. In that case, using the Fourier method (see Section IV) gives A ( n ) = O ( n 5 ) , B ( n ) = O ( n 3 ) A(n)=O(n^5), B(n)=O(n^3) A ( n ) = O ( n 5 ) , B ( n ) = O ( n 3 ) , so reconstruction to accuracy δ \delta δ is possible with O ( n 5 δ 2 ) O\left(\frac{n^5}{\delta^2}\right) O ( δ 2 n 5 ) samples provided that single photon impurities are ϵ = O ( δ n 3 / 2 ) \epsilon=O\left(\frac{\delta}{n^{3/2}}\right) ϵ = O ( n 3/2 δ ) .
It is natural to ask what are the information theoretic limits on the number of samples required to reconstruct the external state. We show that even for pure states any protocol that with high probability correctly identifies the external state up to error δ \delta δ must use at least
N = Ω ( n 2 δ 2 ) N=\Omega\left(\frac{n^2}{\delta^2}\right) N = Ω ( δ 2 n 2 )
samples. Therefore, in certain regimes the above protocols are sample-optimal up to powers of n n n . We provide the proof in Section A2.
Theorem 3. Consider any estimator ρ ^ \hat{\rho} ρ ^ that receives N N N copies of an input state ρ G \rho_G ρ G , whose internal state is a pure product state ψ G \psi_G ψ G with unknown Gram matrix G G G , and can perform arbitrary collective measurements on the external degrees of freedom. If ρ ^ \hat{\rho} ρ ^ satisfies:
P ( ∥ ρ ^ − Ω e x t ( ψ G ) ∥ 1 < δ ) > 2 3 (13) \mathbb{P}\left(\left\|\hat{\rho}-\Omega_{\mathrm{ext}}(\psi_G)\right\|_1<\delta\right)>\frac{2}{3} \tag*{(13)} P ( ∥ ρ ^ − Ω ext ( ψ G ) ∥ 1 < δ ) > 3 2 (13) for every G G G , then necessarily N = Ω ( n 2 δ 2 ) N=\Omega\left(\frac{n^2}{\delta^2}\right) N = Ω ( δ 2 n 2 ) .
The protocol setup: distance between states
We first explain how estimating the Gram matrix leads to a quantitative bound on the distance between external states. Assume first that the input state is pure. As discussed in Section II, equation (10) is invariant under rephasing G ↦ D † G D G\mapsto D^\dagger G D G ↦ D † G D , where D = diag ( e i φ 1 , … , e i φ n ) D=\operatorname{diag}(e^{i\varphi_1},\ldots,e^{i\varphi_n}) D = diag ( e i φ 1 , … , e i φ n ) corresponds to ∣ ψ j ⟩ ↦ e i φ j ∣ ψ j ⟩ |\psi_j\rangle\mapsto e^{i\varphi_j}|\psi_j\rangle ∣ ψ j ⟩ ↦ e i φ j ∣ ψ j ⟩ . We denote the resulting equivalence class by
G ( ψ ) : = [ G ] = { D † G D ∣ D diagonal unitary } . (14) \mathcal{G}(\psi):=[G]=\{D^\dagger G D\mid D\ \text{diagonal unitary}\}. \tag*{(14)} G ( ψ ) := [ G ] = { D † G D ∣ D diagonal unitary } . (14)
The Gram matrix G G G , or more precisely the equivalence class G ( ψ ) \mathcal{G}(\psi) G ( ψ ) , must be recovered experimentally and thus can be known only approximately. Suppose our experimental estimate is G ′ G' G ′ , which corresponds to some pure product state ψ ′ \psi' ψ ′ . The following proposition shows that the error between G G G and G ′ G' G ′ controls the error between corresponding external states Ω e x t ( ψ ) \Omega_{\mathrm{ext}}(\psi) Ω ext ( ψ ) and Ω e x t ( ψ ′ ) \Omega_{\mathrm{ext}}(\psi') Ω ext ( ψ ′ ) . Thus, to perform internal state tomography it suffices to recover the Gram matrix up to desired error. Formally for any p ≥ 1 p\geq1 p ≥ 1 let us define the distance between equivalence classes:
d p ( G ( ψ ) , G ( ψ ′ ) ) : = inf G ∈ G ( ψ ) G ′ ∈ G ( ψ ′ ) ∥ G − G ′ ∥ p (15) d_p(\mathcal{G}(\psi),\mathcal{G}(\psi')):=\inf_{\substack{G\in\mathcal{G}(\psi)\\G'\in\mathcal{G}(\psi')}}\|G-G'\|_p \tag*{(15)} d p ( G ( ψ ) , G ( ψ ′ )) := G ∈ G ( ψ ) G ′ ∈ G ( ψ ′ ) inf ∥ G − G ′ ∥ p (15)
where ∥ ⋅ ∥ p \|\cdot\|_p ∥ ⋅ ∥ p is the usual matrix Schatten norm (for p = 2 p=2 p = 2 this is simply the Frobenius norm).
Proposition 1. Suppose that ψ , ψ ′ ∈ H i n t ⊗ n \psi,\psi'\in\mathcal{H}_{\mathrm{int}}^{\otimes n} ψ , ψ ′ ∈ H int ⊗ n are internal pure product states. Then:
∥ Ω e x t ( ψ ) − Ω e x t ( ψ ′ ) ∥ 1 ≤ d 1 ( G ( ψ ) , G ( ψ ′ ) ) (16) \left\|\Omega_{\mathrm{ext}}(\psi)-\Omega_{\mathrm{ext}}(\psi')\right\|_1\leq d_1(\mathcal{G}(\psi),\mathcal{G}(\psi')) \tag*{(16)} ∥ Ω ext ( ψ ) − Ω ext ( ψ ′ ) ∥ 1 ≤ d 1 ( G ( ψ ) , G ( ψ ′ )) (16) In particular using the inequality between the 1 and 2-norm we have:
∥ Ω e x t ( ψ ) − Ω e x t ( ψ ′ ) ∥ 1 ≤ n ⋅ d 2 ( G ( ψ ) , G ( ψ ′ ) ) (17) \left\|\Omega_{\mathrm{ext}}(\psi)-\Omega_{\mathrm{ext}}(\psi')\right\|_1\leq\sqrt{n}\cdot d_2(\mathcal{G}(\psi),\mathcal{G}(\psi')) \tag*{(17)} ∥ Ω ext ( ψ ) − Ω ext ( ψ ′ ) ∥ 1 ≤ n ⋅ d 2 ( G ( ψ ) , G ( ψ ′ )) (17) Due to the infimum in (15) any choice of G ∈ G ( ψ ) , G ′ ∈ G ( ψ ′ ) G\in\mathcal{G}(\psi),G'\in\mathcal{G}(\psi') G ∈ G ( ψ ) , G ′ ∈ G ( ψ ′ ) gives a valid upper bound on the distance. We defer the proof of Proposition 1 to Section A1.
Figure 2. We consider the case of nearly pure states, i.e. Tr { ρ i 2 } ≥ 1 − ϵ \operatorname{Tr}\{\rho_i^2\} \ge1-\epsilon Tr { ρ i 2 } ≥ 1 − ϵ ∀ i \forall i ∀ i , after N N N measurements, the Frobenius estimation error satisfies E ∥ G − G ^ ∥ 2 2 ≤ A ( n ) / N + B ( n ) ϵ 2 \mathbb{E}\lVert G-\widehat{G}\rVert_2^2 \le A(n)/N+B(n)\epsilon^2 E ∥ G − G ∥ 2 2 ≤ A ( n ) / N + B ( n ) ϵ 2 (Proposition 2). Additionally Proposition 1, shows that being able to reconstruct the Gram matrix up to desired precision suffices to reconstruct the external state. Due to the relation between trace distance and total variation distance, the estimated Gram matrix provides a uniform guarantee for any subsequent measurement M \mathcal{M} M on the external modes, bounding the total-variation distance of outcome distributions by TVD ( p M ( ψ ) , p M ( ψ ′ ) ) ≤ n 2 ∥ G − G ^ ∥ 2 \operatorname{TVD}(p_{\mathcal{M}}(\psi),p_{\mathcal{M}}(\psi')) \le\frac{\sqrt{n}}{2}\lVert G-\widehat{G}\rVert_2 TVD ( p M ( ψ ) , p M ( ψ ′ )) ≤ 2 n ∥ G − G ∥ 2 (Corollary 1).
An immediate physical consequence of Proposition 1 is that the observable statistics of the two states will also be closely matched. By the standard operational interpretation of the trace distance, the total variation distance (TVD) between the probability distributions of any measurement outcomes is bounded by the trace distance. Applying this to a standard optical setup – where internal states cannot be resolved – yields the following bound.
Corollary 1. Let ψ , ψ ′ \psi,\psi' ψ , ψ ′ be internal pure product states . Let p M ( ψ ) p_{\mathcal{M}}(\psi) p M ( ψ ) and p M ( ψ ′ ) p_{\mathcal{M}}(\psi') p M ( ψ ′ ) denote the probability distributions of outcomes obtained by performing any arbitrary generalized measurement (POVM) M \mathcal{M} M on the external states Ω e x t ( ψ ) \Omega_{\mathrm{ext}}(\psi) Ω ext ( ψ ) and Ω e x t ( ψ ′ ) \Omega_{\mathrm{ext}}(\psi') Ω ext ( ψ ′ ) , respectively. Then we have:
TVD ( p M ( ψ ) , p M ( ψ ′ ) ) ≤ 1 2 d 1 ( G ( ψ ) , G ( ψ ′ ) ) (18) \operatorname{TVD}(p_{\mathcal{M}}(\psi),p_{\mathcal{M}}(\psi')) \le\frac{1}{2}d_1(G(\psi),G(\psi')) \tag*{(18)} TVD ( p M ( ψ ) , p M ( ψ ′ )) ≤ 2 1 d 1 ( G ( ψ ) , G ( ψ ′ )) (18) ≤ n 2 d 2 ( G ( ψ ) , G ( ψ ′ ) ) (19) \le\frac{\sqrt{n}}{2}d_2(G(\psi),G(\psi')) \tag*{(19)} ≤ 2 n d 2 ( G ( ψ ) , G ( ψ ′ )) (19)
If the input state is pure, by Proposition 1 it suffices to reconstruct its (equivalence class of) Gram matrix. To handle mixed input states, let assume that:
ρ = ⨂ i = 1 n ρ i (20) \rho=\bigotimes_{i=1}^{n}\rho_i \tag*{(20)} ρ = i = 1 ⨂ n ρ i (20)
is a mixed internal product state such that for each i i i the purity satisfies:
tr ( ρ i 2 ) > 1 − ϵ (21) \operatorname{tr}(\rho_i^2)>1-\epsilon \tag*{(21)} tr ( ρ i 2 ) > 1 − ϵ (21)
for some small ϵ \epsilon ϵ . By [6 ] , for each i i i there exists a pure state ψ i \psi_i ψ i such that ∥ ρ i − ψ i ∥ 1 < 2 ϵ \lVert\rho_i-\psi_i\rVert_1<2\epsilon ∥ ρ i − ψ i ∥ 1 < 2 ϵ (ψ i \psi_i ψ i can be taken as the projector onto the maximal eigenvector of ρ i \rho_i ρ i ). Let ψ : = ⨂ i = 1 n ψ i \psi:=\bigotimes_{i=1}^{n}\psi_i ψ := ⨂ i = 1 n ψ i and let G G G be the Gram matrix corresponding to ψ \psi ψ . By tensorization:
∥ ρ − ψ ∥ 1 ≤ 2 n ϵ (22) \lVert\rho-\psi\rVert_1\le2n\epsilon \tag*{(22)} ∥ ρ − ψ ∥ 1 ≤ 2 n ϵ (22)
which also implies:
∥ Ω e x t ( ρ ) − Ω e x t ( ψ ) ∥ 1 < 2 n ϵ (23) \lVert\Omega_{\mathrm{ext}}(\rho)-\Omega_{\mathrm{ext}}(\psi)\rVert_1<2n\epsilon \tag*{(23)} ∥ Ω ext ( ρ ) − Ω ext ( ψ ) ∥ 1 < 2 n ϵ (23)
We aim to reconstruct Ω e x t ( ρ ) \Omega_{\mathrm{ext}}(\rho) Ω ext ( ρ ) by approximately reconstructing Ω e x t ( ψ ) \Omega_{\mathrm{ext}}(\psi) Ω ext ( ψ ) , using Bargmann invariants of ρ \rho ρ and the protocol as described for pure states.
By [6 ] (Corollary 1) for any Bargmann invariant of order m m m we have:
∣ tr ( ρ i 1 ⋯ ρ i m ) − tr ( ψ i 1 ⋯ ψ i m ) ∣ ≤ 2 m ϵ (24) \left|\operatorname{tr}(\rho_{i_1}\cdots\rho_{i_m})-\operatorname{tr}(\psi_{i_1}\cdots\psi_{i_m})\right|\le2m\epsilon \tag*{(24)} ∣ tr ( ρ i 1 ⋯ ρ i m ) − tr ( ψ i 1 ⋯ ψ i m ) ∣ ≤ 2 m ϵ (24)
Thus, we can treat measurements of Bargmann invariants of ρ \rho ρ as approximate measurements of Bargmann invariants of ψ \psi ψ . In other words, the Bargmann invariants of ρ \rho ρ do not correspond directly to any Gram matrix (since the state is mixed, there is no Gram matrix to speak of) – however, the pure state ψ \psi ψ can be used as a proxy for ρ \rho ρ and its Gram matrix can be (approximately) recovered from the Bargmann invariants of ρ \rho ρ . The total error incurred for the Gram matrix entries will include the sampling error depending on N N N , the number of experimental samples, and systematic error depending on the purity parameter ϵ \epsilon ϵ . The latter persists even as N → ∞ N\to\infty N → ∞ since the protocol approximates the target state ρ \rho ρ using its closest pure state ψ \psi ψ .
We note that the task of Gram matrix tomography requires significantly more resources than the simpler task of characterizing indistinguishability. It is thus reasonable to consider if reconstructing the Gram matrix can also bound or estimate the amount of indistinguishability that the set of n n n photons carry. In Section E we show that the pure state assumption is enough to fully accomplish this task up to small error.
Estimation procedure for entries of G G G
We now derive the protocol underlying Theorem 1 and Theorem 2. The protocol assumes a mixed product input state ρ \rho ρ , with pure input states as a special case. The goal is to reconstruct from experiment the matrix entries of G G G , the Gram matrix of the pure product state ψ \psi ψ close to ρ \rho ρ that satisfies (23). For a pure state, it is known [6 ] how to reconstruct its Gram matrix given access to O ( n 2 ) O(n^2) O ( n 2 ) Bargmann invariants. This procedure is subject to two sources of error.
First, the internal states featuring in the experiment are not the pure states ψ i \psi_i ψ i ; rather, what is experimentally accessible are the Bargmann invariants of the mixed states ρ s \rho_s ρ s which satisfy (24). This results in a systematic error in the protocol that depends on the purity parameter ε \varepsilon ε and persists in the limit N → ∞ N \to\infty N → ∞ . The second source of error is that the Bargmann invariants tr ( ρ i 1 ⋯ ρ i m ) \operatorname{tr}(\rho_{i_1}\cdots\rho_{i_m}) tr ( ρ i 1 ⋯ ρ i m ) are themselves known only approximately, since they need to be estimated experimentally from measurements. This incurs a sampling error dependent on the number of samples. These two types of error together add up to the total error of the protocol.
Assume that for each tuple ( i 1 , … , i m ) (i_1,\ldots,i_m) ( i 1 , … , i m ) we have an estimator B ^ i 1 … i m \widehat{B}_{i_1\ldots i_m} B i 1 … i m of the mixed Bargmann invariant tr ( ρ i 1 ⋯ ρ i m ) \operatorname{tr}(\rho_{i_1}\cdots\rho_{i_m}) tr ( ρ i 1 ⋯ ρ i m ) . We assume for simplicity the following experimental setting: constrained to a total budget of N N N experimental samples, we perform measurements of k k k different interferometers, using N k \frac{N}{k} k N samples for each, where in each experimental run we measure one or more Bargmann invariants. For measurement methods described in Section IV we then have k ∼ n 2 k \sim n^2 k ∼ n 2 for the Fourier method (each required Bargmann invariant needs a separate interferometer) while k = 1 k=1 k = 1 for the one-shot method (all required Bargmann invariants are estimated at once).
We assume the estimators are unbiased, i.e.:
E ( B ^ i 1 … i m ) = tr ( ρ i 1 ⋯ ρ i m ) (25) \mathbb{E}(\widehat{B}_{i_1\ldots i_m})=\operatorname{tr}(\rho_{i_1}\cdots\rho_{i_m}) \tag*{(25)} E ( B i 1 … i m ) = tr ( ρ i 1 ⋯ ρ i m ) (25)
with the expectation taken over the experimental sample randomness. We assume that all estimator variances are bounded by a parameter σ 2 \sigma^2 σ 2 , so that:
Var ( B ^ i 1 … i m ) ≤ σ 2 N / k (26) \operatorname{Var}(\widehat{B}_{i_1\ldots i_m})\le\frac{\sigma^2}{N/k} \tag*{(26)} Var ( B i 1 … i m ) ≤ N / k σ 2 (26)
where N N N is the number of experimental samples.
We shall treat B ^ i 1 … i m \widehat{B}_{i_1\ldots i_m} B i 1 … i m as a biased estimator of B i 1 … i m : = tr ( ψ i 1 ⋯ ψ i m ) B_{i_1\ldots i_m}:=\operatorname{tr}(\psi_{i_1}\cdots\psi_{i_m}) B i 1 … i m := tr ( ψ i 1 ⋯ ψ i m ) , with bias:
Bias ( B ^ i 1 … i m ) : = tr ( ρ i 1 ⋯ ρ i m ) − tr ( ψ i 1 ⋯ ψ i m ) (27) \operatorname{Bias}(\widehat{B}_{i_1\ldots i_m}):=\operatorname{tr}(\rho_{i_1}\cdots\rho_{i_m})-\operatorname{tr}(\psi_{i_1}\cdots\psi_{i_m}) \tag*{(27)} Bias ( B i 1 … i m ) := tr ( ρ i 1 ⋯ ρ i m ) − tr ( ψ i 1 ⋯ ψ i m ) (27)
Note that by (24) the bias is bounded by
∣ Bias ( B ^ i 1 … i m ) ∣ ≤ 2 m ε . (28) \left|\operatorname{Bias}(\widehat{B}_{i_1\ldots i_m})\right|\le2m\varepsilon. \tag*{(28)} Bias ( B i 1 … i m ) ≤ 2 m ε . (28)
The mean square error for a single invariant is then:
E ∣ B i 1 … i m − B ^ i 1 … i m ∣ 2 = Bias ( B ^ i 1 … i m ) 2 + Var ( B ^ i 1 … i m ) (29) \mathbb{E}\left|B_{i_1\ldots i_m}-\widehat{B}_{i_1\ldots i_m}\right|^2
=\operatorname{Bias}(\widehat{B}_{i_1\ldots i_m})^2+\operatorname{Var}(\widehat{B}_{i_1\ldots i_m}) \tag*{(29)} E B i 1 … i m − B i 1 … i m 2 = Bias ( B i 1 … i m ) 2 + Var ( B i 1 … i m ) (29)
≤ 4 m 2 ε 2 + k σ 2 N (30) \le4m^2\varepsilon^2+\frac{k\sigma^2}{N} \tag*{(30)} ≤ 4 m 2 ε 2 + N k σ 2 (30)
Let G G G denote the target Gram matrix of ψ = ⨁ i = 1 n ∣ ψ i ⟩ ⟨ ψ i ∣ \psi=\bigoplus_{i=1}^{n}|\psi_i\rangle\langle\psi_i| ψ = ⨁ i = 1 n ∣ ψ i ⟩ ⟨ ψ i ∣ . To provide intuition for the protocol we first recall from [6 ] the setup in the ideal case where we simply want to reconstruct G G G from perfect knowledge of Bargmann invariants B i 1 … i m B_{i_1\ldots i_m} B i 1 … i m . Let Γ \Gamma Γ be the graph on the vertex set { 1 , … , n } \{1,\ldots,n\} { 1 , … , n } with an edge ( i , j ) (i,j) ( i , j ) present if G i j ≠ 0 G_{ij}\ne0 G ij = 0 . We assume that Γ \Gamma Γ is connected, otherwise we can perform the procedure on each connected component separately. Fix a spanning tree T T T of the graph Γ \Gamma Γ . By using gauge equivalence [6 ] , we can assume that for each edge ( i , j ) ∈ T (i,j)\in T ( i , j ) ∈ T the entry G i j G_{ij} G ij is real and nonnegative.
This is equivalent to choosing a particular representative G G G of the equivalence class G ( ψ ) \mathcal{G}(\psi) G ( ψ ) . It follows that for ( i , j ) ∈ T (i,j)\in T ( i , j ) ∈ T :
G i j = ∣ ⟨ ψ i ∣ ψ j ⟩ ∣ = B i j . (31) G_{ij}=\left|\langle\psi_i|\psi_j\rangle\right|=\sqrt{B_{ij}}. \tag*{(31)} G ij = ∣ ⟨ ψ i ∣ ψ j ⟩ ∣ = B ij . (31)
For ( i , j ) ∉ T (i,j)\notin T ( i , j ) ∈ / T let π ( i , j ) = ( i = u 1 , u 2 , … , u k − 1 , u k = j ) \pi(i,j)=(i=u_1,u_2,\ldots,u_{k-1},u_k=j) π ( i , j ) = ( i = u 1 , u 2 , … , u k − 1 , u k = j ) denote the unique path in the tree T T T joining i i i and j j j . The corresponding Bargmann invariant is B π ( i , j ) = tr ( ψ u 1 ⋯ ψ u k ) B_{\pi(i,j)}=\operatorname{tr}(\psi_{u_1}\cdots\psi_{u_k}) B π ( i , j ) = tr ( ψ u 1 ⋯ ψ u k ) . We then easily verify that:
G i j = B π ( i , j ) ∏ l = 1 k − 1 B u l , u l + 1 (32) G_{ij}=\frac{B_{\pi(i,j)}}{\prod_{l=1}^{k-1}\sqrt{B_{u_l,u_{l+1}}}} \tag*{(32)} G ij = ∏ l = 1 k − 1 B u l , u l + 1 B π ( i , j ) (32)
Let φ i j \varphi_{ij} φ ij denote the complex phase of B π ( i , j ) B_{\pi(i,j)} B π ( i , j ) , so that:
e i φ i j = B π ( i , j ) ∣ B π ( i , j ) ∣ (33) e^{i\varphi_{ij}}=\frac{B_{\pi(i,j)}}{\left|B_{\pi(i,j)}\right|} \tag*{(33)} e i φ ij = B π ( i , j ) B π ( i , j ) (33)
We then easily verify that:
G i j = e i φ i j B j i (34) G_{ij}=e^{i\varphi_{ij}}\sqrt{B_{ji}} \tag*{(34)} G ij = e i φ ij B j i (34)
Therefore, knowledge of all the invariants B i j B_{ij} B ij and all the invariants B π ( i , j ) B_{\pi(i,j)} B π ( i , j ) corresponding to paths in the tree T T T (or equivalently all the phases φ i j \varphi_{ij} φ ij ), allows us to fully recover the Gram matrix G G G , in the choice of gauge given by this particular spanning tree.
To pass from the ideal case to the non-ideal case, we need to replace quantities appearing in Eqs. (31), (34) with their appropriate estimators. In this way we will obtain, entry by entry, a (biased) estimator G ^ \widehat{G} G of the target Gram matrix G G G . We will measure the total error of this estimator using the mean squared error (MSE):
E ∥ G − G ^ ∥ 2 2 = ∑ i , j E ∣ G i j − G ^ i j ∣ 2 (35) \mathbb{E}\left\|G-\widehat{G}\right\|_2^2=\sum_{i,j}\mathbb{E}\left|G_{ij}-\widehat{G}_{ij}\right|^2 \tag*{(35)} E G − G 2 2 = i , j ∑ E G ij − G ij 2 (35)
Note that by Proposition 1 we could also use the 1-norm E ∥ G − G ^ ∥ 1 \mathbb{E}\left\|G-\widehat{G}\right\|_1 E G − G 1 , which gives a tighter bound on the distance between external states (by a factor of n \sqrt{n} n ) but is more difficult to control analytically.
We now derive the full protocol and analyze its MSE error. First, for each pair ( i , j ) (i,j) ( i , j ) we measure the estimator B ^ i j \widehat{B}_{ij} B ij . Since very small values of B ^ i j \widehat{B}_{ij} B ij will be numerically unstable when computing square roots, we fix a threshold η > 0 \eta>0 η > 0 and set G ^ i j = 0 \widehat{G}_{ij}=0 G ij = 0 for all ( i , j ) (i,j) ( i , j ) such that ∣ B ^ i j ∣ < η |\widehat{B}_{ij}|<\eta ∣ B ij ∣ < η . We remove these edges from the graph. The remaining pairs ( i , j ) (i,j) ( i , j ) form a graph Γ \Gamma Γ , which we again assume to be connected. We fix a spanning tree T T T of Γ \Gamma Γ , chosen in a way that will minimize the incurred error, see Section B2 for the detailed procedure.
We use the following auxiliary estimators. To estimate the square root of a Bargmann invariant we plug:
B i j ^ : = B ^ i j (36) \widehat{\sqrt{B_{ij}}}:=\sqrt{\widehat{B}_{ij}} \tag*{(36)} B ij := B ij (36)
and for the phase part of B π ( i , j ) B_{\pi(i,j)} B π ( i , j ) we plug:
e i φ ^ i , j : = B ^ π ( i , j ) ∣ B ^ π ( i , j ) ∣ (37) e^{i\widehat{\varphi}_{i,j}} := \frac{\widehat{B}_{\pi(i,j)}}{\left\lvert\widehat{B}_{\pi(i,j)} \right\rvert} \tag*{(37)} e i φ i , j := B π ( i , j ) B π ( i , j ) (37)
We now define the final estimator G ^ \widehat{G} G for the Gram matrix. For diagonal terms we put G ^ i i : = 1 \widehat{G}_{ii} := 1 G ii := 1 . For an edge ( i , j ) (i,j) ( i , j ) we define the estimator G ^ i j \widehat{G}_{ij} G ij as follows:
(a) if ( i , j ) ∈ T (i,j) \in T ( i , j ) ∈ T , then:
G ^ i j : = B ^ i j (38) \widehat{G}_{ij} := \sqrt{\widehat{B}_{ij}} \tag*{(38)} G ij := B ij (38)
(b) if ( i , j ) ∉ T (i,j) \notin T ( i , j ) ∈ / T , then:
G ^ i j : = e i φ ^ i , j ⋅ B ^ i j (39) \widehat{G}_{ij} := e^{i\widehat{\varphi}_{i,j}} \cdot\sqrt{\widehat{B}_{ij}} \tag*{(39)} G ij := e i φ i , j ⋅ B ij (39)
Note that the maximal order of Bargmann invariants that we need to measure is equal to diameter of the spanning tree plus one.
The resulting estimator G ^ \widehat{G} G may not be a valid Gram matrix. To mitigate this we project G ^ \widehat{G} G onto the convex set of correlation matrices (positive semidefinite with ones on the diagonal), obtaining a matrix p ( G ^ ) p(\widehat{G}) p ( G ) . Since projections onto convex sets do not increase the Euclidean distance and p ( G ) = G p(G) = G p ( G ) = G (since G G G itself is a correlation matrix), we have:
∥ p ( G ^ ) − G ∥ 2 = ∥ p ( G ^ ) − p ( G ) ∥ 2 ≤ ∥ G ^ − G ∥ 2 (40) \left\lVert p(\widehat{G}) - G \right\rVert_2 = \left\lVert p(\widehat{G}) - p(G) \right\rVert_2 \leq\left\lVert\widehat{G} - G \right\rVert_2 \tag*{(40)} p ( G ) − G 2 = p ( G ) − p ( G ) 2 ≤ G − G 2 (40)
so the projection step does not increase the total error. The projection step can be efficiently implemented e.g. using Higham’s projection algorithm [29 ] .
The whole protocol can be summarized as follows.
Gram matrix tomography protocol
For each pair ( i , j ) (i,j) ( i , j ) measure the Bargmann invariant B i j B_{ij} B ij using an estimator B ^ i j \widehat{B}_{ij} B ij .
Fix a threshold η \eta η and remove edges with ∣ B ^ i j ∣ < η \left\lvert\widehat{B}_{ij} \right\rvert< \eta B ij < η .
Find the spanning tree T T T on the remaining graph using the algorithm from Section B 2.
Based on the spanning tree measure the remaining Bargmann invariants B π ( i , j ) B_{\pi(i,j)} B π ( i , j ) using an estimator B ^ π ( i , j ) \widehat{B}_{\pi(i,j)} B π ( i , j ) . Estimate the phases using (37) .
Estimate the Gram matrix entries G ^ i j \widehat{G}_{ij} G ij using (38) and (39) .
Project the resulting matrix G ^ \widehat{G} G onto the set of correlation matrices.
For the purpose of analysis it is required that the choice of the spanning tree T T T is statistically independent of the randomness of the Bargmann invariant estimators measured in step 5. This can be easily achieved e.g. by splitting the sample in half, using estimators from the first half to produce the optimal spanning tree T T T , discarding them and using the second half of the sample for the remaining steps of the protocol.
Proposition 2. Consider a mixed state ρ \rho ρ with purity parameter ε \varepsilon ε as in (21) and estimators of Bargmann invariants using in total N N N experimental samples. For threshold value η = 0 \eta= 0 η = 0 , the above protocol gives an estimator G ^ \widehat{G} G for the Gram matrix G G G with mean square error bounded by:
E ∥ G − G ^ ∥ 2 2 ≤ A ( n ) N + B ( n ) ε 2 (41) \mathbb{E}\left\lVert G - \widehat{G} \right\rVert_2^2 \leq\frac{A(n)}{N} + B(n)\varepsilon^2 \tag*{(41)} E G − G 2 2 ≤ N A ( n ) + B ( n ) ε 2 (41) where A ( n ) A(n) A ( n ) , B ( n ) B(n) B ( n ) are explicit functions depending on the spanning tree T T T , estimators used and the magnitudes of Bargmann invariants.
The proof of Proposition 2 is technical and we defer it to Section B, where we also give a more detailed expression and bounds for the functions A A A and B B B . In particular, if some of the Bargmann invariants are very small, it is useful to fix a nonzero threshold η > 0 \eta> 0 η > 0 and we describe its influence on the total error in Section B.
Proof of Theorem 1 and Theorem 2. Let ψ \psi ψ be the pure state from (22) and ψ ′ \psi' ψ ′ be the state whose Gram matrix is reconstructed by the protocol. From (17) we get:
E ∥ Ω e x t ( ψ ) − Ω e x t ( ψ ′ ) ∥ 1 2 ≤ n E ∥ G − G ^ ∥ 2 2 ≤ n ( A N + B ε 2 ) (42) \mathbb{E}\left\lVert\Omega_{\mathrm{ext}}(\psi) - \Omega_{\mathrm{ext}}(\psi') \right\rVert_1^2 \leq n \mathbb{E}\left\lVert G - \widehat{G} \right\rVert_2^2 \leq n\left(\frac{A}{N} + B\varepsilon^2\right) \tag*{(42)} E ∥ Ω ext ( ψ ) − Ω ext ( ψ ′ ) ∥ 1 2 ≤ n E G − G 2 2 ≤ n ( N A + B ε 2 ) (42)
By (23) and the triangle inequality we immediately get:
E ∥ Ω e x t ( ρ ) − Ω e x t ( ψ ′ ) ∥ 1 2 ≤ 8 n 2 ε 2 + n ( B ε 2 + A N ) (43) \mathbb{E}\left\lVert\Omega_{\mathrm{ext}}(\rho) - \Omega_{\mathrm{ext}}(\psi') \right\rVert_1^2 \leq8n^2\varepsilon^2 + n\left(B\varepsilon^2 + \frac{A}{N}\right) \tag*{(43)} E ∥ Ω ext ( ρ ) − Ω ext ( ψ ′ ) ∥ 1 2 ≤ 8 n 2 ε 2 + n ( B ε 2 + N A ) (43)
Using Markov inequality now gives:
P ( ∥ Ω e x t ( ρ ) − Ω e x t ( ψ ′ ) ∥ 1 ≥ δ ) ≤ E ∥ Ω e x t ( ρ ) − Ω e x t ( ψ ′ ) ∥ 1 2 δ 2 (44) \mathbb{P}\left(\left\lVert\Omega_{\mathrm{ext}}(\rho) - \Omega_{\mathrm{ext}}(\psi') \right\rVert_1 \geq\delta\right) \leq\frac{\mathbb{E}\left\lVert\Omega_{\mathrm{ext}}(\rho) - \Omega_{\mathrm{ext}}(\psi') \right\rVert_1^2}{\delta^2} \tag*{(44)} P ( ∥ Ω ext ( ρ ) − Ω ext ( ψ ′ ) ∥ 1 ≥ δ ) ≤ δ 2 E ∥ Ω ext ( ρ ) − Ω ext ( ψ ′ ) ∥ 1 2 (44)
≤ B ′ ε 2 + A ′ N δ 2 (45) \leq\frac{B'\varepsilon^2 + \frac{A'}{N}}{\delta^2} \tag*{(45)} ≤ δ 2 B ′ ε 2 + N A ′ (45)
as desired, where A ′ A' A ′ , B ′ B' B ′ are deduced from (43) . □ \square □
The reconstruction protocol introduced in Sec. III relies on the experimental accessibility of the relevant Bargmann invariants. While characterizing an arbitrary mixed state generally involves invariants across all cycle types, reconstructing pure or nearly pure states requires only a subset of O ( n 2 ) O(n^2) O ( n 2 ) invariants: pairwise overlaps to fix the moduli of the Gram matrix and cycle invariants along paths in the spanning tree to fix the relative phases. The order of these cycle invariants is determined by the tree topology and can in principle reach n n n . Long cycles, however, are only required when many pairwise overlaps are small, a situation that rarely occurs for realistic sources, where photons typically exhibit substantial mutual overlap. In particular, whenever one photon has a non-negligible overlap with all the others, a star-shaped spanning tree can be chosen and all required invariants are of third order.
Figure 3. Reconstruction pipeline for Gram-matrix tomography. Steps 1–2 (Graph initialization and thresholding): Pairwise Bargmann invariants B i j = ∣ ⟨ ψ i ∣ ψ j ⟩ ∣ 2 B_{ij} = |\langle\psi_i|\psi_j\rangle|^2 B ij = ∣ ⟨ ψ i ∣ ψ j ⟩ ∣ 2 are measured to extract the magnitudes ∣ G i j ∣ |G_{ij}| ∣ G ij ∣ of all off-diagonal entries. Edges falling below an operational cutoff threshold η > 0 \eta> 0 η > 0 are removed to prevent noise amplification and numerical instabilities when computing square roots and phase normalizations. Step 3 (Gauge fixing): Since rephasing individual state vectors transforms G G G by an unobservable diagonal unitary D † G D D^\dagger G D D † G D , a spanning tree T T T is selected on the remaining overlap graph to fix this gauge convention by setting all tree-edge overlaps to be real and positive. Step 4 (Phase recovery): Each non-tree edge closes a loop with the unique path π ( i , j ) \pi(i,j) π ( i , j ) in T T T . Measuring the corresponding higher-order cyclic Bargmann invariant B π ( i , j ) B_{\pi(i,j)} B π ( i , j ) along this path directly yields the relative phase factor e i φ i j = B π ( i , j ) / ∣ B π ( i , j ) ∣ e^{i\varphi_{ij}} = B_{\pi(i,j)}/|B_{\pi(i,j)}| e i φ ij = B π ( i , j ) /∣ B π ( i , j ) ∣ . Steps 5–6 (Assembly and convex projection): Combining the measured moduli and phases yields an intermediate estimator G ^ \widehat{G} G . To correct for finite-sample violations of positive semidefiniteness, G ^ \widehat{G} G is projected onto the convex set of Gram matrices ( p ( G ^ ) ⪰ 0 , p ( G ^ ) i i = 1 ) (p(\widehat{G}) \succeq0, p(\widehat{G})_{ii} = 1) ( p ( G ) ⪰ 0 , p ( G ) ii = 1 ) , which enforces physical validity without increasing the Frobenius reconstruction error.
In this section, we present two strategies to measure these invariants using passive linear optics and number-resolved detection. The first approach (Fourier method) uses a Fourier interferometer to individually target the needed invariants, while the second approach (one-shot method) extracts relational information simultaneously from the particle-number correlators of a single generic interferometer through linear inversion.
a. Fourier method.- As discussed above, a Bargmann invariant can be expressed as the expectation value of the cyclic shift operator,
Tr { C ^ k ⨂ i = 1 k ρ i } = Tr { ρ 1 ⋯ ρ k } (46) \operatorname{Tr}\left\{\widehat{C}_k \bigotimes_{i=1}^{k}\rho_i\right\} = \operatorname{Tr}\{\rho_1\cdots\rho_k\} \tag*{(46)} Tr { C k i = 1 ⨂ k ρ i } = Tr { ρ 1 ⋯ ρ k } (46)
where C ^ k ∣ ψ 1 , ψ 2 , … , ψ k ⟩ = ∣ ψ 2 , … , ψ k , ψ 1 ⟩ \widehat{C}_k|\psi_1,\psi_2,\ldots,\psi_k\rangle= |\psi_2,\ldots,\psi_k,\psi_1\rangle C k ∣ ψ 1 , ψ 2 , … , ψ k ⟩ = ∣ ψ 2 , … , ψ k , ψ 1 ⟩ . As shown in [27 ] , in linear optics, such expectation value can be evaluated by diagonalizing the cyclic shift operator C ^ k = F ^ k D ^ k F ^ k † \widehat{C}_k = \widehat{F}_k\widehat{D}_k\widehat{F}_k^\dagger C k = F k D k F k † , where F ^ k \widehat{F}_k F k is the k k k -dimensional Fourier interferometer, and D ^ \widehat{D} D is an operator diagonal in the Fock basis, which can be expressed as
D ^ k = ∏ j = 1 k e 2 π i k ( j − 1 ) n ^ j . (47) \widehat{D}_k = \prod_{j=1}^{k} e^{\frac{2\pi i}{k}(j-1)\widehat{n}_j}. \tag*{(47)} D k = j = 1 ∏ k e k 2 π i ( j − 1 ) n j . (47)
This implies that the task of measuring an arbitrary Bargmann invariant can be reduced to the sampling problem, i.e. let Ω e x t ( ρ ) \Omega_{\mathrm{ext}}(\rho) Ω ext ( ρ ) evolve in the interferometer F ^ k ⊕ I ^ n − k \widehat{F}_k \oplus\widehat{I}_{n-k} F k ⊕ I n − k and perform particles number detection on the output, to then evaluate ⟨ D ^ k ⟩ \langle\widehat{D}_k\rangle ⟨ D k ⟩ by postprocessing the data. Since ∥ D ^ k ∥ ∞ = 1 \|\widehat{D}_k\|_\infty=1 ∥ D k ∥ ∞ = 1 , estimating any Bargmann invariant up to precision ϵ \epsilon ϵ and probability 1 − δ 1-\delta 1 − δ can be done using O ( ϵ − 2 ln δ − 1 ) O\left(\epsilon^{-2}\ln\delta^{-1}\right) O ( ϵ − 2 ln δ − 1 ) samples. Notice that for Bargmann invariant of order 2, the Fourier matrix reduces to a balanced beam splitter and the protocol coincides with a standard Hong-Ou-Mandel (HOM) test. The complete procedure is summarized below.
Protocol 1 Fourier method for Gram matrix tomography
Input: external state Ω e x t ( ρ ) \Omega_{\mathrm{ext}}(\rho) Ω ext ( ρ )
for 1 ≤ i < j ≤ n 1\leq i<j\leq n 1 ≤ i < j ≤ n do
Use the HOM interference to estimate the visibility to estimate ∣ G i j ∣ 2 |G_{ij}|^2 ∣ G ij ∣ 2
end for
Use the value of ∣ G i j ∣ 2 |G_{ij}|^2 ∣ G ij ∣ 2 to find the Spanning tree T T T
for each ( i , j ) ∉ T (i,j)\notin T ( i , j ) ∈ / T do
Use the Fourier interferometer to estimate B π ( i , j ) = Tr { ρ i ρ k 1 ⋯ ρ k l ρ j } B_{\pi(i,j)}=\operatorname{Tr}\{\rho_i\rho_{k_1}\cdots\rho_{k_l}\rho_j\} B π ( i , j ) = Tr { ρ i ρ k 1 ⋯ ρ k l ρ j } and obtain e i ϕ i , j e^{i\phi_{i,j}} e i ϕ i , j
end for
Construct G ^ \widehat{G} G
Project over the space of Gram matrix G ^ ← p ( G ^ ) \widehat{G}\leftarrow p(\widehat{G}) G ← p ( G )
Return G ^ \widehat{G} G
Notice that this protocol has an intrinsic overhead in the sample complexity due to the fact that each of the O ( n 2 ) O(n^2) O ( n 2 ) quantities must be measured separately, and thus O ( n 2 ) O(n^2) O ( n 2 ) experiments must be run to obtain a good estimate of the desired Gram matrix.
b. One-Shot method.- The one-shot method follows a different route, exploiting the fact that partial distinguishability affects the output statistics of multiphoton scattering experiments such as Boson Sampling, in which single photons evolve through a linear interferometer and particle numbers are measured at the output [30 ] . It can be shown that, in the interferometric scenario we consider, the probability of detecting an outcome k = ( k 1 , … , k m ) \boldsymbol{k}=(k_1,\ldots,k_m) k = ( k 1 , … , k m ) when the unitary evolution is described by the matrix U U U can be computed as
p k ( U ∣ G ) = 1 k ! ∑ π ∈ S n perm ( M ( k ) ⊙ M π ( k ) ‾ ) ∏ i = 1 n G i , π i (48) p_{\boldsymbol{k}}(U|G)=\frac{1}{\boldsymbol{k}!}\sum_{\pi\in S_n}\operatorname{perm}\left(M^{(\boldsymbol{k})}\odot\overline{M_{\pi}^{(\boldsymbol{k})}}\right)\prod_{i=1}^{n}G_{i,\pi_i} \tag*{(48)} p k ( U ∣ G ) = k ! 1 π ∈ S n ∑ perm ( M ( k ) ⊙ M π ( k ) ) i = 1 ∏ n G i , π i (48)
where k ! = ∏ i k i ! \boldsymbol{k}!=\prod_i k_i! k ! = ∏ i k i ! , perm ( A ) \operatorname{perm}(A) perm ( A ) is the permanent of the matrix A A A , M ( k ) M^{(\boldsymbol{k})} M ( k ) is the relevant scattering matrix associated with the outcome k \boldsymbol{k} k , ⊙ \odot ⊙ is the element-wise product and A ‾ σ \overline{A}_{\sigma} A σ is the matrix conjugate of A A A whose columns have been permuted according to the permutation π \pi π [4 ] . Extracting a specific invariant from these probabilities, i.e. Tr [ ρ 1 ⋯ ρ k ] = G 12 G 23 ⋯ G k 1 \operatorname{Tr}[\rho_1\cdots\rho_k]=G_{12}G_{23}\cdots G_{k1} Tr [ ρ 1 ⋯ ρ k ] = G 12 G 23 ⋯ G k 1 , would require estimating typically very small outcome probabilities to high precision and inverting a linear system whose number of terms grows factorially with n n n . This is feasible for few photons (n = 3 , 4 n=3,4 n = 3 , 4 ), but quickly becomes impractical as n n n increases. An alternatively scalable observable can be found in the number particles correlators. As shown in Refs. [14 , 31 , 32 , 33 ] , it is possible to directly observe deviation from the behavior of indistinguishable particles by measuring correlators of type ⟨ n ^ i n ^ j ⟩ \langle\hat n_i\hat n_j\rangle ⟨ n ^ i n ^ j ⟩ . We note that such correlators may be written in the form
⟨ n ^ i n ^ j ⟩ = δ i j ∑ k = 1 n ∣ U i k ∣ 2 + ∑ k ≠ l ∣ U i k ∣ 2 ∣ U j l ∣ 2 + ∑ k ≠ l ∣ G k l ∣ 2 U i k ∗ U i l U j l ∗ U j k (49) \langle\hat n_i\hat n_j\rangle=\delta_{ij}\sum_{k=1}^{n}|U_{ik}|^2+\sum_{k\ne l}|U_{ik}|^2|U_{jl}|^2+\sum_{k\ne l}|G_{kl}|^2U_{ik}^{*}U_{il}U_{jl}^{*}U_{jk} \tag*{(49)} ⟨ n ^ i n ^ j ⟩ = δ ij k = 1 ∑ n ∣ U ik ∣ 2 + k = l ∑ ∣ U ik ∣ 2 ∣ U j l ∣ 2 + k = l ∑ ∣ G k l ∣ 2 U ik ∗ U i l U j l ∗ U j k (49)
The second moments are thus affine in the squared overlaps ∣ G k l ∣ 2 |G_{kl}|^2 ∣ G k l ∣ 2 , i.e., in the second-order Bargmann invariants. Grouping the equivalent terms ( k , l ) (k,l) ( k , l ) and ( l , k ) (l,k) ( l , k ) , they define a linear system A 2 x 2 = b 2 A_2x_2=b_2 A 2 x 2 = b 2 , where x 2 x_2 x 2 collects the unknown squared overlaps, A 2 A_2 A 2 depends only on U U U , and b 2 b_2 b 2 combines the measured correlators with U U U -dependent terms:
( b 2 ) ( i j ) = ⟨ n ^ i n ^ j ⟩ + ∑ k ≠ l ∣ U i k ∣ 2 ∣ U j l ∣ 2 − δ i j ∑ k = 1 n ∣ U i k ∣ 2 (50) (b_2)_{(ij)}=\langle\hat n_i\hat n_j\rangle+\sum_{k\ne l}|U_{ik}|^2|U_{jl}|^2-\delta_{ij}\sum_{k=1}^{n}|U_{ik}|^2 \tag*{(50)} ( b 2 ) ( ij ) = ⟨ n ^ i n ^ j ⟩ + k = l ∑ ∣ U ik ∣ 2 ∣ U j l ∣ 2 − δ ij k = 1 ∑ n ∣ U ik ∣ 2 (50)
( x 2 ) ( i j ) = ∣ G i j ∣ 2 , ( A 2 ) ( i j ) , ( k l ) = U i k ∗ U i l U j l ∗ U j k . (51) (x_2)_{(ij)}=|G_{ij}|^2,\qquad(A_2)_{(ij),(kl)}=U_{ik}^{*}U_{il}U_{jl}^{*}U_{jk}. \tag*{(51)} ( x 2 ) ( ij ) = ∣ G ij ∣ 2 , ( A 2 ) ( ij ) , ( k l ) = U ik ∗ U i l U j l ∗ U j k . (51)
Once ⟨ n ^ i n ^ j ⟩ \langle\hat n_i\hat n_j\rangle ⟨ n ^ i n ^ j ⟩ has been estimated for all i , j i,j i , j from the collected samples, inverting this system (e.g., by least squares) yields estimators of ∣ G k l ∣ 2 |G_{kl}|^2 ∣ G k l ∣ 2 . Similarly, the third-order correlators ⟨ n ^ i n ^ j n ^ k ⟩ \langle\hat n_i\hat n_j\hat n_k\rangle ⟨ n ^ i n ^ j n ^ k ⟩ depend linearly on the second-order invariants ∣ G a b ∣ 2 |G_{ab}|^2 ∣ G ab ∣ 2 and on the third-order invariants G a b G b c G c a G_{ab}G_{bc}G_{ca} G ab G b c G c a . Since the former are already known from the previous step, the latter are the only unknowns and can again be obtained by solving a linear system A 3 x 3 = b 3 A_3x_3=b_3 A 3 x 3 = b 3 . A detailed derivation of the correlators is given in Appendix § 2.2 . In principle, the procedure extends to higher orders, as r r r -th order correlators depend linearly on invariants up to order r r r . However, the number of unknowns grows as O ( n r ) O(n^r) O ( n r ) , which makes the approach impractical beyond low orders. It nonetheless remains well suited to the regime discussed above, in which third-order invariants suffice for the reconstruction. Additionally, in Appendix § 2.4 we discuss how to reduce the size of the system to only the O ( n 2 ) O(n^2) O ( n 2 ) invariant needed without affecting the numerical stability of the linear system. The complete procedure is summarized below.
Protocol 2 One-Shot method for Gram matrix tomography
Input: external state Ω e x t ( ρ ) \Omega_{\mathrm{ext}}(\rho) Ω ext ( ρ ) , random interferometer U ^ \widehat{U} U
Sample in the Fock basis from U ^ Ω e x t ( ρ ) U ^ † \widehat{U}\Omega_{\mathrm{ext}}(\rho)\widehat{U}^{\dagger} U Ω ext ( ρ ) U † and collect samples { s ( 1 ) , … , s ( M ) } \{s^{(1)},\ldots,s^{(M)}\} { s ( 1 ) , … , s ( M ) } .
Build the matrices A 2 , A 3 A_2,A_3 A 2 , A 3 and the vectors b 2 , b 3 b_2,b_3 b 2 , b 3 from { s ( 1 ) , … , s ( M ) } \{s^{(1)},\ldots,s^{(M)}\} { s ( 1 ) , … , s ( M ) } and U U U .
Solve the linear x 2 = A 2 b 2 x_2=A_2b_2 x 2 = A 2 b 2 to obtain { ∣ G ^ i j ∣ 2 } \{| \widehat{G}_{ij}|^2\} { ∣ G ij ∣ 2 } .
Use the value of ∣ G ^ i j ∣ 2 |\widehat{G}_{ij}|^2 ∣ G ij ∣ 2 to find the Spanning tree T T T .
Solve the linear x 3 = A 3 b 3 x_3=A_3b_3 x 3 = A 3 b 3 to obtain { G ^ i j G ^ j k G ^ k i } \{\widehat{G}_{ij}\widehat{G}_{jk}\widehat{G}_{ki}\} { G ij G j k G k i } .
Construct G ^ \widehat{G} G
Project over the space of Gram matrix G ^ ← p ( G ^ ) \widehat{G}\leftarrow p(\widehat{G}) G ← p ( G )
Return G ^ \widehat{G} G
We now compare the two approaches. The one-shot method requires a single interferometer configuration, whereas the Fourier method requires multiple configurations. As discussed in Appendix § 1.2.3 , random interferometers with at least as many modes as particles (m ≥ ( 1 + δ ) n m \ge(1+\delta)n m ≥ ( 1 + δ ) n with δ > 0 \delta> 0 δ > 0 ) yield well-conditioned matrices with high probability and, consequently, small inversion errors. Moreover, since it relies solely on classical postprocessing of the collected samples, the one-shot method can serve as an efficient certification tool for Boson Sampling experiments. On the other hand, as shown later, its reconstruction error is larger than that of the Fourier method, so that more samples are needed to reach the same precision, which may be experimentally demanding.
Numerical results
While we have proved appealing theoretical upper bounds, as bosonic linear optical experiments continue to develop, it is of interest to see how our reconstruction procedure works in practice. To this end we have applied our reconstruction algorithm with simulated samples using both the one-shot method, where all relevant Bargmann invariants are measured from one interferometer, and Fourier method where each relevant Bargmann is decomposed into factors given by the cycle decomposition of a permutation and each factor is measured using a dedicated Fourier interferometer. As shown in section B 1 the dependence of the Gram matrix reconstruction on the specific Bargmann estimation procedure is entirely due to the dependence of the quantity A A A in the statement of Proposition 2 on the σ 2 \sigma^2 σ 2 upper bounding the variances in equation (26) . For the two methods of estimating Bargmanns we have considered, the effective σ \sigma σ is controlled by quite different aspects. The Fourier method uses a dedicated experiment to estimate each Bargmann invariant needed by the protocol, which means that the N N N in the scaling σ 2 / N \sigma^2/N σ 2 / N of equation (26) is reduced by the number of individual Bargmann invariant being estimated. The one-shot method, on the other hand does not suffer from this limitation, however there appears to be no “free lunch”, and based on the numerical experiments we have performed the Bargmann invariants estimated with the one-shot method appear to have substantially larger variance for the same N N N as those from the Fourier method, resulting from the inversion of the linear system. Overall these effects seem to lead to the Fourier method having better performance on the cases we have investigated numerically, despite the lower number of shots available for each Bargmann being estimated. In all of the figures in this section, where we plot upper bounds depending on the parameter σ \sigma σ it is estimated empirically from data for the one-shot method and set to the upper bound σ ≤ 1 \sigma\le1 σ ≤ 1 valid for the Fourier method. In each case the one-shot method is implemented with a single Haar random unitary acting on twice as many modes as there are photons while the Fourier method spends half of the allocated experimental shots estimating the n ( n − 1 ) / 2 n(n-1)/2 n ( n − 1 ) /2 second-order Bargmann invariants (i.e. the overlap of each state), and splits the remaining shot-budget evenly across the required higher order Bargmann invariants. In the case studied in Figure 4 , for example, the Fourier method first estimates 21 second-order overlaps and 15 third order Bargmann invariants each corresponding a path through photon 1 connecting photons i i i , j j j such that 1 < i < j ≤ 7 1 < i < j \le7 1 < i < j ≤ 7 . The error bars in each plot are determined from the sample variance across 10 independent repetitions of each data-point. Throughout this section matrix ∥ ⋅ ∥ \lVert\cdot\rVert ∥ ⋅ ∥ denotes the Schatten norms.
Figure 4. Comparison of our upper bound, the Frobenius distance between the recovered and true Gram matrices and the trace-norm distance between the recovered and true external states for a system of 7 photons arranged in a “star” pattern. Photon 1 is in pure state ∣ 1 ⟩ |1\rangle ∣1 ⟩ while photons j > 1 j > 1 j > 1 have internal states x ∣ 1 ⟩ + 1 − x 2 ∣ j ⟩ x|1\rangle+ \sqrt{1-x^2}|j\rangle x ∣1 ⟩ + 1 − x 2 ∣ j ⟩ , where we fixed x = 0.9 x = 0.9 x = 0.9 . On the left (a) the reconstruction via the one-shot method is shown while the right (b) shows the Fourier method. The points and error bars plotted represent the mean and standard deviation in the Frobenius norm taken across 10 independent reconstructions for each number of shots plotted.
Figures 4, 5 and 7 include direct comparisons of the two methods. We see that, for the examples we have investigated, the performance of the one-shot method at the same number of experimental shots is noticeably worse than the one of the Fourier method. In an experimental context this should be contrasted with the lower experimental requirements for the one-shot method, rather than requiring specific, dedicated interferometers for each Bargmann measured, it can, in principle be performed using experimental data from any single interferometer. Moreover we have theoretical evidence (see Theorem 4 in Appendix § 1.2.3 ) that the one-shot method performs well with even a uniformly chosen random interferometer, complementing the numerical evidence of this section.
In the cases we have compared the one-shot’s performance to our theoretical upper bound, e.g. in Figure 4 , 5 and 7 we observe a significant “gap” between the theoretical bounds and the true performance. The theoretical guarantees appear to be rather pessimistic. One possible explanation for this is that the theoretical bounds take a single variance parameter σ \sigma σ , characterizing the Bargmann estimators. However the one-shot methods behaves slightly differently for the second and third order Bargmanns – the second order Bargmanns are reconstructed first and the third order ones are reconstructed using a second linear system. It may be the case that these two sets of Bargmanns have differing variances, and using a single bound for both is overly coarse. Across both reconstruction methods we observe that Gram matrix tomography in practice may be performed with significantly fewer shots than our theoretical upper bounds would predict, with the “in practice” error at 250,000 shots being comparable to the upper bound at 10 times as many.
While we focus on the Gram matrix, as the object that determines the complete relational information, the external state Ω \Omega Ω more directly specifies the outcome probabilities of measurements in linear optical experiments. In general the external state is defined as a factorial-sized matrix, so reconstruction rapidly becomes inefficient as the number of particles grows. Nonetheless the examples in this section, with up to 7 photons per experiment, are small enough that we can reconstruct the external state, and therefore plot the quantities appearing in both sides of inequality (17) . The trace-norm difference of external states is of both significant practical and theoretical relevance, as it controls the accuracy of the predictions one would make for the outcomes of measurements one can make on the external state. In particular, given a good approximation of the external state in trace-norm, one can obtain a good estimate of the probability distribution (in total variation distance) obtained by applying an
Figure 4a. One shot method
Figure 4b. Fourier method
Figure 5a. One-shot method
Figure 5b. Fourier method
arbitrary interferometer and performing photon-number measurements on each mode.
The constellation of states in Figure 5 is notable due to the significant coherence between the states involved, forming a regular tetrahedron whose circumsphere is the Bloch sphere. Explicitly in the computational basis one can express the 4 state vectors as
Figure 5. Comparison of our upper bound, the Frobenius distance between the recovered and true Gram matrices and the trace-norm distance between the recovered and true external states. Here there are 4 photons whose single qubit states are the 4 states whose projectors are proportional to the 4 effects of a qubit SIC-POVM. For panel (a) we determine the Bargmann invariants with the one-shot method, while panel (b) make use of the Fourier method.
∣ ϕ 1 ⟩ = ∣ 0 ⟩ , ∣ ϕ 2 ⟩ = ∣ 0 ⟩ + 2 ∣ 1 ⟩ 3 , ∣ ϕ 3 ⟩ = ∣ 0 ⟩ + 2 e i 2 π 3 ∣ 1 ⟩ 3 , ∣ ϕ 4 ⟩ = ∣ 0 ⟩ + 2 e i 4 π 3 ∣ 1 ⟩ 3 . (52) \begin{aligned}
|\phi_1\rangle&= |0\rangle, \qquad
|\phi_2\rangle= \frac{|0\rangle+\sqrt{2}|1\rangle}{\sqrt{3}},\\
|\phi_3\rangle&= \frac{|0\rangle+\sqrt{2}e^{i\frac{2\pi}{3}}|1\rangle}{\sqrt{3}}, \qquad
|\phi_4\rangle= \frac{|0\rangle+\sqrt{2}e^{i\frac{4\pi}{3}}|1\rangle}{\sqrt{3}}. \tag*{(52)}
\end{aligned} ∣ ϕ 1 ⟩ ∣ ϕ 3 ⟩ = ∣0 ⟩ , ∣ ϕ 2 ⟩ = 3 ∣0 ⟩ + 2 ∣1 ⟩ , = 3 ∣0 ⟩ + 2 e i 3 2 π ∣1 ⟩ , ∣ ϕ 4 ⟩ = 3 ∣0 ⟩ + 2 e i 3 4 π ∣1 ⟩ . (52)
This constellation has significant applications in quantum information theory more broadly, as the states are (up to an overall normalization) equal to the effects of a qubit SIC POVM.
In Figure 6 we apply our method to a setup in which the full relational information is impossible to recover by measuring Bargmanns of any fixed order less than the number of particles. In particular measuring visibilities and third order Bargmanns is not sufficient. The circle-dance states [7 ] satisfy ⟨ ϕ j ∣ ϕ k ⟩ = 0 \langle\phi_j|\phi_k\rangle=0 ⟨ ϕ j ∣ ϕ k ⟩ = 0 unless ∣ j − k ∣ ≤ 1 |j-k|\leq1 ∣ j − k ∣ ≤ 1 , and in our instantiation we also set ⟨ ϕ j ∣ ϕ j + 1 ⟩ = 1 2 \langle\phi_j|\phi_{j+1}\rangle=\frac{1}{2} ⟨ ϕ j ∣ ϕ j + 1 ⟩ = 2 1 for j = 1 … n − 2 j=1\ldots n-2 j = 1 … n − 2 and ⟨ ϕ n − 1 ∣ ϕ n ⟩ = ⟨ ϕ 1 ∣ ϕ n ⟩ = 1 2 \langle\phi_{n-1}|\phi_n\rangle=\langle\phi_1|\phi_n\rangle=\frac{1}{2} ⟨ ϕ n − 1 ∣ ϕ n ⟩ = ⟨ ϕ 1 ∣ ϕ n ⟩ = 2 1 . While our method is not expected to be efficient for states of this form as the number of particles grows, since one has to estimate the B π B_\pi B π for the π \pi π cyclically shifting i ↦ i + 1 ( m o d n ) i\mapsto i+1\pmod n i ↦ i + 1 ( mod n ) which decays exponentially in n n n , we observe performance significantly better than our theoretical upper bound implies, in particular the quantity which quantifies our ability to make predictions about the outcomes of photonic experiments, the l 1 l_1 l 1 error of the external states, remains very low even as the upper bound and the error in the Gram matrices grows. In Figure 7 we explore the impact of having impure internal states on our protocol. The upper bound from theorem 2 consists of two parts, one part which could be termed “bias” arising from the impurity of the states, and one part which could be called “variance” which decays with the number of experimental shots. As expected, in Figure 7 as the number of experimental shots increases we observe our bound and the true observed errors in our reconstructions becoming asymptotic to the bias. Conversely as the single photon error rate becomes small at a fixed number of shots, we observe the quantities plotted becoming asymptotic to the “variance” term.
Figure 6. We apply our method, with Bargmann invariants measured using the Fourier method, to a system of “circle dance states”, where we have j = 1 … n − 1 j=1\ldots n-1 j = 1 … n − 1 ⟨ ϕ j ∣ ϕ j + 1 ⟩ = 1 2 \langle\phi_j|\phi_{j+1}\rangle=\frac{1}{2} ⟨ ϕ j ∣ ϕ j + 1 ⟩ = 2 1 for j = 1 … n − 1 j=1\ldots n-1 j = 1 … n − 1 with non-trivial complex phase ⟨ ϕ 1 ∣ ϕ n ⟩ = i 2 \langle\phi_1|\phi_n\rangle=\frac{i}{2} ⟨ ϕ 1 ∣ ϕ n ⟩ = 2 i . On the left we show the impact of increasing the number of experimental shots on a fixed-size system n = 5 n=5 n = 5 , while on the right we fix the number of experimental shots at 5,000,000 and increase n n n . Our method is not expected to be efficient in the number of shots as n n n grows, since we have to estimate an exponentially decaying Bargmann corresponding to the full cycle acting on all n n n states. Here the threshold value η \eta η is chosen to be 0.01.
Figure 7. Comparison of our upper bound, the Frobenius distance between the recovered and true Gram matrices and the trace-norm distance between the recovered and true external states for a system of 5 qubit states. Each state is formed by first choosing a pure state uniformly at random within the circular cap on the Bloch sphere with Pauli Z Z Z expectation-value greater than 0.9. The single qubit error probability (the x-axis for subfigures 7a and 7b) corresponds to depolarizing noise: each pure state is mixed with the maximally mixed state with to form ρ i = ( 1 − p ) ∣ ϕ i ⟩ ⟨ ϕ i ∣ + p I / n \rho_i = (1-p)|\phi_i\rangle\langle\phi_i| + pI/n ρ i = ( 1 − p ) ∣ ϕ i ⟩ ⟨ ϕ i ∣ + p I / n . For subfigures 7a and 7b the total number of shots per simulated experiment is 2 × 10 6 2 \times10^6 2 × 1 0 6 , while for subfigures 7c and 7d the single photon error rate is 3 × 10 − 3 3 \times10^{-3} 3 × 1 0 − 3 .
Conclusion
In this work, we have introduced a framework for characterizing the partial distinguishability of photons with pure (or nearly pure) product internal states via Gram-matrix tomography. Rather than directly reconstructing the internal degrees of freedom, the protocol targets the Gram matrix describing their relational information, which fully determines the visible state Ω e x t ( ψ ) \Omega_{\mathrm{ext}}(\psi) Ω ext ( ψ ) (Proposition 1) and hence the statistics of any experiment insensitive to the internal degrees of freedom (Corollary 1). The resulting sample complexity is independent of the internal dimension and polynomial in n n n whenever the required invariants are bounded from below, while we showed that Ω ( n 2 / δ 2 ) \Omega(n^2/\delta^2) Ω ( n 2 / δ 2 ) samples are necessary for any strategy.
We proposed two experimental routes to the required invariants: the Fourier method, which targets the estimation of each invariant with a dedicated interferometer, and the one-shot method, which extracts all second- and third-order invariants from the particle-number correlators of a single generic interferometer. Our analysis and simulations indicate that the one-shot method is well conditioned for random interferometers, but that the Fourier method achieves smaller errors for the same number of samples, reflecting a trade-off between experimental simplicity and reconstruction efficiency. In the cases considered, the observed errors lie below our analytical upper bounds.
Several questions remain open, including accounting for losses and calibration errors, and extending the framework beyond nearly pure product states, for which the minimal set of Bargmann invariants required for reconstruction has not yet been characterized. While we have introduced and explored two protocols for measuring the required Bargmann invariants for Gram matrix tomography in practical experiments, we do not claim that these protocols are optimal and it seems likely that future work could improve on these protocols.
We expect Gram-matrix tomography to become a practical tool for benchmarking photonic sources and for protocols that exploit photonic indistinguishability as a resource.
Acknowledgments
MR is a FRIA grantee of the Fonds de la Recherche Scientifique – FNRS. MO, MK, OR-S, BS and LN acknowledge the support from the European Union’s Horizon Europe research and innovation program under EPIQUE Project GA No. 101135288. The C4QEC project is carried out within the IRAP of the Foundation for Polish Science co-financed by the European Union. E. F. G. acknowledges funding from the National Council for Scientific and Technological Development – CNPq (Brazil) under grant 308292/2025-1.
Code availability
The code is available at the GitHub repository: https://github.com/benoitseron/gram_tomography and relies on the following package [34 ] .
AI use disclosure
ChatGPT 5.6 Sol was used for auxiliary computations in Appendix C and D. It also provided the proof of Proposition 1 and Theorem 3. Claude Code was used to help write the codebase and plots.
References
Appendix
This appendix contains the technical proofs, statistical error bounds, and mathematical derivations supporting the main results. Appendix A provides proofs for the trace-distance upper bound and the sample complexity lower bound, Appendix B analyzes the estimator error and the optimal spanning-tree selection for the reconstruction protocol, Appendix C proves the conditioning guarantees for random interferometers using Weingarten calculus and unitary concentration, Appendix D details the derivation of particle-number correlators, Appendix E addresses the certification of multiphoton indistinguishability and Appendix F shows how to reduce the linear system dimension for higher order invariants.
Proofs of technical statements
Trace distance upper bound (proof of prop:tvd-continuity)
Proof. In the permutation basis ∣ σ ⟩ = ∣ σ ( 1 ) , … , σ ( n ) ⟩ = P σ − 1 ∣ i 0 ⟩ \lvert\sigma\rangle= \lvert\sigma(1),\ldots,\sigma(n)\rangle= P_{\sigma^{-1}}\lvert i_0\rangle ∣ σ ⟩ = ∣ σ ( 1 ) , … , σ ( n )⟩ = P σ − 1 ∣ i 0 ⟩ , define the auxiliary n ! × n ! n! \times n! n ! × n ! matrix J ( G ) J(G) J ( G ) by J ( G ) σ , τ : = ∏ i = 1 n G σ ( i ) , τ ( i ) J(G)_{\sigma,\tau} := \prod_{i=1}^{n} G_{\sigma(i),\tau(i)} J ( G ) σ , τ := ∏ i = 1 n G σ ( i ) , τ ( i ) . Equation (10) then reads
Ω e x t ( ψ ) = 1 n ! ∑ σ , τ ∈ S n ∣ τ ⟩ ⟨ σ ∣ J ( G ) σ , τ . (53) \Omega_{\mathrm{ext}}(\psi) = \frac{1}{n!}\sum_{\sigma,\tau\in S_n}\lvert\tau\rangle\langle\sigma\rvert J(G)_{\sigma,\tau}. \tag*{(53)} Ω ext ( ψ ) = n ! 1 σ , τ ∈ S n ∑ ∣ τ ⟩ ⟨ σ ∣ J ( G ) σ , τ . (53)
Thus the matrix of Ω e x t ( ψ ) \Omega_{\mathrm{ext}}(\psi) Ω ext ( ψ ) in this basis is J ( G ) T / n ! J(G)^{T}/n! J ( G ) T / n ! . Transposition preserves the trace norm, so it suffices to bound ∥ J ( G ) − J ( G ′ ) ∥ 1 / n ! \lVert J(G)-J(G')\rVert_1/n! ∥ J ( G ) − J ( G ′ ) ∥ 1 / n ! . Let H = G − G ′ H=G-G' H = G − G ′ and for k = 1 , … , n k=1,\ldots,n k = 1 , … , n let H k H_k H k be the n ! × n ! n!\times n! n ! × n ! matrix defined by ( H k ) σ , τ : = H σ ( k ) , τ ( k ) (H_k)_{\sigma,\tau}:=H_{\sigma(k),\tau(k)} ( H k ) σ , τ := H σ ( k ) , τ ( k ) . Using a standard telescoping argument we can write:
J ( G ) σ , τ − J ( G ′ ) σ , τ = ∏ i = 1 n G σ ( i ) , τ ( i ) − ∏ i = 1 n G σ ( i ) , τ ( i ) ′ = ∑ k = 1 n ( ∏ i = 1 k − 1 G σ ( i ) , τ ( i ) ′ ) ( H k ) σ , τ ( ∏ i = k + 1 n G σ ( i ) , τ ( i ) ) (54) J(G)_{\sigma,\tau}-J(G')_{\sigma,\tau}=\prod_{i=1}^{n}G_{\sigma(i),\tau(i)}-\prod_{i=1}^{n}G'_{\sigma(i),\tau(i)}=\sum_{k=1}^{n}\left(\prod_{i=1}^{k-1}G'_{\sigma(i),\tau(i)}\right)(H_k)_{\sigma,\tau}\left(\prod_{i=k+1}^{n}G_{\sigma(i),\tau(i)}\right) \tag*{(54)} J ( G ) σ , τ − J ( G ′ ) σ , τ = i = 1 ∏ n G σ ( i ) , τ ( i ) − i = 1 ∏ n G σ ( i ) , τ ( i ) ′ = k = 1 ∑ n ( i = 1 ∏ k − 1 G σ ( i ) , τ ( i ) ′ ) ( H k ) σ , τ ( i = k + 1 ∏ n G σ ( i ) , τ ( i ) ) (54)
Let us define:
( C k ) σ , τ : = ∏ i = 1 k − 1 G σ ( i ) , τ ( i ) ′ ∏ i = k + 1 n G σ ( i ) , τ ( i ) (55) (C_k)_{\sigma,\tau}:=\prod_{i=1}^{k-1}G'_{\sigma(i),\tau(i)}\prod_{i=k+1}^{n}G_{\sigma(i),\tau(i)} \tag*{(55)} ( C k ) σ , τ := i = 1 ∏ k − 1 G σ ( i ) , τ ( i ) ′ i = k + 1 ∏ n G σ ( i ) , τ ( i ) (55)
so that:
J ( G ) σ , τ − J ( G ′ ) σ , τ = ∑ k = 1 n C k ∘ H k (56) J(G)_{\sigma,\tau}-J(G')_{\sigma,\tau}=\sum_{k=1}^{n}C_k\circ H_k \tag*{(56)} J ( G ) σ , τ − J ( G ′ ) σ , τ = k = 1 ∑ n C k ∘ H k (56)
where ∘ \circ ∘ denotes the entrywise product. We then clearly have:
∥ Ω e x t ( ψ ) − Ω e x t ( ψ ′ ) ∥ 1 = 1 n ! ∥ J ( G ) − J ( G ′ ) ∥ 1 ≤ 1 n ! ∑ k = 1 n ∥ C k ∘ H k ∥ 1 (57) \lVert\Omega_{\mathrm{ext}}(\psi)-\Omega_{\mathrm{ext}}(\psi')\rVert_1=\frac{1}{n!}\lVert J(G)-J(G')\rVert_1\leq\frac{1}{n!}\sum_{k=1}^{n}\lVert C_k\circ H_k\rVert_1 \tag*{(57)} ∥ Ω ext ( ψ ) − Ω ext ( ψ ′ ) ∥ 1 = n ! 1 ∥ J ( G ) − J ( G ′ ) ∥ 1 ≤ n ! 1 k = 1 ∑ n ∥ C k ∘ H k ∥ 1 (57)
We now claim that each C k C_k C k is a correlation matrix, i.e. a Gram matrix of unit vectors. To see this, choose any vectors v i , v i ′ v_i,v'_i v i , v i ′ such that G i j = ⟨ v i , v j ⟩ G_{ij}=\langle v_i,v_j\rangle G ij = ⟨ v i , v j ⟩ and G i j ′ = ⟨ v i ′ , v j ′ ⟩ G'_{ij}=\langle v'_i,v'_j\rangle G ij ′ = ⟨ v i ′ , v j ′ ⟩ . Then for each σ ∈ S n \sigma\in S_n σ ∈ S n define:
w σ ( k ) : = ⨂ i = 1 k − 1 v σ ( i ) ′ ⊗ ⨂ i = k + 1 n v σ ( i ) (58) w_{\sigma}^{(k)}:=\bigotimes_{i=1}^{k-1}v'_{\sigma(i)}\otimes\bigotimes_{i=k+1}^{n}v_{\sigma(i)} \tag*{(58)} w σ ( k ) := i = 1 ⨂ k − 1 v σ ( i ) ′ ⊗ i = k + 1 ⨂ n v σ ( i ) (58)
It is easily checked that each w σ ( k ) w_{\sigma}^{(k)} w σ ( k ) has unit norm and the Gram matrix of this set of vectors is exactly C k C_k C k . We now use the standard fact (see e.g. [35 ] ) that entry-wise multiplication by a correlation matrix is contractive on the set of Hermitian matrices in the trace norm, i.e. ∥ C ∘ A ∥ 1 ≤ ∥ A ∥ 1 \lVert C\circ A\rVert_1\leq\lVert A\rVert_1 ∥ C ∘ A ∥ 1 ≤ ∥ A ∥ 1 . We thus obtain:
∥ Ω e x t ( ψ ) − Ω e x t ( ψ ′ ) ∥ 1 ≤ 1 n ! ∑ k = 1 n ∥ H k ∥ 1 (59) \lVert\Omega_{\mathrm{ext}}(\psi)-\Omega_{\mathrm{ext}}(\psi')\rVert_1\leq\frac{1}{n!}\sum_{k=1}^{n}\lVert H_k\rVert_1 \tag*{(59)} ∥ Ω ext ( ψ ) − Ω ext ( ψ ′ ) ∥ 1 ≤ n ! 1 k = 1 ∑ n ∥ H k ∥ 1 (59)
We will now show that each ∥ H k ∥ 1 \lVert H_k\rVert_1 ∥ H k ∥ 1 is equal to ( n − 1 ) ! ⋅ ∥ H ∥ 1 (n-1)!\cdot\lVert H\rVert_1 ( n − 1 )! ⋅ ∥ H ∥ 1 , which will finish the proof since H = G − G ′ H=G-G' H = G − G ′ . To see this, fix k k k and let us order the permutation basis { ∣ π ⟩ } π ∈ S n \{\lvert\pi\rangle\}_{\pi\in S_n} {∣ π ⟩ } π ∈ S n according to the values of π ( k ) \pi(k) π ( k ) . The matrix H k H_k H k in this ordering consists of consecutive blocks of size ( n − 1 ) ! × ( n − 1 ) ! (n-1)!\times(n-1)! ( n − 1 )! × ( n − 1 )! , where each block has entries equal to H σ ( k ) , τ ( k ) H_{\sigma(k),\tau(k)} H σ ( k ) , τ ( k ) . We can thus write H k = H ⊗ J H_k=H\otimes J H k = H ⊗ J , where J J J is the ( n − 1 ) ! × ( n − 1 ) ! (n-1)!\times(n-1)! ( n − 1 )! × ( n − 1 )! matrix of all ones. It follows that ∥ H k ∥ 1 = ∥ H ∥ 1 ⋅ ∥ J ∥ 1 = ( n − 1 ) ! ∥ H ∥ 1 \lVert H_k\rVert_1=\lVert H\rVert_1\cdot\lVert J\rVert_1=(n-1)!\lVert H\rVert_1 ∥ H k ∥ 1 = ∥ H ∥ 1 ⋅ ∥ J ∥ 1 = ( n − 1 )! ∥ H ∥ 1 as desired. ∎
Sample complexity lower bound (proof of th:sample-lower-bound)
We start with an informal sketch. The logic of the lower bound proof follows a similar template as the lower bound on the sample complexity of tomography of quantum states [18 ] . Given a δ \delta δ , we construct a large family of states { ψ G } G ∈ G \{\psi_G\}_{G\in\mathcal{G}} { ψ G } G ∈ G , indexed by Gram matrices G G G from a family G \mathcal{G} G of size 2 Ω ( n 2 ) 2^{\Omega(n^2)} 2 Ω ( n 2 ) , such that:
External states Ω e x t ( ψ G ) , Ω e x t ( ψ G ′ ) \Omega_{\mathrm{ext}}(\psi_G),\Omega_{\mathrm{ext}}(\psi_{G'}) Ω ext ( ψ G ) , Ω ext ( ψ G ′ ) for G , G ′ ∈ G , G ≠ G ′ G,G'\in\mathcal{G},G\ne G' G , G ′ ∈ G , G = G ′ have large mutual distance:
∥ Ω e x t ( ψ G ) − Ω e x t ( ψ G ′ ) ∥ 1 > δ / 16 (60) \left\|\Omega_{\mathrm{ext}}(\psi_G)-\Omega_{\mathrm{ext}}(\psi_{G'})\right\|_1>\delta/16 \tag*{(60)} ∥ Ω ext ( ψ G ) − Ω ext ( ψ G ′ ) ∥ 1 > δ /16 (60)
Each external state Ω e x t ( ψ G ) \Omega_{\mathrm{ext}}(\psi_G) Ω ext ( ψ G ) has nearly minimal purity:
tr ( Ω e x t ( ψ G ) 2 ) ≤ 1 + 2 δ 2 n ! (61) \operatorname{tr}\left(\Omega_{\mathrm{ext}}(\psi_G)^2\right)\le\frac{1+2\delta^2}{n!} \tag*{(61)} tr ( Ω ext ( ψ G ) 2 ) ≤ n ! 1 + 2 δ 2 (61)
where n ! n! n ! is the dimension of the total space in which Ω e x t ( ψ G ) \Omega_{\mathrm{ext}}(\psi_G) Ω ext ( ψ G ) live. Property 1 allows us to reduce the task of external state estimation to state identification: given N N N copies of Ω e x t ( ψ G ) \Omega_{\mathrm{ext}}(\psi_G) Ω ext ( ψ G ) for unknown G ∈ G G\in\mathcal{G} G ∈ G , output the correct label G G G . Performing such identification with high probability requires at least log ∣ G ∣ = Ω ( n 2 ) \log|\mathcal{G}|=\Omega(n^2) log ∣ G ∣ = Ω ( n 2 ) bits of information about the label. Meanwhile, property 2 implies that each state Ω e x t ( ψ G ) \Omega_{\mathrm{ext}}(\psi_G) Ω ext ( ψ G ) has nearly maximal entropy. This, in turn, implies that the label information is only weakly correlated with the state – performing any measurement on a single copy can yield at most O ( δ 2 ) O(\delta^2) O ( δ 2 ) bits of information about the label. Taken together this implies that at least N ≈ n 2 δ 2 N\approx\frac{n^2}{\delta^2} N ≈ δ 2 n 2 copies are needed.
For a graph Γ \Gamma Γ on n n n vertices let A Γ A_\Gamma A Γ denote its adjacency matrix. For a fixed constant α \alpha α we define the matrix:
G Γ : = I + α n A Γ (62) G_\Gamma:=I+\sqrt{\frac{\alpha}{n}}A_\Gamma \tag*{(62)} G Γ := I + n α A Γ (62)
Lemma 1. For any α < 1 / 4 \alpha<1/4 α < 1/4 , for at least half of all possible graphs the matrix G Γ G_\Gamma G Γ is positive semidefinite and thus a Gram matrix of n n n vectors.
Proof. Write A Γ = J − I + X 2 A_\Gamma=\frac{J-I+X}{2} A Γ = 2 J − I + X , where J J J is the all ones matrix and X X X is a symmetric matrix with zero diagonal and X i j = X j i = ± 1 X_{ij}=X_{ji}=\pm1 X ij = X j i = ± 1 with probability 1 / 2 1/2 1/2 . Since J ⪰ 0 J\succeq0 J ⪰ 0 , the condition that G Γ ⪰ 0 G_\Gamma\succeq0 G Γ ⪰ 0 is easily seen to be equivalent to:
X ⪰ − ( 2 n α − 1 ) I (63) X\succeq-\left(2\sqrt{\frac{n}{\alpha}}-1\right)I \tag*{(63)} X ⪰ − ( 2 α n − 1 ) I (63)
It follows from classic random matrix theory [36 ] that the operator norm of X X X satisfies ∥ X ∥ ∞ ≤ 4 n \|X\|_\infty\le4\sqrt{n} ∥ X ∥ ∞ ≤ 4 n with probability tending to 1 as n → ∞ n\to\infty n → ∞ . A more precise nonasymptotic statement [37 ] gives (A11) for α < 1 / 4 \alpha<1/4 α < 1/4 .
Lemma 2. Fix α < 1 / 4 \alpha<1/4 α < 1/4 . There exists a family of graphs F \mathcal{F} F of size ≥ 2 1 10 ( n 2 ) \ge2^{\frac{1}{10}\binom{n}{2}} ≥ 2 10 1 ( 2 n ) such that: 1) for each Γ ∈ F \Gamma\in\mathcal{F} Γ ∈ F the matrix G Γ G_\Gamma G Γ is a Gram matrix; 2) for any Γ , Γ ′ ∈ F \Gamma,\Gamma'\in\mathcal{F} Γ , Γ ′ ∈ F , Γ ≠ Γ ′ \Gamma\ne\Gamma' Γ = Γ ′ the graphs differ in at least 1 4 ( n 2 ) \frac{1}{4}\binom{n}{2} 4 1 ( 2 n ) edges.
Proof. By Lemma 1, for at least half of all the 2 ( n 2 ) 2^{\binom{n}{2}} 2 ( 2 n ) graphs the matrix G Γ G_\Gamma G Γ is a Gram matrix. Denote this family of graphs by F + \mathcal{F}_+ F + . We construct the desired family F \mathcal{F} F greedily – start with any graph Γ 1 ∈ F + \Gamma_1\in\mathcal{F}_+ Γ 1 ∈ F + , remove from F + \mathcal{F}_+ F + all graphs which differ from Γ 1 \Gamma_1 Γ 1 in less than 1 4 ( n 2 ) \frac{1}{4}\binom{n}{2} 4 1 ( 2 n ) edges, pick any graph from the remaining family and iterate until no more graphs can be picked. The classical Gilbert-Varshamov bound [38 ] guarantees that the size of obtained family F \mathcal{F} F is at least 2 ( n 2 ) ( 1 − h ( 1 / 4 ) ) − 1 ≥ 2 1 10 ( n 2 ) 2^{\binom{n}{2}(1-h(1/4))-1}\ge2^{\frac{1}{10}\binom{n}{2}} 2 ( 2 n ) ( 1 − h ( 1/4 )) − 1 ≥ 2 10 1 ( 2 n ) , where h h h is the binary entropy function.
We now define G : = { G Γ ∣ Γ ∈ F } \mathcal{G}:=\{G_\Gamma\mid\Gamma\in\mathcal{F}\} G := { G Γ ∣ Γ ∈ F } , where F \mathcal{F} F is the graph family constructed in Lemma 2. For any G ∈ G G\in\mathcal{G} G ∈ G we consider the pure product internal state ψ G \psi_G ψ G with Gram matrix G G G .
Lemma 3. For any G ∈ G G\in\mathcal{G} G ∈ G the state Ω e x t ( ψ G ) \Omega_{\mathrm{ext}}(\psi_G) Ω ext ( ψ G ) satisfies:
tr ( Ω e x t ( ψ G ) 2 ) < 1 + 2 α 2 n ! (64) \operatorname{tr}\left(\Omega_{\mathrm{ext}}(\psi_G)^2\right)<\frac{1+2\alpha^2}{n!} \tag*{(64)} tr ( Ω ext ( ψ G ) 2 ) < n ! 1 + 2 α 2 (64)
Moreover, for any G , G ′ ∈ G , G ≠ G ′ G,G'\in\mathcal{G},G\ne G' G , G ′ ∈ G , G = G ′ we have:
∥ Ω e x t ( ψ G ) − Ω e x t ( ψ G ′ ) ∥ 1 > α 16 (65) \left\|\Omega_{\mathrm{ext}}(\psi_G)-\Omega_{\mathrm{ext}}(\psi_{G'})\right\|_1>\frac{\alpha}{16} \tag*{(65)} ∥ Ω ext ( ψ G ) − Ω ext ( ψ G ′ ) ∥ 1 > 16 α (65)
Proof. We first prove the purity bound (A12). By (10) we can write the purity as:
tr ( Ω e x t ( ψ G ) 2 ) = 1 n ! ∑ σ ∈ S n ∣ ∏ i = 1 n G i , σ ( i ) ∣ 2 (66) \operatorname{tr}(\Omega_{\mathrm{ext}}(\psi_G)^2)=\frac{1}{n!}\sum_{\sigma\in S_n}\left|\prod_{i=1}^{n}G_{i,\sigma(i)}\right|^2 \tag*{(66)} tr ( Ω ext ( ψ G ) 2 ) = n ! 1 σ ∈ S n ∑ i = 1 ∏ n G i , σ ( i ) 2 (66)
If a permutation σ ∈ S n \sigma\in S_n σ ∈ S n displaces exactly k k k vertices, by (A10) its corresponding term in the sum is either zero (if for any i i i the edge ( i , σ ( i ) ) (i,\sigma(i)) ( i , σ ( i )) is not present in the graph) or ( α n ) k \left(\frac{\alpha}{n}\right)^k ( n α ) k . The number of such permutations is at most k ! ( n k ) ≤ n k k!\binom{n}{k}\le n^k k ! ( k n ) ≤ n k . Thus:
tr ( Ω e x t ( ψ G ) 2 ) ≤ 1 n ! ( 1 + ∑ k = 2 n n k ( α n ) k ) ≤ 1 n ! ( 1 + α 2 1 − α ) ≤ 1 + 2 α 2 n ! (67) \operatorname{tr}(\Omega_{\mathrm{ext}}(\psi_G)^2)\le\frac{1}{n!}\left(1+\sum_{k=2}^{n}n^k\left(\frac{\alpha}{n}\right)^k\right)\le\frac{1}{n!}\left(1+\frac{\alpha^2}{1-\alpha}\right)\le\frac{1+2\alpha^2}{n!} \tag*{(67)} tr ( Ω ext ( ψ G ) 2 ) ≤ n ! 1 ( 1 + k = 2 ∑ n n k ( n α ) k ) ≤ n ! 1 ( 1 + 1 − α α 2 ) ≤ n ! 1 + 2 α 2 (67)
We now show (A13). Take G ≠ G ′ \mathcal{G}\ne\mathcal{G}' G = G ′ , G , G ′ ∈ G \mathcal{G},\mathcal{G}'\in\mathcal{G} G , G ′ ∈ G corresponding to two different graphs Γ , Γ ′ \Gamma,\Gamma' Γ , Γ ′ . By Lemma 2 the symmetric difference of the edge sets E : = E ( Γ ) △ E ( Γ ′ ) \mathcal{E}:=E(\Gamma)\mathbin{\triangle}E(\Gamma') E := E ( Γ ) △ E ( Γ ′ ) has size at least 1 4 ( n 2 ) > 1 12 n 2 \frac{1}{4}\binom{n}{2}>\frac{1}{12}n^2 4 1 ( 2 n ) > 12 1 n 2 . For an edge ( i , j ) ∈ E (i,j)\in\mathcal{E} ( i , j ) ∈ E define the sign:
s i j : = ( A Γ ) i j − ( A Γ ′ ) i j (68) s_{ij}:=(A_{\Gamma})_{ij}-(A_{\Gamma'})_{ij} \tag*{(68)} s ij := ( A Γ ) ij − ( A Γ ′ ) ij (68)
and:
T : = ∑ i < j , ( i j ) ∈ E s i j L ( i j ) (69) T:=\sum_{i<j,(ij)\in\mathcal{E}}s_{ij}L_{(ij)} \tag*{(69)} T := i < j , ( ij ) ∈ E ∑ s ij L ( ij ) (69)
where L π ∣ σ ⟩ : = ∣ π ∘ σ ⟩ L_{\pi}\lvert\sigma\rangle:=\lvert\pi\circ\sigma\rangle L π ∣ σ ⟩ := ∣ π ∘ σ ⟩ permutes the external mode labels. In particular, L ( i j ) L_{(ij)} L ( ij ) exchanges mode labels i i i and j j j in every tensor factor. Let D : = Ω e x t ( ψ G ) − Ω e x t ( ψ G ′ ) D:=\Omega_{\mathrm{ext}}(\psi_G)-\Omega_{\mathrm{ext}}(\psi_{G'}) D := Ω ext ( ψ G ) − Ω ext ( ψ G ′ ) , so that ∥ Ω e x t ( ψ G ) − Ω e x t ( ψ G ′ ) ∥ 1 = tr ( ∣ D ∣ ) \lVert\Omega_{\mathrm{ext}}(\psi_G)-\Omega_{\mathrm{ext}}(\psi_{G'})\rVert_1=\operatorname{tr}(|D|) ∥ Ω ext ( ψ G ) − Ω ext ( ψ G ′ ) ∥ 1 = tr ( ∣ D ∣ ) . We claim that:
tr ( ∣ D ∣ ) ≥ ∣ tr ( D T ) ∣ 2 tr ( D 2 ) tr ( T 4 ) (70) \operatorname{tr}(|D|)\ge\frac{|\operatorname{tr}(DT)|^2}{\sqrt{\operatorname{tr}(D^2)\operatorname{tr}(T^4)}} \tag*{(70)} tr ( ∣ D ∣ ) ≥ tr ( D 2 ) tr ( T 4 ) ∣ tr ( D T ) ∣ 2 (70)
Indeed, applying Cauchy-Schwarz twice gives:
∣ tr ( D T ) ∣ 2 ≤ tr ( ∣ D ∣ ) tr ( ∣ D ∣ T 2 ) ≤ tr ( ∣ D ∣ ) tr ( D 2 ) tr ( T 4 ) (71) |\operatorname{tr}(DT)|^2\le\operatorname{tr}(|D|)\operatorname{tr}(|D|T^2)\le\operatorname{tr}(|D|)\sqrt{\operatorname{tr}(D^2)\operatorname{tr}(T^4)} \tag*{(71)} ∣ tr ( D T ) ∣ 2 ≤ tr ( ∣ D ∣ ) tr ( ∣ D ∣ T 2 ) ≤ tr ( ∣ D ∣ ) tr ( D 2 ) tr ( T 4 ) (71)
The inequality (A18) can be seen as a noncommutative variant of Berger’s inequality, which states that E ∣ X ∣ ≥ ( E X 2 ) 3 / 2 ( E X 4 ) 1 / 2 \mathbb{E}|X|\ge\frac{(\mathbb{E}X^2)^{3/2}}{(\mathbb{E}X^4)^{1/2}} E ∣ X ∣ ≥ ( E X 4 ) 1/2 ( E X 2 ) 3/2 for a scalar random variable X X X .
We now bound the three quantities appearing in (A18). The trace tr ( D T ) \operatorname{tr}(DT) tr ( D T ) can be computed exactly using orthogonality of ∣ σ ⟩ \lvert\sigma\rangle ∣ σ ⟩ :
tr ( Ω e x t ( ψ G ) T ) = 1 n ! tr ( ∑ σ , τ ∈ S n ( i j ) ∈ E ∣ τ ⟩ ⟨ σ ∣ s i j L ( i j ) ∏ k = 1 n G σ ( k ) , τ ( k ) ) = 1 n ! tr ( ∑ σ ∈ S n ( i j ) ∈ E s i j ∏ k = 1 n G σ ( k ) , ( ( i j ) σ ) ( k ) ) = ∑ ( i j ) ∈ E s i j G i j 2 (72) \operatorname{tr}(\Omega_{\mathrm{ext}}(\psi_G)T)=\frac{1}{n!}\operatorname{tr}\left(\sum_{\substack{\sigma,\tau\in S_n\\(ij)\in\mathcal{E}}}\lvert\tau\rangle\langle\sigma\rvert s_{ij}L_{(ij)}\prod_{k=1}^{n}G_{\sigma(k),\tau(k)}\right)=\frac{1}{n!}\operatorname{tr}\left(\sum_{\substack{\sigma\in S_n\\(ij)\in\mathcal{E}}}s_{ij}\prod_{k=1}^{n}G_{\sigma(k),((ij)\sigma)(k)}\right)=\sum_{(ij)\in\mathcal{E}}s_{ij}G_{ij}^{2} \tag*{(72)} tr ( Ω ext ( ψ G ) T ) = n ! 1 tr σ , τ ∈ S n ( ij ) ∈ E ∑ ∣ τ ⟩ ⟨ σ ∣ s ij L ( ij ) k = 1 ∏ n G σ ( k ) , τ ( k ) = n ! 1 tr σ ∈ S n ( ij ) ∈ E ∑ s ij k = 1 ∏ n G σ ( k ) , (( ij ) σ ) ( k ) = ( ij ) ∈ E ∑ s ij G ij 2 (72)
Subtracting the trace gives:
tr ( D T ) = ∑ ( i j ) ∈ E s i j ( G i j 2 − ( G i j ′ ) 2 ) = ∑ ( i j ) ∈ E s i j 2 α n = α n ∣ E ∣ (73) \operatorname{tr}(DT)=\sum_{(ij)\in\mathcal{E}}s_{ij}\left(G_{ij}^{2}-(G'_{ij})^{2}\right)=\sum_{(ij)\in\mathcal{E}}s_{ij}^{2}\frac{\alpha}{n}=\frac{\alpha}{n}|\mathcal{E}| \tag*{(73)} tr ( D T ) = ( ij ) ∈ E ∑ s ij ( G ij 2 − ( G ij ′ ) 2 ) = ( ij ) ∈ E ∑ s ij 2 n α = n α ∣ E ∣ (73)
The trace tr ( D 2 ) \operatorname{tr}(D^2) tr ( D 2 ) is computed similarly as the purity:
n ! tr ( D 2 ) = ∑ σ ∈ S n ( ∏ k = 1 n G i , σ ( i ) − ∏ k = 1 n G i , σ ( i ) ′ ) 2 ≤ α 2 n 2 ∣ E ∣ + ∑ k = 3 n α k < α 2 n 2 ∣ E ∣ + α 3 1 − α < 5 α 2 n 2 ∣ E ∣ (74) n!\operatorname{tr}(D^2)=\sum_{\sigma\in S_n}\left(\prod_{k=1}^{n}G_{i,\sigma(i)}-\prod_{k=1}^{n}G'_{i,\sigma(i)}\right)^2\le\frac{\alpha^2}{n^2}|\mathcal{E}|+\sum_{k=3}^{n}\alpha^k<\frac{\alpha^2}{n^2}|\mathcal{E}|+\frac{\alpha^3}{1-\alpha}<\frac{5\alpha^2}{n^2}|\mathcal{E}| \tag*{(74)} n ! tr ( D 2 ) = σ ∈ S n ∑ ( k = 1 ∏ n G i , σ ( i ) − k = 1 ∏ n G i , σ ( i ) ′ ) 2 ≤ n 2 α 2 ∣ E ∣ + k = 3 ∑ n α k < n 2 α 2 ∣ E ∣ + 1 − α α 3 < n 2 5 α 2 ∣ E ∣ (74)
where in the last inequality we have used α < 1 / 4 \alpha<1/4 α < 1/4 , ∣ E ∣ > n 2 12 |\mathcal{E}|>\frac{n^2}{12} ∣ E ∣ > 12 n 2 . The first inequality follows by splitting the sum over σ \sigma σ intro transpositions and the rest. The latter is bounded exactly as in the computation for the purity, while the former is treated as in (A21). Finally, we need to upper bound tr ( T 4 ) \operatorname{tr}(T^4) tr ( T 4 ) . To this end, we count the number of ordered quadruples of the ∣ E ∣ |\mathcal{E}| ∣ E ∣ transpositions whose product is the identity. When the first two coincide, there are ∣ E ∣ 2 |\mathcal{E}|^2 ∣ E ∣ 2 possibilities. Otherwise, their product is either a three-cycle or two disjoint transpositions and its inverse has at most three ordered decompositions into two transpositions. Hence:
tr ( T 4 ) = n ! ( ∣ E ∣ 2 + 3 ∣ E ∣ ( ∣ E ∣ − 1 ) ) < n ! ⋅ 4 ∣ E ∣ 2 (75) \operatorname{tr}(T^4)=n!(|\mathcal{E}|^2+3|\mathcal{E}|(|\mathcal{E}|-1))<n!\cdot4|\mathcal{E}|^2 \tag*{(75)} tr ( T 4 ) = n ! ( ∣ E ∣ 2 + 3∣ E ∣ ( ∣ E ∣ − 1 )) < n ! ⋅ 4∣ E ∣ 2 (75)
Plugging (A21), (A22) and (A23) into (A18) yields:
tr ( ∣ D ∣ ) ≥ ( α n ! ∣ E ∣ ) 2 ( 5 α 2 n 2 ∣ E ∣ ⋅ 4 ∣ E ∣ 2 ) 1 / 2 = α ∣ E ∣ 1 / 2 2 5 n > α 16 (76) \operatorname{tr}(|D|)\geq\frac{\left(\frac{\alpha}{n!}|\mathcal{E}|\right)^2}{\left(\frac{5\alpha^2}{n^2}|\mathcal{E}|\cdot4|\mathcal{E}|^2\right)^{1/2}}=\frac{\alpha|\mathcal{E}|^{1/2}}{2\sqrt{5n}}>\frac{\alpha}{16} \tag*{(76)} tr ( ∣ D ∣ ) ≥ ( n 2 5 α 2 ∣ E ∣ ⋅ 4∣ E ∣ 2 ) 1/2 ( n ! α ∣ E ∣ ) 2 = 2 5 n α ∣ E ∣ 1/2 > 16 α (76)
as desired. □
Proof of Theorem 3. Consider the family of states S = { Ω e x t ( ψ G ) } G ∈ G S=\{\Omega_{\mathrm{ext}}(\psi_G)\}_{G\in\mathcal{G}} S = { Ω ext ( ψ G ) } G ∈ G for α = 32 δ \alpha=32\delta α = 32 δ . Consider any estimator ρ ^ \widehat{\rho} ρ that receives N N N copies of the input state and satisfies for any input G ∈ G G\in\mathcal{G} G ∈ G :
P ( ∥ ρ ^ − Ω e x t ( ψ G ) ∥ 1 < δ ) > 2 3 (77) \mathbb{P}\left(\left\|\widehat{\rho}-\Omega_{\mathrm{ext}}(\psi_G)\right\|_1<\delta\right)>\frac{2}{3} \tag*{(77)} P ( ∥ ρ − Ω ext ( ψ G ) ∥ 1 < δ ) > 3 2 (77)
The estimator can be used to solve the state identification task for S S S : given an unknown state Ω e x t ( ψ G ) \Omega_{\mathrm{ext} }(\psi_G) Ω ext ( ψ G ) with uniform probability, return the correct label G G G . We first apply the estimator ρ ^ \widehat{\rho} ρ to the input state and then return the label G G G of the state from S S S closest to ρ ^ \widehat{\rho} ρ . By Lemma 3 any two different states Ω e x t ( ψ G ) , Ω e x t ( ψ G ′ ) \Omega_{\mathrm{ext}}(\psi_G),\Omega_{\mathrm{ext}}(\psi_{G'}) Ω ext ( ψ G ) , Ω ext ( ψ G ′ ) are at least 2 δ 2\delta 2 δ apart, so if the input is Ω e x t ( ψ G ) \Omega_{\mathrm{ext}}(\psi_G) Ω ext ( ψ G ) , the procedure gives the correct label G G G with probability at least 2 / 3 2/3 2/3 . Thus, it suffices to show that solving the state identification problem for S S S with probability ≥ 2 / 3 \geq2/3 ≥ 2/3 requires at least N = Ω ( n 2 δ 2 ) N=\Omega\left(\frac{n^2}{\delta^2}\right) N = Ω ( δ 2 n 2 ) samples.
To bound the maximum probability for the state identification problem, we invoke Lemma 1 from [39 ] for the family of states { Ω e x t ( ψ G ) ⊗ N } G ∈ G \{\Omega_{\mathrm{ext}}(\psi_G)^{\otimes N}\}_{G\in\mathcal{G}} { Ω ext ( ψ G ) ⊗ N } G ∈ G and β = 1 / 2 \beta=1/2 β = 1/2 . In our notation the lemma states that the maximum probability of correct state identification is bounded by:
p ≤ 1 ∣ G ∣ tr ( ∑ G ∈ G ( Ω e x t ( ψ G ) ⊗ N ) 2 ) 1 / 2 (78) p\leq\frac{1}{|\mathcal{G}|}\operatorname{tr}\left(\sum_{G\in\mathcal{G}}\left(\Omega_{\mathrm{ext}}(\psi_G)^{\otimes N}\right)^2\right)^{1/2} \tag*{(78)} p ≤ ∣ G ∣ 1 tr ( G ∈ G ∑ ( Ω ext ( ψ G ) ⊗ N ) 2 ) 1/2 (78)
For any positive semidefinite matrix A A A on a space of dimension d d d we have tr A ≤ d tr A \operatorname{tr}\sqrt{A}\leq\sqrt{d}\sqrt{\operatorname{tr}A} tr A ≤ d tr A . By applying Lemma 3 we get:
p ≤ 1 ∣ G ∣ tr ( ∑ G ∈ G ( Ω e x t ( ψ G ) ⊗ N ) 2 ) 1 / 2 ≤ 1 ∣ G ∣ ( n ! ) N ( ∑ G ∈ G tr ( ( Ω e x t ( ψ G ) ⊗ N ) 2 ) ) 1 / 2 ≤ ( 1 + 2 ⋅ 32 2 δ 2 ) N ∣ G ∣ (79) p\leq\frac{1}{|\mathcal{G}|}\operatorname{tr}\left(\sum_{G\in\mathcal{G}}\left(\Omega_{\mathrm{ext}}(\psi_G)^{\otimes N}\right)^2\right)^{1/2}\leq\frac{1}{|\mathcal{G}|}\sqrt{(n!)^N}\left(\sum_{G\in\mathcal{G}}\operatorname{tr}\left(\left(\Omega_{\mathrm{ext}}(\psi_G)^{\otimes N}\right)^2\right)\right)^{1/2}\leq\sqrt{\frac{(1+2\cdot32^2\delta^2)^N}{|\mathcal{G}|}} \tag*{(79)} p ≤ ∣ G ∣ 1 tr ( G ∈ G ∑ ( Ω ext ( ψ G ) ⊗ N ) 2 ) 1/2 ≤ ∣ G ∣ 1 ( n ! ) N ( G ∈ G ∑ tr ( ( Ω ext ( ψ G ) ⊗ N ) 2 ) ) 1/2 ≤ ∣ G ∣ ( 1 + 2 ⋅ 3 2 2 δ 2 ) N (79)
Since we assumed p ≥ 2 / 3 p\geq2/3 p ≥ 2/3 , we obtain:
4 9 ∣ G ∣ ≤ ( 1 + 2048 ⋅ δ 2 ) N (80) \frac{4}{9|\mathcal{G}|}\leq(1+2048\cdot\delta^2)^N \tag*{(80)} 9∣ G ∣ 4 ≤ ( 1 + 2048 ⋅ δ 2 ) N (80)
so:
N > log ( 4 / 9 ∣ G ∣ ) log ( 1 + 2048 ⋅ δ 2 ) > log ( 4 / 9 ∣ G ∣ ) 2048 ⋅ δ 2 (81) N>\frac{\log(4/9|\mathcal{G}|)}{\log(1+2048\cdot\delta^2)}>\frac{\log(4/9|\mathcal{G}|)}{2048\cdot\delta^2} \tag*{(81)} N > log ( 1 + 2048 ⋅ δ 2 ) log ( 4/9∣ G ∣ ) > 2048 ⋅ δ 2 log ( 4/9∣ G ∣ ) (81)
Recalling from Lemma 2 that ∣ G ∣ ≥ 2 1 10 ( n 2 ) |\mathcal{G}|\geq2^{\frac{1}{10}\binom{n}{2}} ∣ G ∣ ≥ 2 10 1 ( 2 n ) yields the desired sample lower bound. □
Analysis of the tomography protocol
Error of estimators
Suppose for now that we have fixed a deterministic spanning tree T T T . We first analyze the estimator G ^ i j \widehat{G}_{ij} G ij for ( i , j ) ∈ T (i,j)\in T ( i , j ) ∈ T .
Proposition 3. For ( i , j ) ∈ T (i,j) \in T ( i , j ) ∈ T the mean square error of G ^ i j \widehat{G}_{ij} G ij given by (38) is bounded by:
E ∣ G ^ i j − G i j ∣ 2 ≤ 1 B i j ⋅ ( 16 ε 2 + k σ 2 N ) (82) \mathbb{E}\left|\widehat{G}_{ij}-G_{ij}\right|^2 \le\frac{1}{B_{ij}}\cdot\left(16\varepsilon^2+\frac{k\sigma^2}{N}\right) \tag*{(82)} E G ij − G ij 2 ≤ B ij 1 ⋅ ( 16 ε 2 + N k σ 2 ) (82)
Proof. We have:
∣ B ^ i j − B i j ∣ = ∣ B ^ i j − B i j ∣ B ^ i j + B i j ≤ ∣ B ^ i j − B i j ∣ B i j (83) \left|\sqrt{\widehat{B}_{ij}}-\sqrt{B_{ij}}\right|=\frac{\left|\widehat{B}_{ij}-B_{ij}\right|}{\sqrt{\widehat{B}_{ij}}+\sqrt{B_{ij}}}\le\frac{\left|\widehat{B}_{ij}-B_{ij}\right|}{\sqrt{B_{ij}}} \tag*{(83)} B ij − B ij = B ij + B ij B ij − B ij ≤ B ij B ij − B ij (83)
and therefore by (29):
E ∣ G ^ i j − G i j ∣ 2 ≤ 1 B i j ⋅ E ∣ B ^ i j − B i j ∣ 2 ≤ 1 B i j ⋅ ( 16 ε 2 + k σ 2 N ) (84) \mathbb{E}\left|\widehat{G}_{ij}-G_{ij}\right|^2\le\frac{1}{B_{ij}}\cdot\mathbb{E}\left|\widehat{B}_{ij}-B_{ij}\right|^2\le\frac{1}{B_{ij}}\cdot\left(16\varepsilon^2+\frac{k\sigma^2}{N}\right) \tag*{(84)} E G ij − G ij 2 ≤ B ij 1 ⋅ E B ij − B ij 2 ≤ B ij 1 ⋅ ( 16 ε 2 + N k σ 2 ) (84)
□ \square □
We now analyze the more complicated estimator G ^ i j \widehat{G}_{ij} G ij for ( i , j ) ∉ T (i,j)\notin T ( i , j ) ∈ / T given by (39) .
Proposition 4. For ( i , j ) ∉ T (i,j)\notin T ( i , j ) ∈ / T the mean square error of G ^ i j \widehat{G}_{ij} G ij given by (39) is bounded by:
E ( G ^ i j − G i j ) 2 ≤ 2 B i j ( 16 ε 2 + k σ 2 N ) + 8 B i j ∣ B π ( i , j ) ∣ 2 ⋅ ( 4 m i j 2 ε 2 + k σ 2 N ) (85) \mathbb{E}\left(\widehat{G}_{ij}-G_{ij}\right)^2\le\frac{2}{B_{ij}}\left(16\varepsilon^2+\frac{k\sigma^2}{N}\right)+\frac{8B_{ij}}{\left|B_{\pi(i,j)}\right|^2}\cdot\left(4m_{ij}^2\varepsilon^2+\frac{k\sigma^2}{N}\right) \tag*{(85)} E ( G ij − G ij ) 2 ≤ B ij 2 ( 16 ε 2 + N k σ 2 ) + B π ( i , j ) 2 8 B ij ⋅ ( 4 m ij 2 ε 2 + N k σ 2 ) (85) where m i j m_{ij} m ij is one plus the length of the path connecting i i i and j j j in the tree T T T .
Proof. For notational simplicity let X = e i φ i j X=e^{i\varphi_{ij}} X = e i φ ij , Y = B i j Y=\sqrt{B_{ij}} Y = B ij , X ^ = e i φ ^ i j \widehat{X}=e^{i\widehat{\varphi}_{ij}} X = e i φ ij , Y ^ = B ^ i j \widehat{Y}=\sqrt{\widehat{B}_{ij}} Y = B ij , so that G i j = X Y , G ^ i j = X ^ ⋅ Y ^ G_{ij}=XY,\widehat{G}_{ij}=\widehat{X}\cdot\widehat{Y} G ij = X Y , G ij = X ⋅ Y . Recall that X = B π ( i , j ) ∣ B π ( i , j ) ∣ X=\frac{B_{\pi(i,j)}}{\left|B_{\pi(i,j)}\right|} X = ∣ B π ( i , j ) ∣ B π ( i , j ) and X ^ = B ^ π ( i , j ) ∣ B ^ π ( i , j ) ∣ \widehat{X}=\frac{\widehat{B}_{\pi(i,j)}}{\left|\widehat{B}_{\pi(i,j)}\right|} X = ∣ B π ( i , j ) ∣ B π ( i , j ) . We first write:
G ^ i j − G i j = X ^ ⋅ Y ^ − X Y = X ^ ( Y ^ − Y ) + Y ( X ^ − X ) (86) \widehat{G}_{ij}-G_{ij}=\widehat{X}\cdot\widehat{Y}-XY=\widehat{X}(\widehat{Y}-Y)+Y(\widehat{X}-X) \tag*{(86)} G ij − G ij = X ⋅ Y − X Y = X ( Y − Y ) + Y ( X − X ) (86) so that:
( G ^ i j − G i j ) 2 ≤ 2 ∣ X ^ ∣ 2 ( Y ^ − Y ) 2 + 2 Y 2 ∣ X ^ − X ∣ 2 = 2 ( Y ^ − Y ) 2 + 2 Y 2 ∣ X ^ − X ∣ 2 (87) \left(\widehat{G}_{ij}-G_{ij}\right)^2\le2|\widehat{X}|^2(\widehat{Y}-Y)^2+2Y^2|\widehat{X}-X|^2=2(\widehat{Y}-Y)^2+2Y^2|\widehat{X}-X|^2 \tag*{(87)} ( G ij − G ij ) 2 ≤ 2∣ X ∣ 2 ( Y − Y ) 2 + 2 Y 2 ∣ X − X ∣ 2 = 2 ( Y − Y ) 2 + 2 Y 2 ∣ X − X ∣ 2 (87) For any complex numbers z , w z,w z , w with w ≠ 0 w\ne0 w = 0 the following inequality is easily verified:
∣ z ∣ z ∣ − w ∣ w ∣ ∣ ≤ 2 ∣ z − w ∣ ∣ w ∣ (88) \left|\frac{z}{|z|}-\frac{w}{|w|}\right|\le\frac{2|z-w|}{|w|} \tag*{(88)} ∣ z ∣ z − ∣ w ∣ w ≤ ∣ w ∣ 2∣ z − w ∣ (88) This immediately yields:
∣ X ^ − X ∣ ≤ 2 ∣ B ^ π ( i , j ) − B π ( i , j ) ∣ ∣ B π ( i , j ) ∣ (89) |\widehat{X}-X|\le\frac{2\left|\widehat{B}_{\pi(i,j)}-B_{\pi(i,j)}\right|}{\left|B_{\pi(i,j)}\right|} \tag*{(89)} ∣ X − X ∣ ≤ B π ( i , j ) 2 B π ( i , j ) − B π ( i , j ) (89) Plugging back to (B6) we obtain:
E ( G ^ i j − G i j ) 2 ≤ 2 E ( B ^ i j − B i j ) 2 + 8 B i j ∣ B π ( i , j ) ∣ 2 ⋅ E ∣ B ^ π ( i , j ) − B π ( i , j ) ∣ 2 (90) \mathbb{E}\left(\widehat{G}_{ij}-G_{ij}\right)^2\le2\mathbb{E}\left(\widehat{B}_{ij}-B_{ij}\right)^2+\frac{8B_{ij}}{\left|B_{\pi(i,j)}\right|^2}\cdot\mathbb{E}\left|\widehat{B}_{\pi(i,j)}-B_{\pi(i,j)}\right|^2 \tag*{(90)} E ( G ij − G ij ) 2 ≤ 2 E ( B ij − B ij ) 2 + B π ( i , j ) 2 8 B ij ⋅ E B π ( i , j ) − B π ( i , j ) 2 (90) which by (29) gives:
E ( G ^ i j − G i j ) 2 ≤ 2 B i j ( 16 ε 2 + k σ 2 N ) + 8 B i j ∣ B π ( i , j ) ∣ 2 ⋅ ( 4 m i j 2 ε 2 + k σ 2 N ) (91) \mathbb{E}\left(\widehat{G}_{ij}-G_{ij}\right)^2\le\frac{2}{B_{ij}}\left(16\varepsilon^2+\frac{k\sigma^2}{N}\right)+\frac{8B_{ij}}{\left|B_{\pi(i,j)}\right|^2}\cdot\left(4m_{ij}^2\varepsilon^2+\frac{k\sigma^2}{N}\right) \tag*{(91)} E ( G ij − G ij ) 2 ≤ B ij 2 ( 16 ε 2 + N k σ 2 ) + B π ( i , j ) 2 8 B ij ⋅ ( 4 m ij 2 ε 2 + N k σ 2 ) (91) as desired. □ \square □
Consider now the protocol from Section III C. In order to use the above bounds we assume that the spanning tree T T T is chosen independently from the estimators of Bargmann invariants. Combining Proposition 3 and Proposition 4 immediately yields the following bound on the total MSE:
E ∥ G − G ^ ∥ 2 2 = ∑ i , j E ( G ^ i j − G i j ) 2 ≤ (92) \mathbb{E}\lVert G-\widehat{G}\rVert_2^2=\sum_{i,j}\mathbb{E}(\widehat{G}_{ij}-G_{ij})^2\le \tag*{(92)} E ∥ G − G ∥ 2 2 = i , j ∑ E ( G ij − G ij ) 2 ≤ (92)
∑ ( i , j ) ∈ T ( 1 B i j ⋅ ( 16 ε 2 + k σ 2 N ) ) + ∑ ( i , j ) ∉ T ( 2 B i j ( 16 ε 2 + k σ 2 N ) + 8 B i j ∣ B π ( i , j ) ∣ 2 ⋅ ( 4 m i j 2 ε 2 + k σ 2 N ) ) (93) \sum_{(i,j)\in T}\left(\frac{1}{B_{ij}}\cdot\left(16\varepsilon^2+\frac{k\sigma^2}{N}\right)\right)+\sum_{(i,j)\notin T}\left(\frac{2}{B_{ij}}\left(16\varepsilon^2+\frac{k\sigma^2}{N}\right)+\frac{8B_{ij}}{\lvert B_{\pi(i,j)}\rvert^2}\cdot\left(4m_{ij}^2\varepsilon^2+\frac{k\sigma^2}{N}\right)\right) \tag*{(93)} ( i , j ) ∈ T ∑ ( B ij 1 ⋅ ( 16 ε 2 + N k σ 2 ) ) + ( i , j ) ∈ / T ∑ ( B ij 2 ( 16 ε 2 + N k σ 2 ) + ∣ B π ( i , j ) ∣ 2 8 B ij ⋅ ( 4 m ij 2 ε 2 + N k σ 2 ) ) (93)
This already gives us the formula from Proposition 2:
E ∥ G − G ^ ∥ 2 2 ≤ A N + B ε 2 (94) \mathbb{E}\lVert G-\widehat{G}\rVert_2^2\le\frac{A}{N}+B\varepsilon^2 \tag*{(94)} E ∥ G − G ∥ 2 2 ≤ N A + B ε 2 (94)
with:
A = k σ 2 ( ∑ ( i , j ) ∈ T 1 B i j + 2 ∑ ( i , j ) ∉ T ( 1 B i j + 4 B i j ∣ B π ( i , j ) ∣ 2 ) ) (95) A=k\sigma^2\left(\sum_{(i,j)\in T}\frac{1}{B_{ij}}+2\sum_{(i,j)\notin T}\left(\frac{1}{B_{ij}}+\frac{4B_{ij}}{\lvert B_{\pi(i,j)}\rvert^2}\right)\right) \tag*{(95)} A = k σ 2 ( i , j ) ∈ T ∑ B ij 1 + 2 ( i , j ) ∈ / T ∑ ( B ij 1 + ∣ B π ( i , j ) ∣ 2 4 B ij ) (95)
B = 16 ( ∑ ( i , j ) ∈ T 1 B i j + 2 ∑ ( i , j ) ∉ T ( 1 B i j + B i j m i j 2 ∣ B π ( i , j ) ∣ 2 ) ) (96) B=16\left(\sum_{(i,j)\in T}\frac{1}{B_{ij}}+2\sum_{(i,j)\notin T}\left(\frac{1}{B_{ij}}+\frac{B_{ij}m_{ij}^2}{\lvert B_{\pi(i,j)}\rvert^2}\right)\right) \tag*{(96)} B = 16 ( i , j ) ∈ T ∑ B ij 1 + 2 ( i , j ) ∈ / T ∑ ( B ij 1 + ∣ B π ( i , j ) ∣ 2 B ij m ij 2 ) (96)
If some of the Bargmann invariants in the denominators of (B15), (B14) are very small, the bounds become useless. This can be mitigated by introducing a nonzero threshold η > 0 \eta>0 η > 0 and removing edges for which B i j < η B_{ij}<\eta B ij < η , which amounts to setting the desired Gram matrix entry G i j G_{ij} G ij to zero. In this way we obtain:
E ∥ G − G ^ ∥ 2 2 ≤ A η N + B η ε 2 + n η ⋅ η (97) \mathbb{E}\lVert G-\widehat{G}\rVert_2^2\le\frac{A_\eta}{N}+B_\eta\varepsilon^2+n_\eta\cdot\eta \tag*{(97)} E ∥ G − G ∥ 2 2 ≤ N A η + B η ε 2 + n η ⋅ η (97)
where A η , B η A_\eta,B_\eta A η , B η are versions of (B15), (B14) with summation only over ( i , j ) (i,j) ( i , j ) such that B i j ≥ η B_{ij}\ge\eta B ij ≥ η and n η n_\eta n η is the number of removed edges. With additional assumptions a judicious choice of η ∼ 1 poly ( n ) \eta\sim\frac{1}{\operatorname{poly}(n)} η ∼ poly ( n ) 1 gives an upper bound on the error that does not depend on the magnitudes of Bargmann invariants. For example, if we choose η ∼ δ 2 n 3 \eta\sim\frac{\delta^2}{n^3} η ∼ n 3 δ 2 and the resulting graph admits a spanning tree which is a star, the total number of samples needed to get accuracy δ \delta δ scales as O ( n 11 δ 6 ) O\left(\frac{n^{11}}{\delta^6}\right) O ( δ 6 n 11 ) .
The above expressions are valid for any fixed spanning tree T T T chosen independently of the estimators, but do not readily give an effective recipe for finding a T T T which minimizes the total error since (B15), (B14) are complicated functions of T T T and corresponding Bargmann invariants B π ( i , j ) B_{\pi(i,j)} B π ( i , j ) . We propose a heuristic choice of T T T that tries to maximize the worst denominator B π ( i , j ) B_{\pi(i,j)} B π ( i , j ) occurring in the error bounds and can be found by a polynomial time algorithm. We describe this procedure in the following section.
Finding the optimal spanning tree
Let Γ \Gamma Γ be a connected graph on n n n vertices with edge weights B i j B_{ij} B ij for ( i , j ) ∈ Γ (i,j)\in\Gamma ( i , j ) ∈ Γ . For a spanning tree T T T of Γ \Gamma Γ define:
M ( T ) : = min π ∈ T ∏ u l ∈ π B u l , u l + 1 (98) M(T):=\min_{\pi\in T}\prod_{u_l\in\pi}B_{u_l,u_{l+1}} \tag*{(98)} M ( T ) := π ∈ T min u l ∈ π ∏ B u l , u l + 1 (98)
i.e. the minimum product of edge weights along a path in the tree T T T . By (32) we see that:
∣ B π ( i , j ) ∣ ≥ B i j ⋅ M ( T ) (99) \lvert B_{\pi(i,j)}\rvert\ge\sqrt{B_{ij}}\cdot\sqrt{M(T)} \tag*{(99)} ∣ B π ( i , j ) ∣ ≥ B ij ⋅ M ( T ) (99)
We will now show how to efficiently find T T T which maximizes M ( T ) M(T) M ( T ) . By (B18) this in turn provides a desired upper bound on the error terms in (B15), (B14) that depend on 1 ∣ B π ( i , j ) ∣ 2 \frac{1}{\lvert B_{\pi(i,j)}\rvert^2} ∣ B π ( i , j ) ∣ 2 1 .
Consider an arbitrary weighted graph with edge weights w i j ∈ [ 0 , 1 ] w_{ij}\in[0,1] w ij ∈ [ 0 , 1 ] . For a path π = ( v 1 , … , v k ) \pi=(v_1,\ldots,v_k) π = ( v 1 , … , v k ) connecting two vertices we define its weight as:
w ( π ) : = ∏ i = 1 k − 1 w ( u i , u i + 1 ) (100) w(\pi):=\prod_{i=1}^{k-1}w(u_i,u_{i+1}) \tag*{(100)} w ( π ) := i = 1 ∏ k − 1 w ( u i , u i + 1 ) (100)
We want to find the spanning tree T T T that maximizes min π ∈ T w ( π ) \min_{\pi\in T} w(\pi) min π ∈ T w ( π ) , where the maximum is taken over all paths in T T T . Note that for any path π \pi π :
w ( π ) = ∏ i = 1 k − 1 w ( u i , u i + 1 ) = exp ( ∑ i = 1 k − 1 log w ( u i , u i + 1 ) ) = exp ( − ∑ i = 1 k − 1 γ ( u i , u i + 1 ) ) (101) w(\pi) = \prod_{i=1}^{k-1} w(u_i,u_{i+1}) = \exp\left(\sum_{i=1}^{k-1} \log w(u_i,u_{i+1})\right) = \exp\left(-\sum_{i=1}^{k-1} \gamma(u_i,u_{i+1})\right) \tag*{(101)} w ( π ) = i = 1 ∏ k − 1 w ( u i , u i + 1 ) = exp ( i = 1 ∑ k − 1 log w ( u i , u i + 1 ) ) = exp ( − i = 1 ∑ k − 1 γ ( u i , u i + 1 ) ) (101)
where we define γ ( u , v ) = − log w ( u , v ) \gamma(u,v)=-\log w(u,v) γ ( u , v ) = − log w ( u , v ) . Note that since w ( u , v ) ∈ [ 0 , 1 ] w(u,v) \in[0,1] w ( u , v ) ∈ [ 0 , 1 ] , the weights γ \gamma γ are nonnegative and obviously for any spanning tree T T T :
min π ∈ T w ( π ) = min π ∈ T exp ( − ∑ i = 1 k − 1 γ ( u i , u i + 1 ) ) = exp ( − max π ∈ T ∑ i = 1 k − 1 γ ( u i , u i + 1 ) ) (102) \min_{\pi\in T} w(\pi) = \min_{\pi\in T} \exp\left(-\sum_{i=1}^{k-1} \gamma(u_i,u_{i+1})\right) = \exp\left(-\max_{\pi\in T}\sum_{i=1}^{k-1} \gamma(u_i,u_{i+1})\right) \tag*{(102)} π ∈ T min w ( π ) = π ∈ T min exp ( − i = 1 ∑ k − 1 γ ( u i , u i + 1 ) ) = exp ( − π ∈ T max i = 1 ∑ k − 1 γ ( u i , u i + 1 ) ) (102)
Thus, we equivalently need to find a spanning tree T T T that minimizes max π ∈ T γ ( π ) \max_{\pi\in T}\gamma(\pi) max π ∈ T γ ( π ) , where:
γ ( π ) : = ∑ i = 1 k − 1 γ ( u i , u i + 1 ) . (103) \gamma(\pi) := \sum_{i=1}^{k-1} \gamma(u_i,u_{i+1}). \tag*{(103)} γ ( π ) := i = 1 ∑ k − 1 γ ( u i , u i + 1 ) . (103)
This is equivalent to solving the Minimum Diameter Spanning Tree (MDST) problem for a weighted graph, which can be easily solved in time O ( m n + n 2 log n ) O(mn+n^2\log n) O ( mn + n 2 log n ) [40 ] .
By plugging (B18) into (B15), (B14) we obtain the following bounds:
A ≤ k σ 2 ( ∑ ( i , j ) ∈ T 1 B i j + 2 ∑ ( i , j ) ∉ T ( 1 B i j + 4 M ( T ) ) ) (104) A \leq k\sigma^2\left(\sum_{(i,j)\in T}\frac{1}{B_{ij}}+2\sum_{(i,j)\notin T}\left(\frac{1}{B_{ij}}+\frac{4}{M(T)}\right)\right) \tag*{(104)} A ≤ k σ 2 ( i , j ) ∈ T ∑ B ij 1 + 2 ( i , j ) ∈ / T ∑ ( B ij 1 + M ( T ) 4 ) (104)
B ≤ 16 ( ∑ ( i , j ) ∈ T 1 B i j + 2 ∑ ( i , j ) ∉ T ( 1 B i j + m i j 2 M ( T ) ) ) (105) B \leq16\left(\sum_{(i,j)\in T}\frac{1}{B_{ij}}+2\sum_{(i,j)\notin T}\left(\frac{1}{B_{ij}}+\frac{m_{ij}^2}{M(T)}\right)\right) \tag*{(105)} B ≤ 16 ( i , j ) ∈ T ∑ B ij 1 + 2 ( i , j ) ∈ / T ∑ ( B ij 1 + M ( T ) m ij 2 ) (105)
More refined choices of T T T , resulting in a smaller error bound, are possible. However, we expect that in most cases of practical interest the choice of a sufficiently good spanning tree will not be the bottleneck of the protocol (e.g. if all Bargmann invariants are close to 1, we can simply choose T T T to be a star rooted at arbitrary vertex), so we have not optimized the choice of the tree further.
Condition number proof
In this section we prove that the inversion procedure from Section IV, used to estimate Bargmann invariants tr ( ρ k ρ l ) \operatorname{tr}(\rho_k\rho_l) tr ( ρ k ρ l ) of order two from correlators ⟨ n i n j ⟩ \langle n_i n_j\rangle ⟨ n i n j ⟩ by inverting a linear system, is well conditioned for generic interferometers once m ≫ n 2 m \gg n^2 m ≫ n 2 (the diluted regime). Our proof technique falls short of proving the same assuming only m ≫ n m \gg n m ≫ n (the saturated regime), but we present strong numerical evidence that the system is in fact well conditioned as soon as m ≫ n m \gg n m ≫ n . We also provide numerical evidence for well conditioning of linear system required to solve for Bargmann invariants of order three (see discussion in Section IV).
The proof strategy reduces the condition number to bounding, with high probability the singular values of the linear system matrix. This is achieved using basic random matrix methods together with computing Haar measure integrals via Weingarten calculus and then using concentration inequalities over the unitary group.
Setup
Recall the linear system described by (50) , (51) :
A 2 ( U ) x 2 = b 2 (106) A_2(U)x_2=b_2 \tag*{(106)} A 2 ( U ) x 2 = b 2 (106)
where x 2 = ( tr ( ρ k ρ l ) ) k ≠ l x_2=(\operatorname{tr}(\rho_k\rho_l))_{k\ne l} x 2 = ( tr ( ρ k ρ l ) ) k = l is the vector of Bargmann invariants of order two, b 2 = ( b i j ) i ≠ j b_2=(b_{ij})_{i\ne j} b 2 = ( b ij ) i = j is the right hand side vector of values corresponding to shifted correlators (cf. (50) ) and A ( U ) A(U) A ( U ) is the matrix depending on the interferometer:
A 2 ( U ) i j ; k l = U i k U j l U ‾ i l U ‾ j k (107) A_2(U)_{ij;kl}=U_{ik}U_{jl}\overline{U}_{il}\overline{U}_{jk} \tag*{(107)} A 2 ( U ) ij ; k l = U ik U j l U i l U j k (107)
Since both x 2 x_2 x 2 and b 2 b_2 b 2 are symmetric with respect to changing indices k ↔ l k \leftrightarrow l k ↔ l , i ↔ j i \leftrightarrow j i ↔ j , we can retain only their parts indexed, respectively, by unordered pairs e = { k , l } e = \{k,l\} e = { k , l } and α = { i , j } \alpha= \{i,j\} α = { i , j } , denoted by x x x and b b b . The linear system (C1) is then equivalent to:
A ( U ) x = b (108) A(U)x=b \tag*{(108)} A ( U ) x = b (108)
where A A A is an ( m 2 ) × ( n 2 ) \binom{m}{2} \times\binom{n}{2} ( 2 m ) × ( 2 n ) matrix with entries:
A ( U ) e , α : = ( A 2 ) i j , k l + ( A 2 ) i j , l k = 2 Re ( U i k U j l U ‾ i l U ‾ j k ) (109) A(U)_{e,\alpha}:=(A_2)_{ij,kl}+(A_2)_{ij,lk}=2\operatorname{Re}\left(U_{ik}U_{jl}\overline{U}_{il}\overline{U}_{jk}\right) \tag*{(109)} A ( U ) e , α := ( A 2 ) ij , k l + ( A 2 ) ij , l k = 2 Re ( U ik U j l U i l U j k ) (109)
We will write A A A instead of A ( U ) A(U) A ( U ) , where implicitly U U U is taken to be a Haar random unitary matrix.
It is standard in numerical linear algebra that the relative error of the solution x x x with respect to the error in the input b b b depends on the condition number of the matrix A A A , equal to κ ( A ) : = ∥ A ∥ ⋅ ∥ A − 1 ∥ \kappa(A):=\lVert A\rVert\cdot\lVert A^{-1}\rVert κ ( A ) := ∥ A ∥ ⋅ ∥ A − 1 ∥ , where A − 1 A^{-1} A − 1 is the Moore–Penrose pseudoinverse. The system is said to be well conditioned if κ ( A ) \kappa(A) κ ( A ) is sufficiently small – in our setting this will mean that κ ( A ) = O ( 1 ) \kappa(A)=O(1) κ ( A ) = O ( 1 ) (i.e. does not depend on the system size).
We will show that with high probability over the choice of U U U the norms ∥ A ∥ = O ( m − 1 ) \lVert A\rVert=O(m^{-1}) ∥ A ∥ = O ( m − 1 ) , ∥ A − 1 ∥ = O ( m ) \lVert A^{-1}\rVert=O(m) ∥ A − 1 ∥ = O ( m ) , which will imply that κ ( A ) \kappa(A) κ ( A ) is of order O ( 1 ) O(1) O ( 1 ) . To this end, it suffices to bound the largest and smallest singular values σ max , σ min \sigma_{\max},\sigma_{\min} σ m a x , σ m i n of the matrix A A A , which are equal to the square roots of largest and smallest eigenvalues λ max , λ min \lambda_{\max},\lambda_{\min} λ m a x , λ m i n of A T A A^T A A T A . The bound β ≤ λ min , λ max ≤ α \beta\leq\lambda_{\min},\lambda_{\max}\leq\alpha β ≤ λ m i n , λ m a x ≤ α is equivalent to:
β I ≤ A T A ≤ α I (110) \beta I\leq A^T A\leq\alpha I \tag*{(110)} β I ≤ A T A ≤ α I (110)
in the positive semidefinite order.
Our main result is the following theorem:
Theorem 4. Assume m ≥ C ⋅ n 2 ( log n ) 16 m\geq C\cdot n^2(\log n)^{16} m ≥ C ⋅ n 2 ( log n ) 16 for a sufficiently large constant C C C . Then with probability at least 1 − 1 n 1-\frac{1}{n} 1 − n 1 over the choice of U U U the matrix A A A satisfies:
1 4 ⋅ 1 m 2 I ≤ A T A ≤ 2 m 2 I (111) \frac{1}{4}\cdot\frac{1}{m^2}I\leq A^T A\leq\frac{2}{m^2}I \tag*{(111)} 4 1 ⋅ m 2 1 I ≤ A T A ≤ m 2 2 I (111) In particular, the condition number κ ( A ) \kappa(A) κ ( A ) is with high probability bounded by 8 < 3 \sqrt{8}<3 8 < 3 .
While Theorem 4 rigorously guarantees that the linear system A 2 x 2 = b 2 A_2x_2=b_2 A 2 x 2 = b 2 is well-conditioned in the dilute regime (m ≫ n 2 m\gg n^2 m ≫ n 2 ), the analytical bound m ≫ n 2 ( log n ) 16 m\gg n^2(\log n)^{16} m ≫ n 2 ( log n ) 16 is overly conservative. In practical photonic architectures operating near the dense limit, well-conditioned inversion is expected to persist across the entire linear-scaling regime m ≥ ( 1 + δ ) n m \ge(1+\delta)n m ≥ ( 1 + δ ) n for any δ > 0 \delta> 0 δ > 0 , as suggested by Proposition 5.
To test this behavior, we numerically analyze the condition numbers κ ( A 2 ) \kappa(A_2) κ ( A 2 ) and κ ( A 3 ) \kappa(A_3) κ ( A 3 ) for reconstructing second- and third-order Bargmann invariants, respectively. For fixed photon numbers n n n and mode counts m m m , we sample passive linear interferometers U U U uniformly from the Haar measure on U ( m ) U(m) U ( m ) to construct the measurement matrices A 2 A_2 A 2 and A 3 A_3 A 3 . As shown in Figure 8 , both κ ( A 2 ) \kappa(A_2) κ ( A 2 ) and κ ( A 3 ) \kappa(A_3) κ ( A 3 ) drop steeply as the ratio m / n m/n m / n increases, flattening to a baseline of κ ≈ 1.5 \kappa\approx1.5 κ ≈ 1.5 –2.0 2.0 2.0 for m / n ≥ 5 m/n \ge5 m / n ≥ 5 . Down to m / n = 2 m/n = 2 m / n = 2 —a lower bound chosen arbitrarily for numerical display rather than a physical transition—the condition numbers remain consistently small (κ ≲ 5 \kappa\lesssim5 κ ≲ 5 ) with tight concentration across random unitaries. Crucially, the profiles for different values of n n n collapse onto a single universal curve when plotted against m / n m/n m / n , exhibiting scale-invariance with system size. These results confirm that the quadratic requirement m ≫ n 2 m \gg n^2 m ≫ n 2 is an artifact of the proof technique, and generic passive interferometers enable stable, full Gram-matrix recovery whenever m m m scales linearly with n n n .
Figure 8. Numerical conditioning of linear systems for second- and third-order Bargmann invariants. (a) Average condition number κ ( A 2 ) \kappa(A_2) κ ( A 2 ) of the linear system A 2 x 2 = b 2 A_2x_2=b_2 A 2 x 2 = b 2 for second-order Bargmann invariants ∣ G i j ∣ 2 \lvert G_{ij}\rvert^2 ∣ G ij ∣ 2 , plotted against the mode-to-photon ratio m / n m/n m / n for n ∈ { 5 , 10 , 15 } n\in\{5,10,15\} n ∈ { 5 , 10 , 15 } . (b) Average condition number κ ( A 3 ) \kappa(A_3) κ ( A 3 ) of the linear system A 3 x 3 = b 3 A_3x_3=b_3 A 3 x 3 = b 3 for third-order Bargmann invariants G i j G j k G k i G_{ij}G_{jk}G_{ki} G ij G j k G k i , plotted against m / n m/n m / n for n ∈ { 4 , 6 , 8 } n\in\{4,6,8\} n ∈ { 4 , 6 , 8 } . Shaded regions denote one standard deviation across realizations of Haar-random unitaries U ∈ U ( m ) U\in U(m) U ∈ U ( m ) . In both cases, the condition number remains low (κ ≲ 5 \kappa\lesssim5 κ ≲ 5 ) already in the regime m = 2 n m=2n m = 2 n and rapidly plateaus to κ ≈ 1.5 \kappa\approx1.5 κ ≈ 1.5 –2.0 2.0 2.0 , confirming that correlator inversion remains numerically stable well into the dense mode regime.
Expectation and variance
Let us decompose A T A A^{T}A A T A as:
A T A = E A T A + ( A T A − E A T A ) (112) A^{T}A = \mathbb{E}A^{T}A + (A^{T}A - \mathbb{E}A^{T}A) \tag*{(112)} A T A = E A T A + ( A T A − E A T A ) (112)
where the expectation is taken with respect to the Haar random interferometer U U U . We will first compute the expectation E A T A \mathbb{E}A^{T}A E A T A and bound its eigenvalues. Next, we will prove a high probability bound for the operator norm ∥ A T A − E A T A ∥ ∞ \lVert A^{T}A - \mathbb{E}A^{T}A\rVert_{\infty} ∥ A T A − E A T A ∥ ∞ of the error matrix. These two will overall give us a high probability bounds on λ max \lambda_{\max} λ m a x and λ min \lambda_{\min} λ m i n of A T A A^{T}A A T A . This strategy is rather crude since it uses just bounding the magnitude of each matrix entry to produce bounds on eigenvalues. We expect that a more sophisticated approach could lead to relaxing the condition in Theorem 4 to m ≫ n m \gg n m ≫ n , but would face more mathematical difficulties.
We first write the matrix entries explicitly. Writing:
p ( i , j , k , l ) : = U i k U j l U ‾ i l U ‾ j k (113) p(i,j,k,l) := U_{ik}U_{jl}\overline{U}_{il}\overline{U}_{jk} \tag*{(113)} p ( i , j , k , l ) := U ik U j l U i l U j k (113)
by (C4) we have for α = { k , l } \alpha= \{k,l\} α = { k , l } , α ′ = { k ′ , l ′ } \alpha' = \{k',l'\} α ′ = { k ′ , l ′ } :
( A T A ) α , α ′ = ∑ e A e , α A e , α ′ = ∑ i < j ( p ( i , j , k , l ) + p ( i , j , l , k ) ) ( p ( i , j , k ′ , l ′ ) + p ( i , j , l ′ , k ′ ) ) (114) (A^{T}A)_{\alpha,\alpha'} = \sum_e A_{e,\alpha}A_{e,\alpha'} = \sum_{i<j}(p(i,j,k,l) + p(i,j,l,k))(p(i,j,k',l') + p(i,j,l',k')) \tag*{(114)} ( A T A ) α , α ′ = e ∑ A e , α A e , α ′ = i < j ∑ ( p ( i , j , k , l ) + p ( i , j , l , k )) ( p ( i , j , k ′ , l ′ ) + p ( i , j , l ′ , k ′ )) (114)
We will need to compute the expectation and variance of each entry with respect to the choice of the random interferometer U U U , which are supplied by the following lemmas. Since each entry of (C9) is a polynomial in the entries of U U U , such averages can be computed by the use of Weingarten calculus. We describe this method together with proofs of the lemmas in Section C4.
Lemma 4. We have:
E ( A T A ) α , α ′ = 1 D m { m 2 + m + 10 , α = α ′ − ( m − 5 ) , ∣ α ∩ α ′ ∣ = 1 4 , α ∩ α ′ = ∅ (115) \mathbb{E}(A^{T}A)_{\alpha,\alpha'} = \frac{1}{D_m}
\begin{cases}
m^2 + m + 10, & \alpha= \alpha' \\
-(m-5), & \lvert\alpha\cap\alpha' \rvert= 1 \\
4, & \alpha\cap\alpha' = \varnothing
\end{cases} \tag*{(115)} E ( A T A ) α , α ′ = D m 1 ⎩ ⎨ ⎧ m 2 + m + 10 , − ( m − 5 ) , 4 , α = α ′ ∣ α ∩ α ′ ∣ = 1 α ∩ α ′ = ∅ (115) where D m = m ( m + 1 ) ( m + 2 ) ( m + 3 ) D_m = m(m+1)(m+2)(m+3) D m = m ( m + 1 ) ( m + 2 ) ( m + 3 )
Lemma 5. For m ≥ 8 m \ge8 m ≥ 8 we have:
Var ( A T A ) α , α ′ ≤ { 4 m 5 , α = α ′ 5 m 6 , otherwise (116) \operatorname{Var}(A^{T}A)_{\alpha,\alpha'} \le
\begin{cases}
\frac{4}{m^5}, & \alpha= \alpha' \\
\frac{5}{m^6}, & \text{otherwise}
\end{cases} \tag*{(116)} Var ( A T A ) α , α ′ ≤ { m 5 4 , m 6 5 , α = α ′ otherwise (116)
Proposition 5. Assume that m ≥ ( 1 + δ ) n m \ge(1+\delta)n m ≥ ( 1 + δ ) n for some constant δ > 0 \delta> 0 δ > 0 . Then the expected matrix E A T A \mathbb{E}A^{T}A E A T A satisfies:
δ 1 + δ 1 m 2 I ≤ E A T A ≤ 1 m 2 I (117) \frac{\delta}{1+\delta}\frac{1}{m^2}I \le\mathbb{E}A^{T}A \le\frac{1}{m^2}I \tag*{(117)} 1 + δ δ m 2 1 I ≤ E A T A ≤ m 2 1 I (117)
Proof. Let J 1 J_1 J 1 be the matrix given by ( J 1 ) α , α ′ : = 1 { ∣ α ∩ α ′ ∣ = 1 } (J_1)_{\alpha,\alpha'} := \mathbb{1}_{\{|\alpha\cap\alpha'|=1\}} ( J 1 ) α , α ′ := 1 { ∣ α ∩ α ′ ∣ = 1 } and likewise J 2 J_2 J 2 given by ( J 2 ) α , α ′ : = 1 { α ∩ α ′ = ∅ } (J_2)_{\alpha,\alpha'} := \mathbb{1}_{\{\alpha\cap\alpha'=\varnothing\}} ( J 2 ) α , α ′ := 1 { α ∩ α ′ = ∅ } . Note that J 2 = 11 T − I − J 1 J_2 = \mathbf{1}\mathbf{1}^{T} - I - J_1 J 2 = 1 1 T − I − J 1 , where 1 \mathbf{1} 1 denotes the all-ones vector. By Lemma 4 we then have:
E A T A = 1 D m ( ( m 2 + m + 10 ) I − ( m − 5 ) J 1 + 4 J 2 ) = 1 D m ( 411 T + ( m 2 + m + 6 ) I − ( m − 1 ) J 1 ) (118) \mathbb{E}A^{T}A = \frac{1}{D_m}\left((m^2+m+10)I-(m-5)J_1+4J_2\right)=\frac{1}{D_m}\left(4\mathbf{1}\mathbf{1}^{T}+(m^2+m+6)I-(m-1)J_1\right) \tag*{(118)} E A T A = D m 1 ( ( m 2 + m + 10 ) I − ( m − 5 ) J 1 + 4 J 2 ) = D m 1 ( 4 1 1 T + ( m 2 + m + 6 ) I − ( m − 1 ) J 1 ) (118)
where D m = m ( m + 1 ) ( m + 2 ) ( m + 3 ) D_m=m(m+1)(m+2)(m+3) D m = m ( m + 1 ) ( m + 2 ) ( m + 3 ) . The all-ones matrix 11 T \mathbf{1}\mathbf{1}^{T} 1 1 T has 1 \mathbf{1} 1 as the eigenvector with eigenvalue ( n 2 ) \binom{n}{2} ( 2 n ) and is zero elsewhere. The matrix J 1 J_1 J 1 is the adjacency matrix of the Johnson graph J ( n , 2 ) J(n,2) J ( n , 2 ) . Its eigenvalues are ( − 2 , n − 4 , 2 n − 4 ) (-2,n-4,2n-4) ( − 2 , n − 4 , 2 n − 4 ) , and the vector 1 \mathbf{1} 1 has eigenvalue 2 n − 4 2n-4 2 n − 4 . Thus the matrix can be diagonalized exactly, with eigenvalues:
λ 1 = m 2 + ( 5 − 2 n ) m + 2 n 2 + 2 D m (119) \lambda_1=\frac{m^2+(5-2n)m+2n^2+2}{D_m} \tag*{(119)} λ 1 = D m m 2 + ( 5 − 2 n ) m + 2 n 2 + 2 (119)
λ 2 = m 2 + ( 5 − n ) m + n + 2 D m (120) \lambda_2=\frac{m^2+(5-n)m+n+2}{D_m} \tag*{(120)} λ 2 = D m m 2 + ( 5 − n ) m + n + 2 (120)
λ 3 = m 2 + 3 m + 4 D m (121) \lambda_3=\frac{m^2+3m+4}{D_m} \tag*{(121)} λ 3 = D m m 2 + 3 m + 4 (121)
Using the assumption n ≤ m 1 + δ n\le\frac{m}{1+\delta} n ≤ 1 + δ m :
m 2 + ( 5 − n ) m + n + 2 ≥ m 2 ( 1 − 1 1 + δ ) + m ( 5 + 1 1 + δ ) + 2 = δ 1 + δ m 2 + ( 5 + 1 1 + δ ) m + 2 (122) m^2+(5-n)m+n+2\ge m^2\left(1-\frac{1}{1+\delta}\right)+m\left(5+\frac{1}{1+\delta}\right)+2=\frac{\delta}{1+\delta}m^2+\left(5+\frac{1}{1+\delta}\right)m+2 \tag*{(122)} m 2 + ( 5 − n ) m + n + 2 ≥ m 2 ( 1 − 1 + δ 1 ) + m ( 5 + 1 + δ 1 ) + 2 = 1 + δ δ m 2 + ( 5 + 1 + δ 1 ) m + 2 (122)
which yields λ 2 ≥ δ 1 + δ 1 m 2 \lambda_2\ge\frac{\delta}{1+\delta}\frac{1}{m^2} λ 2 ≥ 1 + δ δ m 2 1 , with the maximum attained at n = 2 n=2 n = 2 satisfying λ 2 ≤ λ 3 ≤ 1 m 2 \lambda_2\le\lambda_3\le\frac{1}{m^2} λ 2 ≤ λ 3 ≤ m 2 1 .
For λ 1 \lambda_1 λ 1 , the numerator 2 ( n − m / 2 ) 2 + 1 2 m 2 + 5 m + 2 2(n-m/2)^2+\frac{1}{2}m^2+5m+2 2 ( n − m /2 ) 2 + 2 1 m 2 + 5 m + 2 is minimized at n = m / 2 ≤ m 1 + δ n=m/2\le\frac{m}{1+\delta} n = m /2 ≤ 1 + δ m (since δ ≤ 1 \delta\le1 δ ≤ 1 ), giving a lower bound of 1 2 m 2 ≥ δ 1 + δ 1 m 2 \frac{1}{2m^2}\ge\frac{\delta}{1+\delta}\frac{1}{m^2} 2 m 2 1 ≥ 1 + δ δ m 2 1 , and an upper bound bounded by 1 m 2 \frac{1}{m^2} m 2 1 .
Hence, the smallest eigenvalue is ≥ δ 1 + δ 1 m 2 \ge\frac{\delta}{1+\delta}\frac{1}{m^2} ≥ 1 + δ δ m 2 1 and the largest is ≤ 1 m 2 \le\frac{1}{m^2} ≤ m 2 1 , proving the result. □ \square □
Remark 1. Notice that from the previous proof we can also deduce that the ratio between the largest and smallest eigenvalue of A T A A^{T}A A T A in the large m m m limits behaves as
λ max λ min ∣ m ≫ 1 ≥ { 1 + 1 δ for δ ∈ ( 0 , 1 ] 1 + 2 δ 1 + δ 2 for δ > 1 (123) \left.\frac{\lambda_{\max}}{\lambda_{\min}}\right|_{m\gg1}\ge
\begin{cases}
1+\frac{1}{\delta} & \text{for }\delta\in(0,1] \\
1+\frac{2\delta}{1+\delta^2} & \text{for }\delta>1
\end{cases} \tag*{(123)} λ m i n λ m a x m ≫ 1 ≥ { 1 + δ 1 1 + 1 + δ 2 2 δ for δ ∈ ( 0 , 1 ] for δ > 1 (123)
which clearly diverges in the limit δ → 0 + \delta\to0^+ δ → 0 + and converges to $1i n t h e l i m i t in the limit in t h e l imi t \delta\to+\infty.
We will now need to bound the error term A T A − E A T A A^{T}A-\mathbb{E}A^{T}A A T A − E A T A . The following lemma says that if the error term is sufficiently small entrywise, then Theorem 4 holds.
Lemma 6. Let M = A T A − E A T A M=A^{T}A-\mathbb{E}A^{T}A M = A T A − E A T A . Suppose that for each α \alpha α we have ∣ M α , α ∣ ≤ 1 8 ⋅ 1 m 2 |M_{\alpha,\alpha}|\le\frac{1}{8}\cdot\frac{1}{m^2} ∣ M α , α ∣ ≤ 8 1 ⋅ m 2 1 and for each α ≠ α ′ \alpha\ne\alpha' α = α ′ we have ∣ M α , α ′ ∣ ≤ 1 8 n 2 ⋅ 1 m 2 |M_{\alpha,\alpha'}|\le\frac{1}{8n^2}\cdot\frac{1}{m^2} ∣ M α , α ′ ∣ ≤ 8 n 2 1 ⋅ m 2 1 . Then:
1 4 1 m 2 I ≤ A T A ≤ 2 m 2 I (124) \frac{1}{4}\frac{1}{m^2}I\le A^{T}A\le\frac{2}{m^2}I \tag*{(124)} 4 1 m 2 1 I ≤ A T A ≤ m 2 2 I (124)
Proof. We make use of the easily verified fact: if an l × l l\times l l × l matrix O O O satisfies ∣ O i j ∣ ≤ K |O_{ij}|\le K ∣ O ij ∣ ≤ K for each i , j i,j i , j , then ∥ O ∥ ∞ ≤ K l \|O\|_\infty\le Kl ∥ O ∥ ∞ ≤ K l . Writing M = D + O M=D+O M = D + O , where D D D is the diagonal part and O O O the off-diagonal part, we have:
∥ M ∥ ∞ ≤ ∥ D ∥ ∞ + ∥ O ∥ ∞ ≤ max α ∣ M α , α ∣ + ( n 2 ) max α ≠ α ′ ∣ M α , α ′ ∣ ≤ 1 8 1 m 2 + n 2 ⋅ 1 8 n 2 1 m 2 < 1 4 m 2 (125) \|M\|_\infty\le\|D\|_\infty+\|O\|_\infty\le\max_\alpha|M_{\alpha,\alpha}|+\binom{n}{2}\max_{\alpha\ne\alpha'}|M_{\alpha,\alpha'}|\le\frac{1}{8}\frac{1}{m^2}+n^2\cdot\frac{1}{8n^2}\frac{1}{m^2}<\frac{1}{4m^2} \tag*{(125)} ∥ M ∥ ∞ ≤ ∥ D ∥ ∞ + ∥ O ∥ ∞ ≤ α max ∣ M α , α ∣ + ( 2 n ) α = α ′ max ∣ M α , α ′ ∣ ≤ 8 1 m 2 1 + n 2 ⋅ 8 n 2 1 m 2 1 < 4 m 2 1 (125)
The claim then follows by invoking Proposition 5 and noting that λ min ( A + B ) ≥ λ min ( A ) − ∥ B ∥ ∞ \lambda_{\min}(A+B)\ge\lambda_{\min}(A)-\|B\|_\infty λ m i n ( A + B ) ≥ λ m i n ( A ) − ∥ B ∥ ∞ , λ max ( A + B ) ≤ λ max ( A ) + ∥ B ∥ ∞ \lambda_{\max}(A+B)\le\lambda_{\max}(A)+\|B\|_\infty λ m a x ( A + B ) ≤ λ m a x ( A ) + ∥ B ∥ ∞ . □ \square □
To prove Theorem 4 we are thus left with ensuring that conditions of Lemma 6 are satisfied with high probability – that is, each entry of the error matrix M M M is small. This is done in the next section using concentration of measure for polynomials.
Concentration for unitary polynomials
To show that the conditions of Lemma 6 hold with high probability requires proving a concentration bound on the entries of A T A A^T A A T A . In principle one can obtain such a bound by computing sufficiently high moments – however, the size of corresponding Weingarten calculus computations quickly become prohibitive. Instead, we will prove concentration with tails scaling like exp ( − c t 1 / 16 ) \exp(-ct^{1/16}) exp ( − c t 1/16 ) using the connection between log-Sobolev constants, hypercontractivity and bounds on eigenvalues of the Laplace-Beltrami operator on the unitary group. The ingredients used are standard and well known, but we have not seen them applied specifically to obtain a concentration bound for polynomials on the unitary group. The claimed concentration bound will have the same form as the one for Gaussian polynomials, see e.g. [41 ] , Corollary 5.49.
We start with the observation that the unitary group U ( m ) U(m) U ( m ) satisfies the log-Sobolev inequality for every locally Lipschitz function f f f :
Ent ( f 2 ) ≤ 2 C L S ∫ E ∣ ∇ f ∣ 2 (126) \operatorname{Ent}(f^2) \le2C_{LS}\int\mathbb{E}|\nabla f|^2 \tag*{(126)} Ent ( f 2 ) ≤ 2 C L S ∫ E ∣∇ f ∣ 2 (126)
where Ent ( g ) = E g log ( g ) − ( E g ) ( log E g ) \operatorname{Ent}(g)=\mathbb{E}g\log(g)-(\mathbb{E}g)(\log\mathbb{E}g) Ent ( g ) = E g log ( g ) − ( E g ) ( log E g ) , with log-Sobolev constant C L S = 6 m C_{LS}=\frac{6}{m} C L S = m 6 [42 ] .
As is well known, log-Sobolev constant implies hypercontractivity. More precisely, let Δ \Delta Δ be the Laplace-Beltrami operator on U ( m ) U(m) U ( m ) and let P t = e t Δ P_t=e^{t\Delta} P t = e t Δ be the corresponding heat semigroup. Fix q > p > 1 q>p>1 q > p > 1 . Then for any t ≥ C L S 2 log q − 1 p − 1 t\ge\frac{C_{LS}}{2}\log\frac{q-1}{p-1} t ≥ 2 C L S log p − 1 q − 1 and f ∈ L p f\in L^p f ∈ L p we have the hypercontractive bound:
∥ P t f ∥ q ≤ ∥ f ∥ p (127) \lVert P_t f\rVert_q \le\lVert f\rVert_p \tag*{(127)} ∥ P t f ∥ q ≤ ∥ f ∥ p (127)
The bound (C22) can be used to derive concentration bounds for polynomials if one has bounds on the eigenvalues of Δ \Delta Δ restricted to the space of polynomials of degree ( k , k ) (k,k) ( k , k ) . We have the following bound on eigenvalues:
Lemma 7. Let λ \lambda λ be the label of any irrep of U ( m ) U(m) U ( m ) that appears in the decomposition of the representation U ⊗ k ⊗ U ‾ ⊗ k U^{\otimes k}\otimes\overline{U}^{\otimes k} U ⊗ k ⊗ U ⊗ k , i.e. the space of polynomials of degree ( k , k ) (k,k) ( k , k ) . Assume k ≤ m k\le m k ≤ m . Let f f f be any matrix element of corresponding to λ \lambda λ . Then:
Δ f = − κ λ f (128) \Delta f=-\kappa_\lambda f \tag*{(128)} Δ f = − κ λ f (128) where ∣ κ λ ∣ ≤ 4 k m |\kappa_\lambda|\le4km ∣ κ λ ∣ ≤ 4 k m .
Proof. By standard analysis on Lie groups (see e.g. [43 ] , Section 12.1) the Laplacian Δ \Delta Δ is equivalent to the Casimir operator, which acts on the irrep space λ \lambda λ as κ λ ⋅ I d \kappa_\lambda\cdot Id κ λ ⋅ I d , where:
κ λ = ∑ i = 1 m ( λ i 2 + ( m − 2 i + 1 ) λ i ) (129) \kappa_\lambda=\sum_{i=1}^{m}\left(\lambda_i^2+(m-2i+1)\lambda_i\right) \tag*{(129)} κ λ = i = 1 ∑ m ( λ i 2 + ( m − 2 i + 1 ) λ i ) (129)
The irreps λ \lambda λ that appear in the decomposition of the representation U ⊗ k ⊗ U ‾ ⊗ k U^{\otimes k}\otimes\overline{U}^{\otimes k} U ⊗ k ⊗ U ⊗ k correspond to weight vectors λ = ( λ 1 , … , λ m ) \lambda=(\lambda_1,\ldots,\lambda_m) λ = ( λ 1 , … , λ m ) such that ∑ i λ i = 0 \sum_i\lambda_i=0 ∑ i λ i = 0 and ∑ i ∣ λ i ∣ ≤ 2 k \sum_i|\lambda_i|\le2k ∑ i ∣ λ i ∣ ≤ 2 k . Let:
r : = ∑ λ i > 0 λ i = 1 2 ∑ i ∣ λ i ∣ (130) r:=\sum_{\lambda_i>0}\lambda_i=\frac{1}{2}\sum_i|\lambda_i| \tag*{(130)} r := λ i > 0 ∑ λ i = 2 1 i ∑ ∣ λ i ∣ (130)
By assumption r ≤ k r\le k r ≤ k . Clearly ∑ i λ i 2 ≤ 2 r 2 \sum_i\lambda_i^2\le2r^2 ∑ i λ i 2 ≤ 2 r 2 . Moreover, also ∑ i ∣ m + 1 − 2 i ∣ ⋅ ∣ λ i ∣ ≤ 2 r ( m − 1 ) \sum_i|m+1-2i|\cdot|\lambda_i|\le2r(m-1) ∑ i ∣ m + 1 − 2 i ∣ ⋅ ∣ λ i ∣ ≤ 2 r ( m − 1 ) because ∣ λ i ∣ ≤ 2 r |\lambda_i|\le2r ∣ λ i ∣ ≤ 2 r . Hence by k ≤ m k\le m k ≤ m we obtain:
∣ κ λ ∣ ≤ 2 r 2 + 2 ( m − 1 ) r ≤ 2 k 2 + 2 m k ≤ 4 k m (131) |\kappa_\lambda|\le2r^2+2(m-1)r\le2k^2+2mk\le4km \tag*{(131)} ∣ κ λ ∣ ≤ 2 r 2 + 2 ( m − 1 ) r ≤ 2 k 2 + 2 mk ≤ 4 k m (131)
Lemma 8. Let Q Q Q be a polynomial of degree ( k , k ) (k,k) ( k , k ) . Assume m ≥ k m\ge k m ≥ k . Then for every q ≥ 2 q\ge2 q ≥ 2 :
∥ Q ∥ q ≤ ( q − 1 ) 4 k ∥ Q ∥ 2 (132) \lVert Q\rVert_q\le(q-1)^{4k}\lVert Q\rVert_2 \tag*{(132)} ∥ Q ∥ q ≤ ( q − 1 ) 4 k ∥ Q ∥ 2 (132)
Proof. Let Λ k \Lambda_k Λ k denote the set of irreps λ \lambda λ of U ( m ) U(m) U ( m ) that appear in the decomposition of the representation U ⊗ k ⊗ U ‾ ⊗ k U^{\otimes k} \otimes\overline{U}^{\otimes k} U ⊗ k ⊗ U ⊗ k , i.e. the space of polynomials of degree ( k , k ) (k,k) ( k , k ) . Let us decompose Q Q Q into orthonormal eigenfunctions f λ , i f_{\lambda,i} f λ , i , where λ \lambda λ labels irreps and i i i is the index within the irrep:
Q = ∑ λ , i c λ , i f λ , i (133) Q = \sum_{\lambda,i} c_{\lambda,i} f_{\lambda,i} \tag*{(133)} Q = λ , i ∑ c λ , i f λ , i (133)
where ∑ λ , i ∣ c λ , i ∣ 2 = ∥ Q ∥ 2 2 \sum_{\lambda,i} |c_{\lambda,i}|^2 = \lVert Q\rVert_2^2 ∑ λ , i ∣ c λ , i ∣ 2 = ∥ Q ∥ 2 2 .
First, note that each Q Q Q is invariant with respect to Q ( U ) → Q ( e i θ U ) Q(U) \to Q(e^{i\theta}U) Q ( U ) → Q ( e i θ U ) because the degree is balanced. Thus each Q Q Q determines a function on S U ( m ) SU(m) S U ( m ) and we can use the better log-Sobolev constant for S U ( m ) SU(m) S U ( m ) , which is equal to 2 m \frac{2}{m} m 2 [42 ] . Consequently, choose t = 1 m log ( q − 1 ) t = \frac{1}{m}\log(q-1) t = m 1 log ( q − 1 ) . Since Q = P t P − t Q Q = P_tP_{-t}Q Q = P t P − t Q , by the hypercontractive bound (C22) we get:
∥ Q ∥ q ≤ ∥ P − t Q ∥ 2 (134) \lVert Q\rVert_q \leq\lVert P_{-t}Q\rVert_2 \tag*{(134)} ∥ Q ∥ q ≤ ∥ P − t Q ∥ 2 (134)
By Lemma 7, each f λ , i f_{\lambda,i} f λ , i is an eigenfunction of P − t P_{-t} P − t with eigenvalue e k λ t e^{k_\lambda t} e k λ t , where k λ ≤ 4 k m k_\lambda\leq4km k λ ≤ 4 k m . Since t = 1 m log ( q − 1 ) t = \frac{1}{m}\log(q-1) t = m 1 log ( q − 1 ) , we have e m t = q − 1 e^{mt} = q-1 e m t = q − 1 . Therefore:
∥ P − t Q ∥ 2 2 = ∑ λ , i e 2 k λ t ∣ c λ , i ∣ 2 ≤ e 8 k m t ∥ Q ∥ 2 2 = ( q − 1 ) 8 k ∥ Q ∥ 2 2 (135) \lVert P_{-t}Q\rVert_2^2 = \sum_{\lambda,i} e^{2k_\lambda t}|c_{\lambda,i}|^2 \leq e^{8kmt}\lVert Q\rVert_2^2 = (q-1)^{8k}\lVert Q\rVert_2^2 \tag*{(135)} ∥ P − t Q ∥ 2 2 = λ , i ∑ e 2 k λ t ∣ c λ , i ∣ 2 ≤ e 8 k m t ∥ Q ∥ 2 2 = ( q − 1 ) 8 k ∥ Q ∥ 2 2 (135)
We are now ready to prove the main concentration bound:
Theorem 5. Let Q Q Q be a polynomial on U ( m ) U(m) U ( m ) of degree ( k , k ) (k,k) ( k , k ) . Assume m ≥ k m \geq k m ≥ k . Then for any t > ( 2 e ) 4 k t > (2e)^{4k} t > ( 2 e ) 4 k :
P ( ∣ Q − E Q ∣ ≥ t Var ( Q ) ) ≤ exp ( − k e t 1 / 4 k ) (136) \mathbb{P}\left(|Q-\mathbb{E}Q| \geq t\sqrt{\operatorname{Var}(Q)}\right) \leq\exp\left(-\frac{k}{e}t^{1/4k}\right) \tag*{(136)} P ( ∣ Q − E Q ∣ ≥ t Var ( Q ) ) ≤ exp ( − e k t 1/4 k ) (136)
Proof. By rescaling we can assume E Q = 0 \mathbb{E}Q = 0 E Q = 0 , Var ( Q ) = 1 \operatorname{Var}(Q) = 1 Var ( Q ) = 1 . By Markov’s inequality and Lemma 8 for any q ≥ 2 q \geq2 q ≥ 2 :
P ( ∣ Q ∣ ≥ t ) ≤ E ∣ Q ∣ q t q ≤ ( ( q − 1 ) 4 k t ) q ≤ ( q 4 k t ) q (137) \mathbb{P}(|Q| \geq t) \leq\frac{\mathbb{E}|Q|^q}{t^q} \leq\left(\frac{(q-1)^{4k}}{t}\right)^q \leq\left(\frac{q^{4k}}{t}\right)^q \tag*{(137)} P ( ∣ Q ∣ ≥ t ) ≤ t q E ∣ Q ∣ q ≤ ( t ( q − 1 ) 4 k ) q ≤ ( t q 4 k ) q (137)
One easily verifies that the choice q = 1 e t 1 / 4 k q = \frac{1}{e}t^{1/4k} q = e 1 t 1/4 k yields the result, provided that t > ( 2 e ) 4 k t > (2e)^{4k} t > ( 2 e ) 4 k so that q > 2 q > 2 q > 2 . □
Remark 2. The above argument gives the non-optimal tail exponent 1 4 k \frac{1}{4k} 4 k 1 for m ≥ k m \geq k m ≥ k . With some additional work this can be improved to 1 2 k \frac{1}{2k} 2 k 1 . The optimal exponent 1 k \frac{1}{k} k 1 (with different, non-explicit constants) can be obtained using recent results about hypercontractivity for Lie groups [44 ] . We retain the current proof due to its relatively elementary nature and explicit constants.
We can now combine all the ingredients to prove Theorem 4.
Proof of Theorem 4. We will prove that with probability at least 1 − 1 n 1-\frac{1}{n} 1 − n 1 the conditions of Lemma 6 are satisfied. It suffices to prove that: 1) with probability ≥ 1 − 1 2 n \geq1-\frac{1}{2n} ≥ 1 − 2 n 1 for all diagonal terms we have ∣ M α , α ∣ ≤ 1 8 ⋅ 1 m 2 |M_{\alpha,\alpha}| \leq\frac{1}{8}\cdot\frac{1}{m^2} ∣ M α , α ∣ ≤ 8 1 ⋅ m 2 1 ; 2) with probability ≥ 1 − 1 2 n \geq1-\frac{1}{2n} ≥ 1 − 2 n 1 for each α ≠ α ′ \alpha\ne\alpha' α = α ′ we have ∣ M α , α ′ ∣ ≤ 1 8 n 2 ⋅ 1 m 2 |M_{\alpha,\alpha'}| \leq\frac{1}{8n^2}\cdot\frac{1}{m^2} ∣ M α , α ′ ∣ ≤ 8 n 2 1 ⋅ m 2 1 . We first handle the diagonal terms. By union bounding over the ( n 2 ) \binom{n}{2} ( 2 n ) possible choices of α \alpha α it suffices to prove that:
P ( ∣ M α , α ∣ ≥ 1 8 ⋅ 1 m 2 ) ≤ 1 n 3 . (138) \mathbb{P}\left(|M_{\alpha,\alpha}| \geq\frac{1}{8}\cdot\frac{1}{m^2}\right) \leq\frac{1}{n^3}. \tag*{(138)} P ( ∣ M α , α ∣ ≥ 8 1 ⋅ m 2 1 ) ≤ n 3 1 . (138)
We invoke Theorem 5 applied to the polynomial Q = ( A T A ) α , α Q = (A^{T}A)_{\alpha,\alpha} Q = ( A T A ) α , α . Recall that by Lemma 5 the variance of each diagonal term is bounded by 4 m 5 \frac{4}{m^5} m 5 4 . We need a value of t t t in Theorem 5 such that the probability in (C31) is at most 1 n 3 \frac{1}{n^3} n 3 1 and at the same time t Var ( ( A T A ) α , α ) < 1 8 ⋅ 1 m 2 t\sqrt{\operatorname{Var}((A^{T}A)_{\alpha,\alpha})} < \frac{1}{8}\cdot\frac{1}{m^2} t Var (( A T A ) α , α ) < 8 1 ⋅ m 2 1 . After a short computation, we see that such a t t t exists if:
1 16 m > ( 3 log n ) 16 , (139) \frac{1}{16}\sqrt{m} > (3\log n)^{16}, \tag*{(139)} 16 1 m > ( 3 log n ) 16 , (139)
which is satisfied by the assumption that m ≥ C n 2 ( log n ) 8 m \geq Cn^2(\log n)^8 m ≥ C n 2 ( log n ) 8 for a sufficiently large constant C C C . The off-diagonal case is handled in the same way, only now we union bound over ( n 2 ) 2 − ( n 2 ) \binom{n}{2}^2-\binom{n}{2} ( 2 n ) 2 − ( 2 n ) off-diagonal entries and thus require the relevant probability for each entry to be < 1 n 5 <\frac{1}{n^5} < n 5 1 , and we require that t Var ( ( A T A ) α , α ′ ) < 1 8 n 2 ⋅ 1 m 2 t\sqrt{\operatorname{Var}((A^{T}A)_{\alpha,\alpha'})} < \frac{1}{8n^2}\cdot\frac{1}{m^2} t Var (( A T A ) α , α ′ ) < 8 n 2 1 ⋅ m 2 1 . Again by Lemma 5 this leads to:
1 8 5 ⋅ m n 2 > ( 6 log n ) 16 , (140) \frac{1}{8\sqrt{5}}\cdot\frac{m}{n^2} > (6\log n)^{16}, \tag*{(140)} 8 5 1 ⋅ n 2 m > ( 6 log n ) 16 , (140)
which is again satisfied if m ≥ C n 2 ( log n ) 16 m \geq Cn^2(\log n)^{16} m ≥ C n 2 ( log n ) 16 . □
Weingarten calculus
We recall the basic unitary Weingarten formula. For d ≥ 1 d \ge1 d ≥ 1 and multi-indices i = ( i 1 , … , i d ) \mathbf{i}=(i_1,\ldots,i_d) i = ( i 1 , … , i d ) , j = ( j 1 , … , j d ) \mathbf{j}=(j_1,\ldots,j_d) j = ( j 1 , … , j d ) , let U i , j : = ∏ a = 1 d U i a j a U_{\mathbf{i},\mathbf{j}}:=\prod_{a=1}^{d}U_{i_a j_a} U i , j := ∏ a = 1 d U i a j a . For σ ∈ S d \sigma\in S_d σ ∈ S d put
δ σ ( i , i ′ ) : = ∏ a = 1 d δ i a , i σ ( a ) ′ . \delta_\sigma(\mathbf{i},\mathbf{i}'):=\prod_{a=1}^{d}\delta_{i_a,i'_{\sigma(a)}}. δ σ ( i , i ′ ) := a = 1 ∏ d δ i a , i σ ( a ) ′ .
Then, for a Haar random unitary matrix U ∈ U ( m ) U\in U(m) U ∈ U ( m ) [45 ] :
E [ U i , j U i ′ , j ′ ‾ ] = ∑ σ , τ ∈ S d δ σ ( i , i ′ ) δ τ ( j , j ′ ) Wg m ( σ − 1 τ ) . (141) \mathbb{E}\left[U_{\mathbf{i},\mathbf{j}}\overline{U_{\mathbf{i}',\mathbf{j}'}}\right]=\sum_{\sigma,\tau\in S_d}\delta_\sigma(\mathbf{i},\mathbf{i}')\delta_\tau(\mathbf{j},\mathbf{j}')\operatorname{Wg}_m(\sigma^{-1}\tau). \tag*{(141)} E [ U i , j U i ′ , j ′ ] = σ , τ ∈ S d ∑ δ σ ( i , i ′ ) δ τ ( j , j ′ ) Wg m ( σ − 1 τ ) . (141)
where Wg m \operatorname{Wg}_m Wg m is the unitary Weingarten function. For m ≥ d m\ge d m ≥ d it can be written as [45 ] :
Wg m ( π ) = 1 d ! ∑ λ ⊢ d f λ χ λ ( π ) ∏ ( a , b ) ∈ λ ( m + b − a ) . (142) \operatorname{Wg}_m(\pi)=\frac{1}{d!}\sum_{\lambda\vdash d}\frac{f^\lambda\chi^\lambda(\pi)}{\prod_{(a,b)\in\lambda}(m+b-a)}. \tag*{(142)} Wg m ( π ) = d ! 1 λ ⊢ d ∑ ∏ ( a , b ) ∈ λ ( m + b − a ) f λ χ λ ( π ) . (142)
Here χ λ \chi^\lambda χ λ is the irreducible character of S d S_d S d corresponding to the partition λ \lambda λ and f λ = χ λ ( i d ) f^\lambda=\chi^\lambda(\mathrm{id}) f λ = χ λ ( id ) . In particular, Wg m ( π ) \operatorname{Wg}_m(\pi) Wg m ( π ) depends only on the cycle type of π \pi π .
Proof of Lemma 4. Fix e = { i , j } e=\{i,j\} e = { i , j } . Expanding A e , α A e , α ′ A_{e,\alpha}A_{e,\alpha'} A e , α A e , α ′ using (C4) gives four monomials of degree ( 4 , 4 ) (4,4) ( 4 , 4 ) . Applying (C36) and (C37), we can compute numerically how many times each cycle type occurs and the corresponding Weingarten function. In the end we obtain:
E [ A e , α A e , α ′ ] = 2 m 2 ( m − 1 ) ( m + 1 ) ( m + 2 ) ( m + 3 ) { m 2 + m + 10 , α = α ′ , − ( m − 5 ) , ∣ α ∩ α ′ ∣ = 1 , 4 , α ∩ α ′ = ∅ . (143) \mathbb{E}[A_{e,\alpha}A_{e,\alpha'}]=\frac{2}{m^2(m-1)(m+1)(m+2)(m+3)}
\begin{cases}
m^2+m+10, & \alpha=\alpha',\\
-(m-5), & |\alpha\cap\alpha'|=1,\\
4, & \alpha\cap\alpha'=\varnothing.
\end{cases} \tag*{(143)} E [ A e , α A e , α ′ ] = m 2 ( m − 1 ) ( m + 1 ) ( m + 2 ) ( m + 3 ) 2 ⎩ ⎨ ⎧ m 2 + m + 10 , − ( m − 5 ) , 4 , α = α ′ , ∣ α ∩ α ′ ∣ = 1 , α ∩ α ′ = ∅ . (143)
The right hand side does not depend on e e e , and there are ( m 2 ) \binom{m}{2} ( 2 m ) possible choices of e e e . Therefore:
( A T A ) α , α ′ = ∑ e E [ A e , α A e , α ′ ] = 1 m ( m + 1 ) ( m + 2 ) ( m + 3 ) { m 2 + m + 10 , α = α ′ , − ( m − 5 ) , ∣ α ∩ α ′ ∣ = 1 , 4 , α ∩ α ′ = ∅ . (A^T A)_{\alpha,\alpha'}=\sum_e\mathbb{E}[A_{e,\alpha}A_{e,\alpha'}]=\frac{1}{m(m+1)(m+2)(m+3)}
\begin{cases}
m^2+m+10, & \alpha=\alpha',\\
-(m-5), & |\alpha\cap\alpha'|=1,\\
4, & \alpha\cap\alpha'=\varnothing.
\end{cases} ( A T A ) α , α ′ = e ∑ E [ A e , α A e , α ′ ] = m ( m + 1 ) ( m + 2 ) ( m + 3 ) 1 ⎩ ⎨ ⎧ m 2 + m + 10 , − ( m − 5 ) , 4 , α = α ′ , ∣ α ∩ α ′ ∣ = 1 , α ∩ α ′ = ∅ .
which is exactly what is required in Lemma 4.
Proof of Lemma 5. Fix α , α ′ \alpha,\alpha' α , α ′ and put
X e : = A e , α A e , α ′ , ( A T A ) α , α ′ = ∑ e X e . X_e:=A_{e,\alpha}A_{e,\alpha'},\qquad(A^T A)_{\alpha,\alpha'}=\sum_e X_e. X e := A e , α A e , α ′ , ( A T A ) α , α ′ = e ∑ X e .
By invariance of Haar measure under permutations of rows and columns, the quantity E X e X f \mathbb{E}X_eX_f E X e X f depends only on
r : = ∣ e ∩ f ∣ , s : = ∣ α ∩ α ′ ∣ . r:=|e\cap f|,\qquad s:=|\alpha\cap\alpha'|. r := ∣ e ∩ f ∣ , s := ∣ α ∩ α ′ ∣.
We denote this quantity by M r s M_{rs} M r s . Expanding X e X f X_eX_f X e X f gives sixteen monomials of degree ( 8 , 8 ) (8,8) ( 8 , 8 ) . We again apply (C36) and (C37) with d = 8 d=8 d = 8 , computing numerically the relevant cycle types and Weingarten functions. Let
Q m : = m 2 ( m + 1 ) 2 ( m + 2 ) 2 ( m + 3 ) ( m + 4 ) ( m + 5 ) ( m + 6 ) ( m + 7 ) . Q_m:=m^2(m+1)^2(m+2)^2(m+3)(m+4)(m+5)(m+6)(m+7). Q m := m 2 ( m + 1 ) 2 ( m + 2 ) 2 ( m + 3 ) ( m + 4 ) ( m + 5 ) ( m + 6 ) ( m + 7 ) .
Then:
Q m M r s s = 2 s = 1 s = 0 r = 2 96 P 22 m − 1 16 P 21 m − 1 4 P 20 m − 1 r = 1 16 P 21 m − 1 − 4 P 11 ( m − 1 ) 2 8 P 10 ( m − 2 ) ( m − 1 ) 2 r = 0 4 P 20 m − 1 8 P 10 ( m − 2 ) ( m − 1 ) 2 8 P 00 ( m − 3 ) ( m − 2 ) 2 ( m − 1 ) 2 (144) \begin{array}{c|ccc}
Q_mM_{rs} & s=2 & s=1 & s=0\\
\hline
r=2 & \dfrac{96P_{22}}{m-1} & \dfrac{16P_{21}}{m-1} & \dfrac{4P_{20}}{m-1}\\
r=1 & \dfrac{16P_{21}}{m-1} & -\dfrac{4P_{11}}{(m-1)^2} & \dfrac{8P_{10}}{(m-2)(m-1)^2}\\
r=0 & \dfrac{4P_{20}}{m-1} & \dfrac{8P_{10}}{(m-2)(m-1)^2} & \dfrac{8P_{00}}{(m-3)(m-2)^2(m-1)^2} \tag*{(144)}
\end{array} Q m M r s r = 2 r = 1 r = 0 s = 2 m − 1 96 P 22 m − 1 16 P 21 m − 1 4 P 20 s = 1 m − 1 16 P 21 − ( m − 1 ) 2 4 P 11 ( m − 2 ) ( m − 1 ) 2 8 P 10 s = 0 m − 1 4 P 20 ( m − 2 ) ( m − 1 ) 2 8 P 10 ( m − 3 ) ( m − 2 ) 2 ( m − 1 ) 2 8 P 00 (144)
where:
P 22 = m 4 + 10 m 3 + 113 m 2 + 440 m + 876 , P 21 = m 4 + 12 m 3 + 107 m 2 + 252 m + 540 , P 20 = m 4 + 14 m 3 + 99 m 2 + 230 m + 696 , P 11 = m 4 + 239 m 2 + 324 m + 444 , P 10 = m 4 + 2 m 3 + 175 m 2 + 182 m + 200 , P 00 = 19 m 4 − 166 m 3 + 857 m 2 + 994 m + 648. (145) \begin{aligned}
P_{22} &= m^4 + 10m^3 + 113m^2 + 440m + 876, \qquad&P_{21} &= m^4 + 12m^3 + 107m^2 + 252m + 540,\\
P_{20} &= m^4 + 14m^3 + 99m^2 + 230m + 696, \qquad&P_{11} &= m^4 + 239m^2 + 324m + 444,\\
P_{10} &= m^4 + 2m^3 + 175m^2 + 182m + 200, \qquad&P_{00} &= 19m^4 - 166m^3 + 857m^2 + 994m + 648. \tag*{(145)}
\end{aligned} P 22 P 20 P 10 = m 4 + 10 m 3 + 113 m 2 + 440 m + 876 , = m 4 + 14 m 3 + 99 m 2 + 230 m + 696 , = m 4 + 2 m 3 + 175 m 2 + 182 m + 200 , P 21 P 11 P 00 = m 4 + 12 m 3 + 107 m 2 + 252 m + 540 , = m 4 + 239 m 2 + 324 m + 444 , = 19 m 4 − 166 m 3 + 857 m 2 + 994 m + 648. (145)
We now sum over the possible relative positions of e e e and f f f . The numbers of ordered pairs ( e , f ) (e,f) ( e , f ) satisfying ∣ e ∩ f ∣ = k |e \cap f|=k ∣ e ∩ f ∣ = k are N k = ( m 2 ) ( m − k k ) N_k = \binom{m}{2}\binom{m-k}{k} N k = ( 2 m ) ( k m − k ) . Let μ s : = E X e \mu_s := \mathbb{E}X_e μ s := E X e , whose value is given by (C38). It follows that:
Var ( A T A ) α , α ′ = N 2 M 2 s + N 1 M 1 s + N 0 M 0 s − ( m 2 ) 2 μ s 2 . (146) \operatorname{Var}(A^{T}A)_{\alpha,\alpha'} = N_2M_{2s} + N_1M_{1s} + N_0M_{0s} - \binom{m}{2}^{2}\mu_s^2. \tag*{(146)} Var ( A T A ) α , α ′ = N 2 M 2 s + N 1 M 1 s + N 0 M 0 s − ( 2 m ) 2 μ s 2 . (146)
Substituting (C39) and simplifying, define
H m : = ( m + 1 ) 2 ( m + 2 ) 2 ( m + 3 ) 2 ( m + 4 ) ( m + 5 ) ( m + 6 ) ( m + 7 ) . H_m := (m+1)^2(m+2)^2(m+3)^2(m+4)(m+5)(m+6)(m+7). H m := ( m + 1 ) 2 ( m + 2 ) 2 ( m + 3 ) 2 ( m + 4 ) ( m + 5 ) ( m + 6 ) ( m + 7 ) .
We obtain:
Var ( A T A ) α , α = { 2 S 2 ( m ) m 2 H m , α = α ′ , S 1 ( m ) m 2 ( m − 1 ) H m , ∣ α ∩ α ′ ∣ = 1 , 2 S 0 ( m ) m 2 ( m − 2 ) ( m − 1 ) H m , α ∩ α ′ = ∅ (147) \operatorname{Var}(A^{T}A)_{\alpha,\alpha} =
\begin{cases}
\dfrac{2S_2(m)}{m^2H_m}, & \alpha=\alpha',\\
\dfrac{S_1(m)}{m^2(m-1)H_m}, & |\alpha\cap\alpha'|=1,\\
\dfrac{2S_0(m)}{m^2(m-2)(m-1)H_m}, & \alpha\cap\alpha'=\varnothing
\end{cases} \tag*{(147)} Var ( A T A ) α , α = ⎩ ⎨ ⎧ m 2 H m 2 S 2 ( m ) , m 2 ( m − 1 ) H m S 1 ( m ) , m 2 ( m − 2 ) ( m − 1 ) H m 2 S 0 ( m ) , α = α ′ , ∣ α ∩ α ′ ∣ = 1 , α ∩ α ′ = ∅ (147)
where:
S 2 ( m ) = 2 m 7 + 37 m 6 + 439 m 5 + 2319 m 4 + 8627 m 3 + 19716 m 2 + 3116 m − 42000 , S 1 ( m ) = 5 m 7 + 101 m 6 + 452 m 5 + 2102 m 4 + 6161 m 3 − 3299 m 2 − 19354 m + 21000 , S 0 ( m ) = m 8 + 18 m 7 + 115 m 6 + 561 m 5 + 906 m 4 − 1283 m 3 + 2298 m 2 + 11272 m − 13440. (148) \begin{aligned}
S_2(m) &= 2m^7 + 37m^6 + 439m^5 + 2319m^4 + 8627m^3 + 19716m^2 + 3116m - 42000,\\
S_1(m) &= 5m^7 + 101m^6 + 452m^5 + 2102m^4 + 6161m^3 - 3299m^2 - 19354m + 21000,\\
S_0(m) &= m^8 + 18m^7 + 115m^6 + 561m^5 + 906m^4 - 1283m^3 + 2298m^2 + 11272m - 13440. \tag*{(148)}
\end{aligned} S 2 ( m ) S 1 ( m ) S 0 ( m ) = 2 m 7 + 37 m 6 + 439 m 5 + 2319 m 4 + 8627 m 3 + 19716 m 2 + 3116 m − 42000 , = 5 m 7 + 101 m 6 + 452 m 5 + 2102 m 4 + 6161 m 3 − 3299 m 2 − 19354 m + 21000 , = m 8 + 18 m 7 + 115 m 6 + 561 m 5 + 906 m 4 − 1283 m 3 + 2298 m 2 + 11272 m − 13440. (148)
For m ≥ 8 m\ge8 m ≥ 8 , a direct comparison of the numerators and denominators gives:
V 2 ≤ 4 m 5 , V 1 ≤ 5 m 6 , V 0 ≤ 5 m 6 . V_2 \le\frac{4}{m^5}, \qquad V_1 \le\frac{5}{m^6}, \qquad V_0 \le\frac{5}{m^6}. V 2 ≤ m 5 4 , V 1 ≤ m 6 5 , V 0 ≤ m 6 5 .
Indeed, after clearing the positive denominators, the numerator of 4 m − 5 − V 2 4m^{-5}-V_2 4 m − 5 − V 2 has positive coefficients as a polynomial in m m m , while the numerators of 5 m − 6 − V 1 5m^{-6}-V_1 5 m − 6 − V 1 and 5 m − 6 − V 0 5m^{-6}-V_0 5 m − 6 − V 0 have positive coefficients after writing m = 8 + t m=8+t m = 8 + t . This proves Lemma 5.
Analytical expression for the correlators
To derive the particle numbers correlators we make use of the same approach described in [32 , 33 ] , by introducing the moment generating function defined as
M ( y ) = perm ( V † e Y V ⊙ G ) (149) \mathcal{M}(y)=\operatorname{perm}\left(V^{\dagger}e^YV\odot G\right) \tag*{(149)} M ( y ) = perm ( V † e Y V ⊙ G ) (149)
where Y = diag ( y 1 , … , y m ) Y=\operatorname{diag}(y_1,\ldots,y_m) Y = diag ( y 1 , … , y m ) and V ∈ C m × n V\in\mathbb{C}^{m\times n} V ∈ C m × n made by the first n n n column of U U U , such that V † e Y V ∈ C n × n V^{\dagger}e^YV\in\mathbb{C}^{n\times n} V † e Y V ∈ C n × n . The moment generating function satisfies the property
∂ ∣ k ∣ ∂ y 1 k 1 ⋯ ∂ y m k m M ( y ) ∣ y = 0 = ⟨ n ^ 1 k 1 … n ^ m k m ⟩ (150) \left.\frac{\partial^{|k|}}{\partial y_1^{k_1}\cdots\partial y_m^{k_m}}\mathcal{M}(y)\right|_{y=0}
=\langle\hat{n}_1^{k_1}\ldots\hat{n}_m^{k_m}\rangle \tag*{(150)} ∂ y 1 k 1 ⋯ ∂ y m k m ∂ ∣ k ∣ M ( y ) y = 0 = ⟨ n ^ 1 k 1 … n ^ m k m ⟩ (150)
where k = ( k 1 , … , k m ) ∈ N m \mathbf{k}=(k_1,\ldots,k_m)\in\mathbb{N}^m k = ( k 1 , … , k m ) ∈ N m and ∣ k ∣ = ∑ i k i |\mathbf{k}|=\sum_i k_i ∣ k ∣ = ∑ i k i . To make calculation simpler we rewrite the above as
M ( y ) = perm ( I − I + V † e Y V ⊙ G ) (151) \mathcal{M}(y)=\operatorname{perm}\left(I-I+V^{\dagger}e^YV\odot G\right) \tag*{(151)} M ( y ) = perm ( I − I + V † e Y V ⊙ G ) (151)
= perm ( I − V † I V ⊙ G + V † e Y V ⊙ G ) (152) =\operatorname{perm}\left(I-V^{\dagger}IV\odot G+V^{\dagger}e^YV\odot G\right) \tag*{(152)} = perm ( I − V † I V ⊙ G + V † e Y V ⊙ G ) (152)
= perm ( I + V † ( e Y − I ) V ⊙ G ) . (153) =\operatorname{perm}\left(I+V^{\dagger}(e^Y-I)V\odot G\right). \tag*{(153)} = perm ( I + V † ( e Y − I ) V ⊙ G ) . (153)
This rewriting allows us to use two different properties. First we recall the following result [46 , 47 ] for any matrix Γ ∈ C m × m \Gamma\in\mathbb{C}^{m \times m} Γ ∈ C m × m :
perm ( I + Γ ) = ∑ j ∈ { 0 , 1 } m perm ( Γ ( j , j ) ) . (154) \operatorname{perm}(I+\Gamma)=\sum_{j\in\{0,1\}^{m}}\operatorname{perm}\left(\Gamma^{(j,j)}\right). \tag*{(154)} perm ( I + Γ ) = j ∈ { 0 , 1 } m ∑ perm ( Γ ( j , j ) ) . (154)
Then we make use of the fact that the function f ( y ) = e y − 1 f(y)=e^y-1 f ( y ) = e y − 1 satisfies
d k d y k ( e y − 1 ) l = l ! S ( k , l ) , (155) \frac{\mathrm{d}^k}{\mathrm{d}y^k}(e^y-1)^l=l!S(k,l), \tag*{(155)} d y k d k ( e y − 1 ) l = l ! S ( k , l ) , (155)
where the S ( k , l ) S(k,l) S ( k , l ) are the so-called Stirling numbers of the second kind [48 ] , which satisfy S ( k , l ) = 0 S(k,l)=0 S ( k , l ) = 0 if and only if l > k l>k l > k . This means that if we are interested in the k k k -th derivatives of the functions perm ( I + Γ ) \operatorname{perm}(I+\Gamma) perm ( I + Γ ) in the calculation of k k k -th moments, we can limit ourselves to terms of order up to k k k in the corresponding series. So for the following we define
Γ i j = G i j ∑ k = 1 m U k i ∗ U k j ( e y k − 1 ) (156) \Gamma_{ij}=G_{ij}\sum_{k=1}^{m}U_{ki}^{*}U_{kj}(e^{y_k}-1) \tag*{(156)} Γ ij = G ij k = 1 ∑ m U k i ∗ U k j ( e y k − 1 ) (156)
and then proceed with the direct calculations. We obtain
⟨ n ^ i n ^ j ⟩ = δ i j ∑ k = 1 n ∣ U i k ∣ 2 + ∑ k ≠ l ( ∣ U i k ∣ 2 ∣ U j l ∣ 2 + ∣ G k l ∣ 2 U i k ∗ U i l U j l ∗ U j k ) . (157) \langle\hat{n}_i\hat{n}_j\rangle=\delta_{ij}\sum_{k=1}^{n}|U_{ik}|^2+\sum_{k\ne l}\left(|U_{ik}|^2|U_{jl}|^2+|G_{kl}|^2U_{ik}^{*}U_{il}U_{jl}^{*}U_{jk}\right). \tag*{(157)} ⟨ n ^ i n ^ j ⟩ = δ ij k = 1 ∑ n ∣ U ik ∣ 2 + k = l ∑ ( ∣ U ik ∣ 2 ∣ U j l ∣ 2 + ∣ G k l ∣ 2 U ik ∗ U i l U j l ∗ U j k ) . (157)
The third order is more complicated to derive, but follows the same approach. The final result is the following:
⟨ n ^ a n ^ b n ^ c ⟩ = ∑ r , s , t distinct n [ ∣ U r a ∣ 2 ∣ U s b ∣ 2 ∣ U t c ∣ 2 + ∣ U r a ∣ 2 U s b ‾ U t b U t c U s c ‾ G s t G t s + U r a U s a ‾ U s b U r b ‾ ∣ U t c ∣ 2 G r s G s r + U r a U t a ‾ ∣ U s b ∣ 2 U t c U r c ‾ G r t G t r + U r a U s a ‾ U s b U t b ‾ U t c U r c ‾ G s r G r t G t s + U r a U t a ‾ U s b U r b ‾ U t c U s c ‾ G s t G t r G r s ] . (158) \begin{aligned}
\langle\hat{n}_a\hat{n}_b\hat{n}_c\rangle={}&\sum_{\substack{r,s,t\\\text{distinct}}}^{n}\left[|U_{ra}|^2|U_{sb}|^2|U_{tc}|^2+|U_{ra}|^2\overline{U_{sb}}U_{tb}U_{tc}\overline{U_{sc}}G_{st}G_{ts}\right.\\
&+U_{ra}\overline{U_{sa}}U_{sb}\overline{U_{rb}}|U_{tc}|^2G_{rs}G_{sr}+U_{ra}\overline{U_{ta}}|U_{sb}|^2U_{tc}\overline{U_{rc}}G_{rt}G_{tr}\\
&\left.+U_{ra}\overline{U_{sa}}U_{sb}\overline{U_{tb}}U_{tc}\overline{U_{rc}}G_{sr}G_{rt}G_{ts}+U_{ra}\overline{U_{ta}}U_{sb}\overline{U_{rb}}U_{tc}\overline{U_{sc}}G_{st}G_{tr}G_{rs}\right]. \tag*{(158)}
\end{aligned} ⟨ n ^ a n ^ b n ^ c ⟩ = r , s , t distinct ∑ n [ ∣ U r a ∣ 2 ∣ U s b ∣ 2 ∣ U t c ∣ 2 + ∣ U r a ∣ 2 U s b U t b U t c U sc G s t G t s + U r a U s a U s b U r b ∣ U t c ∣ 2 G r s G sr + U r a U t a ∣ U s b ∣ 2 U t c U r c G r t G t r + U r a U s a U s b U t b U t c U r c G sr G r t G t s + U r a U t a U s b U r b U t c U sc G s t G t r G r s ] . (158)
⟨ n ^ a 2 n ^ b ⟩ = ∑ r ≠ s n [ ∣ U r a ∣ 2 ∣ U s b ∣ 2 + U r a U s a ‾ U r b ‾ U s b G r s G s r ] + ∑ r , s , t distinct n [ ∣ U r a ∣ 2 ∣ U s a ∣ 2 ∣ U t b ∣ 2 + ∣ U r a ∣ 2 U s a U t a ‾ U t b U s b ‾ G s t G t s + ∣ U r a ∣ 2 ∣ U s a ∣ 2 ∣ U t b ∣ 2 G r s G s r + ∣ U s a ∣ 2 U r a U t a ‾ U t b U r b ‾ G s r G r t G t s + ∣ U r a ∣ 2 U s a ‾ U t a ‾ U t b U s b ‾ G t r G r s G s t + ∣ U s a ∣ 2 U r a ‾ U t a ‾ U t b U r b ‾ G r t G t r ] . (159) \begin{aligned}
\langle\hat{n}_a^2\hat{n}_b\rangle={}&\sum_{r\ne s}^{n}\left[|U_{ra}|^2|U_{sb}|^2+U_{ra}\overline{U_{sa}}\overline{U_{rb}}U_{sb}G_{rs}G_{sr}\right]\\
&+\sum_{\substack{r,s,t\\\text{distinct}}}^{n}\left[|U_{ra}|^2|U_{sa}|^2|U_{tb}|^2+|U_{ra}|^2U_{sa}\overline{U_{ta}}U_{tb}\overline{U_{sb}}G_{st}G_{ts}\right.\\
&\left.+|U_{ra}|^2|U_{sa}|^2|U_{tb}|^2G_{rs}G_{sr}+|U_{sa}|^2U_{ra}\overline{U_{ta}}U_{tb}\overline{U_{rb}}G_{sr}G_{rt}G_{ts}\right.\\
&\left.+|U_{ra}|^2\overline{U_{sa}}\overline{U_{ta}}U_{tb}\overline{U_{sb}}G_{tr}G_{rs}G_{st}+|U_{sa}|^2\overline{U_{ra}}\overline{U_{ta}}U_{tb}\overline{U_{rb}}G_{rt}G_{tr}\right]. \tag*{(159)}
\end{aligned} ⟨ n ^ a 2 n ^ b ⟩ = r = s ∑ n [ ∣ U r a ∣ 2 ∣ U s b ∣ 2 + U r a U s a U r b U s b G r s G sr ] + r , s , t distinct ∑ n [ ∣ U r a ∣ 2 ∣ U s a ∣ 2 ∣ U t b ∣ 2 + ∣ U r a ∣ 2 U s a U t a U t b U s b G s t G t s + ∣ U r a ∣ 2 ∣ U s a ∣ 2 ∣ U t b ∣ 2 G r s G sr + ∣ U s a ∣ 2 U r a U t a U t b U r b G sr G r t G t s + ∣ U r a ∣ 2 U s a U t a U t b U s b G t r G r s G s t + ∣ U s a ∣ 2 U r a U t a U t b U r b G r t G t r ] . (159)
⟨ n ^ a 3 ⟩ = ∑ r , s , t distinct n ∣ U r a ∣ 2 ∣ U s a ∣ 2 ∣ U t a ∣ 2 [ 1 + G s t G t s + G r s G s r + G r t G t r + G t s G s r G r t + G r t G t s G s r ] + 3 ∑ r , s distinct n ∣ U r a ∣ 2 ∣ U s a ∣ 2 [ 1 + G r s G s r ] + ∑ r = 1 n ∣ U r a ∣ 2 . (160) \begin{aligned}
\langle\hat{n}_a^3\rangle={}&\sum_{\substack{r,s,t\\\text{distinct}}}^{n}|U_{ra}|^2|U_{sa}|^2|U_{ta}|^2\left[1+G_{st}G_{ts}+G_{rs}G_{sr}+G_{rt}G_{tr}+G_{ts}G_{sr}G_{rt}+G_{rt}G_{ts}G_{sr}\right]\\
&+3\sum_{\substack{r,s\\\text{distinct}}}^{n}|U_{ra}|^2|U_{sa}|^2\left[1+G_{rs}G_{sr}\right]+\sum_{r=1}^{n}|U_{ra}|^2. \tag*{(160)}
\end{aligned} ⟨ n ^ a 3 ⟩ = r , s , t distinct ∑ n ∣ U r a ∣ 2 ∣ U s a ∣ 2 ∣ U t a ∣ 2 [ 1 + G s t G t s + G r s G sr + G r t G t r + G t s G sr G r t + G r t G t s G sr ] + 3 r , s distinct ∑ n ∣ U r a ∣ 2 ∣ U s a ∣ 2 [ 1 + G r s G sr ] + r = 1 ∑ n ∣ U r a ∣ 2 . (160)
Notice that, as discussed in the main text, the correlator of order k k k is expressible in terms of two Bargmann invariants of order k k k or lower. The above relation can be generalized to a product of mixed states just by substituting G i j G j i G_{ij}G_{ji} G ij G j i with Tr { ρ i ρ j } \operatorname{Tr}\{\rho_i\rho_j\} Tr { ρ i ρ j } and similarly for the third order.
Certification of Indistinguishability
The quantification of indistinguishability is a task that has sparked significant interest in the context of photonic quantum computing since the majority of protocols assume indistinguishable particles, and thus understanding how indistinguishable a set of photons is, allows one to quantify the deviation from ideal behavior. In recent years many different measures of it have been proposed, including in Refs. [11 , 15 , 16 ] , but here we focus on the one discussed in [17 , 26 ] . In these references, it was shown that given a state Ω e x t ( ρ ) \Omega_{\mathrm{ext}}(\rho) Ω ext ( ρ ) , the fidelity to the closest indistinguishable state can be written as
F i n d ( ρ ) = Tr { Π s y m Ω e x t ( ρ ) } (161) F_{\mathrm{ind}}(\rho)=\operatorname{Tr}\{\Pi_{\mathrm{sym}}\Omega_{\mathrm{ext}}(\rho)\} \tag*{(161)} F ind ( ρ ) = Tr { Π sym Ω ext ( ρ )} (161)
and similarly if Ω e x t ( ψ i n d ) \Omega_{\mathrm{ext}}(\psi_{\mathrm{ind}}) Ω ext ( ψ ind ) is the state of indistinguishable particles closest to Ω e x t ( ρ ) \Omega_{\mathrm{ext}}(\rho) Ω ext ( ρ ) , then 1 2 ∥ Ω e x t ( ψ i n d ) − Ω e x t ( ρ ) ∥ 1 = 1 − F i n d ( ρ ) \frac{1}{2}\lVert\Omega_{\mathrm{ext}}(\psi_{\mathrm{ind}})-\Omega_{\mathrm{ext}}(\rho)\rVert_{1}=1-F_{\mathrm{ind}}(\rho) 2 1 ∥ Ω ext ( ψ ind ) − Ω ext ( ρ ) ∥ 1 = 1 − F ind ( ρ ) . So the task of quantifying indistinguishability reduces to measuring F i n d F_{\mathrm{ind}} F ind , for which [17 ] offers a randomized protocol which can estimate it up to additive error. For the case of pure states such a quantity reduces to
F i n d ( ψ ) = perm ( G ) n ! . (162) F_{\mathrm{ind}}(\psi)=\frac{\operatorname{perm}(G)}{n!}. \tag*{(162)} F ind ( ψ ) = n ! perm ( G ) . (162)
Thus is reasonable to ask how much the estimation error on G G G affects such a measure.
Proposition 6. Let ∥ G − G ′ ∥ 2 ≤ ϵ \lVert G-G'\rVert_{2}\leq\epsilon ∥ G − G ′ ∥ 2 ≤ ϵ then we have that
∣ perm ( G ) n ! − perm ( G ′ ) n ! ∣ ≤ 1 2 n ϵ \left|\frac{\operatorname{perm}(G)}{n!}-\frac{\operatorname{perm}(G')}{n!}\right|\leq\frac{1}{2}\sqrt{n}\epsilon n ! perm ( G ) − n ! perm ( G ′ ) ≤ 2 1 n ϵ
Proof. Starting by the relation between Fidelity and trace distance discussed above, we have that
∣ perm ( G ) n ! − perm ( G ′ ) n ! ∣ = ∣ F i n d ( ψ ) − F i n d ( ψ ′ ) ∣ = 1 2 ∥ Ω e x t ( ψ ) − Ω e x t ( ψ ′ ) ∥ 1 ≤ n 2 ∥ G − G ′ ∥ 2 (163) \left|\frac{\operatorname{perm}(G)}{n!}-\frac{\operatorname{perm}(G')}{n!}\right|=\left|F_{\mathrm{ind}}(\psi)-F_{\mathrm{ind}}(\psi')\right|=\frac{1}{2}\lVert\Omega_{\mathrm{ext}}(\psi)-\Omega_{\mathrm{ext}}(\psi')\rVert_{1}\leq\frac{\sqrt{n}}{2}\lVert G-G'\rVert_{2} \tag*{(163)} n ! perm ( G ) − n ! perm ( G ′ ) = ∣ F ind ( ψ ) − F ind ( ψ ′ ) ∣ = 2 1 ∥ Ω ext ( ψ ) − Ω ext ( ψ ′ ) ∥ 1 ≤ 2 n ∥ G − G ′ ∥ 2 (163)
:::
So reconstructing the Gram matrix, is sufficient to obtain (up to additive error n ϵ \sqrt{n}\epsilon n ϵ ) an estimate of how close Ω e x t ( ψ ) \Omega_{\mathrm{ext}}(\psi) Ω ext ( ψ ) is to a state of indistinguishable particles. It is important to clarify that although permanents are involved in the calculation of F i n d ( ψ ) F_{\mathrm{ind}}(\psi) F ind ( ψ ) , it does not have an exponential complexity in terms of computation up to additive error. In particular one can rewrite it as
perm ( G ) n ! = 1 n ! ∑ σ ∈ S n ∏ i = 1 n G i , σ i = E σ ∈ S n [ ∏ i = 1 n G i , σ i ] (164) \frac{\operatorname{perm}(G)}{n!}=\frac{1}{n!}\sum_{\sigma\in S_n}\prod_{i=1}^{n}G_{i,\sigma_i}=\mathbb{E}_{\sigma\in S_n}\left[\prod_{i=1}^{n}G_{i,\sigma_i}\right] \tag*{(164)} n ! perm ( G ) = n ! 1 σ ∈ S n ∑ i = 1 ∏ n G i , σ i = E σ ∈ S n [ i = 1 ∏ n G i , σ i ] (164)
which can be understood as an expectation value, for which we can apply Hoeffding’s inequality. This result in the fact that F i n d ( ψ ) F_{\mathrm{ind}}(\psi) F ind ( ψ ) can be computed up to error ϵ 1 \epsilon_1 ϵ 1 and success probability 1 − δ 1-\delta 1 − δ in O ( n ϵ 1 − 2 ln δ − 1 ) O(n\epsilon_1^{-2}\ln\delta^{-1}) O ( n ϵ 1 − 2 ln δ − 1 ) , where the n n n factor comes from the computation of ∏ i = 1 n G i , σ i \prod_{i=1}^{n}G_{i,\sigma_i} ∏ i = 1 n G i , σ i . By choosing ϵ 1 ≪ n ϵ \epsilon_1\ll\sqrt{n}\epsilon ϵ 1 ≪ n ϵ , we can guarantee that
∣ perm ( G ′ ) n ! − F i n d ( ψ ) ∣ ≤ 1 2 n ϵ (165) \left|\frac{\operatorname{perm}(G')}{n!}-F_{\mathrm{ind}}(\psi)\right|\leq\frac{1}{2}\sqrt{n}\epsilon \tag*{(165)} n ! perm ( G ′ ) − F ind ( ψ ) ≤ 2 1 n ϵ (165)
which allows us to certify how indistinguishable the state is.
Reducing the size of the system
The inversion of the full third-order linear system introduced in Sec. IV involves all third-order Bargmann invariants,
A 3 x 3 = b 3 , (166) A_{3}x_{3}=b_{3}, \tag*{(166)} A 3 x 3 = b 3 , (166)
where the entries of x 3 x_{3} x 3 are the real and imaginary parts of G r s G s t G t r G_{rs}G_{st}G_{tr} G r s G s t G t r , 1 ≤ r < s < t ≤ n 1\leq r<s<t\leq n 1 ≤ r < s < t ≤ n . While the full set of third-order invariants is sufficient for the reconstruction, the Gram-matrix reconstruction procedure of Sec. III C only requires the Bargmann invariants associated with paths in a chosen spanning tree. This motivates restricting the inversion to the corresponding subset of parameters.
Let T T T be the optimal spanning tree of the graph Γ \Gamma Γ introduced in Sec. B2. We partition the vector of third-order invariants as
x 3 = ( x T x R ) , (167) x_{3}=\begin{pmatrix}x_{T}\\x_{R}\end{pmatrix}, \tag*{(167)} x 3 = ( x T x R ) , (167)
where x T x_T x T contains the third-order invariants that we retain for the tree-based reconstruction and x R x_R x R contains all remaining third-order invariants. Correspondingly, we write
A 3 = ( A T A R ) , (168) A_3 = (A_T\ A_R), \tag*{(168)} A 3 = ( A T A R ) , (168)
so that the measurement equations take the form
A T x T + A R x R = b 3 . (169) A_T x_T + A_R x_R = b_3. \tag*{(169)} A T x T + A R x R = b 3 . (169)
Here A T A_T A T and A R A_R A R are formed simply by selecting the columns of A 3 A_3 A 3 corresponding to x T x_T x T and x R x_R x R , respectively. The quantities in x R x_R x R are nuisance parameters for the purpose of reconstructing the tree-associated invariants. To eliminate their contribution, we use the orthogonal projector onto the complement of the column space of A R A_R A R ,
P R ⊥ = I − A R A R + , (170) P_R^\perp= I - A_R A_R^+, \tag*{(170)} P R ⊥ = I − A R A R + , (170)
where A R + A_R^+ A R + denotes the Moore–Penrose pseudoinverse. By construction, we have P R ⊥ A R = 0 P_R^\perp A_R = 0 P R ⊥ A R = 0 . Applying this projector to the measurement equation therefore gives
P R ⊥ A T x T = P R ⊥ b 3 . (171) P_R^\perp A_T x_T = P_R^\perp b_3. \tag*{(171)} P R ⊥ A T x T = P R ⊥ b 3 . (171)
Thus the unwanted third-order invariants are removed without requiring their explicit reconstruction. Defining
A T e f f : = P R ⊥ A T , b T e f f : = P R ⊥ b 3 , (172) A_T^{\mathrm{eff}} := P_R^\perp A_T,\qquad b_T^{\mathrm{eff}} := P_R^\perp b_3, \tag*{(172)} A T eff := P R ⊥ A T , b T eff := P R ⊥ b 3 , (172)
we obtain the reduced linear system A T e f f x T = b T e f f A_T^{\mathrm{eff}} x_T = b_T^{\mathrm{eff}} A T eff x T = b T eff . The tree-associated Bargmann invariants can then be estimated as x ^ T = ( A T e f f ) + b T e f f \hat{x}_T = (A_T^{\mathrm{eff}})^+ b_T^{\mathrm{eff}} x ^ T = ( A T eff ) + b T eff .
The conditioning of the reduced inversion is governed by
κ ( A T e f f ) = σ max ( A T e f f ) σ min ( A T e f f ) , (173) \kappa\left(A_T^{\mathrm{eff}}\right) = \frac{\sigma_{\max}\left(A_T^{\mathrm{eff}}\right)}{\sigma_{\min}\left(A_T^{\mathrm{eff}}\right)}, \tag*{(173)} κ ( A T eff ) = σ m i n ( A T eff ) σ m a x ( A T eff ) , (173)
provided that A T e f f A_T^{\mathrm{eff}} A T eff has full column rank. This quantity should be compared directly with the condition number of the full matrix A 3 A_3 A 3 . In particular, projecting does not necessarily worsen the conditioning: if the poorly conditioned directions of the full system are associated predominantly with the discarded invariants, the effective matrix A T e f f A_T^{\mathrm{eff}} A T eff can be better conditioned than A 3 A_3 A 3 .