Asymptotic evaluation of bosonic probability amplitudes in linear unitary networks in the case of large number of bosons

V. S. Shchesnovich

I Introduction

Linear optical networks play an important role in the quantum manifestations of light. Indeed, the well-known Hong-Ou-Mandel (HOM) dip HOM (see also Refs. CST ; LM ) is a direct manifestation of the quantum indistinguishability of photons. Recently LB a generalization of the HOM effect and difference in behavior of bosons and fermions was theoretically studied in the general setting of Bell multiport beam splitters (see also, for instance, Refs. Mult1 ; Mult2 ). Many important results on quantum interference phenomena in multiport devices for bosons and fermions were recently discovered. There is a zero transmission law ZTL in Bell multiports due to symmetry of the network matrix. Moreover, a generalization of the suppression laws and many-particle interferences beyond the boson and fermion statistics in unitary linear networks are found MPI . Recently the experimental advances have allowed to verify the HOM effect and the zero transmission law with three photons on a tritter HOM2zero . There are other important experimental advances in quantum interference experiments with indistinguishable particles in linear multiport devices, for instance, the recent three-photon quantum interference experiment on an integrated eight-mode optical device MPH . Moreover, the experimental efforts are now also directed at building the so-called boson sampler E1 ; E2 ; E3 ; E4 (see also below). Finally, a linear bosonic network is the central part of an ingenious proposal of quantum computation based on linear optics KLM .

It is known that the outcome probability amplitudes in unitary bosonic networks (e.g. in optical multiports) are expressed through matrix permanents, somewhat similar to the fermonic amplitudes which are given by matrix (a.k.a. Slater) determinants. Considering NN non-interacting bosons in an unitary network of MM input and output modes, one has to compute the matrix permanents of the N×NN\times N-dimensional complex matrices composed of repeated rows and columns of the network matrix to find the bosonic transition amplitudes in the network. The permanent of a matrix Minc can be obtained by taking the well-known Laplace expansion formula for matrix determinant and setting to “++” the signatures of all permutations in the summation.

The relation of bosonic amplitudes to matrix permanents was explored a long time ago C in connection with the quantum fields theory. Recently it has attracted a lot of renewed attention. One reason is that the similarity between fermions and bosons does not go along if one tries to compute matrix permanent: unlike it is for matrix determinant, computation of the permanent of an arbitrary matrix is #P\#P-complete, which is the result of a classic paper in the computational complexity theory Valiant . This means that no algorithm polynomial in matrix size can compute matrix permanents. The fastest known algorithm for computing the permanent of an arbitrary (complex) n×nn\times n-dimensional matrix is based on Ryser’s formula Ryser and requires O(n22n)\mathcal{O}(n^{2}2^{n}) flop operations. An interesting “physical” proof of the matrix permanent complexity result, based on the linear optical computing proposal KLM , was recently discovered A1 . Moreover, even the problem of approximating the permanent of an arbitrary complex matrix to a polynomial multiplicative error was also shown A1 to be a #P\#P-hard problem.There is an important exception of permanents of matrices with positive elements, which can be effectively approximated JSV , but such permanents are not connected to the quantum transition amplitudes in linear networks. Complexity of the matrix permanent was analyzed in the context of quantum mechanics in Ref. TT , where a method based on quantum measurement was proposed to directly measure the matrix permanent in a bosonic quantum multiport device. It was shown that the permanent of an arbitrary matrix can be expressed as a quantum observable. However, the catch of the method lies in an exponential number of necessary measurements, since the variance of the observable giving matrix permanent is exponential in matrix size TT (for comparison it was shown that matrix determinant can be found in just a single measurement).

Deep connection between the complexity of bosonic networks and that of matrix permanents was used in the recent proposal of a new model of quantum computer with noninteracting identical bosons, which, though not being an universal quantum computer, nevertheless can perform computations considered to be hard on a classical computer A1 ; AA . Such new quantum computer was compared to classical Galton’s board where, instead of classical balls and a single entry point, identical bosons are launched into different modes of a linear network. A very crucial difference, however, is that in the quantum network case the bosonic probabilities themselves are not known beforehand, since they cannot be effectively computed on a classical computer (for a sufficiently large network). One has to run the actual sampling experiments to find them. In the technical part, the proposal depends on the hardness to approximate the matrix permanent of a large N×NN\times N-dimensional submatrix of an arbitrary unitary M×MM\times M-dimensional matrix and some numerically tested conjectures. This proposal has generated experimental efforts to build the necessary bosonic network E1 ; E2 ; E3 ; E4 (see also the related experiments of Refs. HOM2zero ; MPH ).

It is believed that the hardness of computing the permanent of an arbitrary matrix is related to the matrix rank. Computation of the matrix permanent of an arbitrary (complex) n×nn\times n-dimensional matrix of rank RnR_{n} would apparently require at least on the order of nRnn^{R_{n}} flop operations on a classical computer (see, for instance, Ref. Gurvits ; moreover, this estimate for a matrix with repeated columns or rows is derived in Appendix D). In terms of bosonic networks, different limits are possible in this respect, which can be roughly divided by the relation between the number of bosons NN (i.e. matrix size) and the number of modes MM in the network (i.e. the maximum rank). For instance, it is shown AA that even an approximate computation of the matrix permanents describing linear bosonic networks is #P\#P-hard in the limit of N→∞N\to\infty and M≫N2M\gg N^{2}. The latter inequality is related to the “boson birthday bound”, i.e. the probability of two bosons to land into the same mode is negligible in this limit (and there is an experimental confirmation BosBirthExp ).

But even for Bell multiports there is no analytical approach capable to give probabilities of individual events when the latter are greater than zero (however, probabilities of averaged output events, such as the probability to find a specific number of bosons in one output port or a specific number of occupied output ports was in fact approximated by an analytical formula based on the classical consideration ZTL ). Such an analytical approach is especially lacking in the limit of a large matrix size, when the computational complexity makes numerical evaluation practically hard. One would not expect the existence of an asymptotic analytical approximation in the limit N→∞N\to\infty and M≥NM\geq N, since it would contradict the #P\#P-hardness of numerical approximation of the permanent in this limit (indeed, one could then run a numerical scheme mimicking the analytical approach). An asymptotic analytical approximation could only exist for M≪NM\ll N. Such an approach is developed below by reducing the summation of the Laplace expansion of matrix permanent to a multidimensional integral of the saddle-point type in the limit N→∞N\to\infty and MM finite. The very existence of an asymptotic approximation is important and stems from the fact that it is not dependent on the matrix size NN (i.e. the number of bosons in the network), but only on the solution of some 2M−12M-1 bilinear equations (the matrix scaling problem) giving the saddle points of the integral.

Practical usage of the proposed approach crucially depends on effective solution of two other problems of different type. One is the unitary matrix scaling problem, i.e. for a given unitary matrix UU to find all diagonal scaling matrices XX and YY with the complex-valued elements such that the product matrix XUYXUY has given row and column sums (these matrices give the saddle points of the integral). The other problem is to derive a formula for multidimensional saddle point method with the multiple, i.e. coalescing, saddle points. Only the case of simple saddle points has a general solution so far FB and a special case of two coalescing saddle points on the real axis is treated FP . However, the coalescing saddle points represent exceptional cases rather than the general case. For simple saddle points, which is the general case, an explicit formula for bosonic probability amplitudes is derived below. As we use the well-known Stirling formula for the factorial in one of the steps, the approach is restricted to the case when there is no input or output mode without at least one boson in it (though this latter limitation can be lifted, for simplicity sake it is not pursued in this work). The asymptotic formula for bosonic transition amplitudes is tested on two-mode network (i.e. the beam splitter) where it shows a very good accuracy within the above described limitations. Three-mode network (i.e. the tritter) is also considered.

The rest of the text is organized as follows. In section II an integral approximation of bosonic probability amplitudes in unitary networks is derived. The integral is evaluated by the saddle point method and an explicit formula is derived when the saddle points are simple. Some details of the calculations are relegated to B and C. For completeness, a short derivation of bosonic probability amplitudes as matrix permanents is given in A. Comparison with the classical particles on a network is also discussed. In section III the general formula is tested on two-mode network (the beam splitter) where the sources of error are identified and discussed. Moreover, three-mode network (the tritter) is also considered. Section IV contains summary of the results. The computational complexity of the permanent of a matrix with repeated rows and/or columns, i.e. for which the asymptotic approximation is developed, is considered in detail in Appendix D.

II The saddle point method for probability amplitudes in linear bosonic networks

We consider the transition probability amplitudes of NN bosons between the input (∣f1⟩,…,∣fM⟩|f_{1}\rangle,\ldots,|f_{M}\rangle) and output (∣g1⟩,…,∣gM⟩|g_{1}\rangle,\ldots,|g_{M}\rangle) modes of a MM-mode unitary network, as in Fig. 1, which are given by (see, for instance, Refs. TT ; Scheel )

Here matrix U[n1,…,nM∣m1,…,mM]U[n_{1},\ldots,n_{M}|m_{1},\ldots,m_{M}] consists of repeated rows and columns of the network matrix Ukl=⟨gl∣fk⟩U_{kl}=\langle g_{l}|f_{k}\rangle (the order being insignificant), with nkn_{k} duplicates of the kkth row and mlm_{l} of the llth column, satisfying ∑k=1Mnk=∑k=1Mmk=N\sum_{k=1}^{M}n_{k}=\sum_{k=1}^{M}m_{k}=N (for more details, see A). Recall that the permanent of a N×NN\times N-dimensional matrix AA is given by summation over all possible permutations τ\tau in the product of NN different matrix elements Minc , i.e.

To derive an asymptotic approximation for the bosonic amplitude given in Eq. (1) we regroup of the summation in Eq. (2) in such a way that the nature of the matrix U[n1,…,nM∣m1,…,mM]U[n_{1},\ldots,n_{M}|m_{1},\ldots,m_{M}] as a matrix with repeated rows and columns is used. This regrouping leads also to an interesting interpretation of the permanent of U[n1,…,nM∣m1,…,mM]U[n_{1},\ldots,n_{M}|m_{1},\ldots,m_{M}] as an average over a lattice of contingency tables, see Fig. 2, with probabilities given by a bi-multivariate generalization of the hypergeometric distribution, known as the Fisher-Yates distribution in mathematical statistics Fisher ; Yates (see also a number of reviews Refs. Good ; DE ; DG and the references therein). This representation is discussed below in detail.

By successive application of the Laplace expansion for permanents Minc one can express the boson probability amplitude (1) as an average over the lattice of M×MM\times M-dimensional matrices SklS_{kl} (Skl∈{0,1,2,3…}S_{kl}\in\{0,1,2,3\ldots\}) with given row and column sums, equal here to the distribution of bosons in the input and output modes: ∑l=1MSkl=nk\sum_{l=1}^{M}S_{kl}=n_{k} and ∑k=1MSkl=ml\sum_{k=1}^{M}S_{kl}=m_{l}. Indeed, the first application of the Laplace expansion consists of dividing the matrix U[n1,…,nM∣m1,…,mM]U[n_{1},\ldots,n_{M}|m_{1},\ldots,m_{M}] into two parts, and the permanent into a sum over the products of partial permanents, one involving n1n_{1} first rows (all equal) and the other involving the rest of matrix rows. The summation runs over all possible partitions of the column indices between the two permanents, such that one permanent contains n1n_{1} column indices (w1,…,wn1w_{1},\ldots,w_{n_{1}}, with S11S_{11} of them being equal to 11, S12S_{12} being equal to 22, etc), while the other permanent contains N−n1N-n_{1} column indices (wn1+1,…,wNw_{n_{1}+1},\ldots,w_{N}). Thus, application of the Laplace expansion as above described gives (with (w1,…,wN)(w_{1},\ldots,w_{N}) being a permutation of (1,…,1⏟m1,2,…,2⏟m2,…,M,…,M⏟mM)(\underbrace{1,\ldots,1}_{m_{1}},\underbrace{2,\dots,2}_{m_{2}},\ldots,\underbrace{M,\ldots,M}_{m_{M}}))

where we have used that permanent of the first submatrix is equal to n1!∏l=1MU1lS1ln_{1}!\prod_{l=1}^{M}U_{1l}^{S_{1l}} and, due to the permutational invariance of matrix permanent, the r.h.s. contains functions of numbers of repeated columns and not the column indices themselves. Repeating the above procedure, by taking out successively each set of repeated rows, we obtainEq. (4) could also be deduced from Eq. (1) and the formula for bosonic probability amplitude derived in Ref. Urias by application of Wick’s theorem; note that using the matrix permanent and the Laplace expansion is an impressive shortcut to that involved derivation.

Eq. (4) has an interesting statistical interpretation.Besides physical interpretation as the sum over quantum probability amplitudes of all possible transitions through the network, i.e. a variant of R. Feynman’s path integral formula. Indeed, the ratio of factorials which appears on the r.h.s. in Eq. (4), divided by N!N!, is know as the Fisher-Yates distribution Fisher ; Yates (see also the reviews Refs. Good ; DE ; DG ). It appears in applied mathematical statistics, namely in Fisher’s exact test of independence of two properties, and uses the so-called contingency tables (here SklS_{kl}). The Fisher-Yates distribution gives the conditional probability of getting a matrix SklS_{kl} (the contingency table) of the joint frequencies of two statistically independent properties, given the row and column sums are equal to their marginal frequencies (the margins, in our case n1,…,nMn_{1},\ldots,n_{M} and m1,…,mMm_{1},\ldots,m_{M}, respectively). Since the two properties are independent, a simple exercise in combinatorics (see also footnote “d” ) leads to the following probability formula of the Fisher-Yates distribution (using a shortcut notation {vi}\{v_{i}\} for a set of indexed variables: v1,v2,…v_{1},v_{2},\ldots)

Note that the delta symbols in Eq. (4) restrict the summation to matrices SklS_{kl} with given margins and precisely under these constraints the probabilities of Eq. (5) sum to 1. The matrix permanent of Eq. (4) is thus multiplied by N!N! the value of the characteristic function χ({λkl}∣{nk,ml})≡⟨exp⁡{∑k,l=1MλklSkl}⟩\chi(\{\lambda_{kl}\}|\{n_{k},m_{l}\})\equiv\langle\exp\{\sum_{k,l=1}^{M}\lambda_{kl}S_{kl}\}\rangle of the Fisher-Yates distribution at the parameters λkl\lambda_{kl} equal to logarithms of the elements of UU:

Eq. (6) has the following physical interpretation. The bosonic transition amplitude in a quantum network, between the input ∣n1,…,nM⟩f|n_{1},\ldots,n_{M}\rangle_{f} and output ∣m1,…,mM⟩g|m_{1},\ldots,m_{M}\rangle_{g} Fock states, is an average of products of amplitudes of “elementary processes”, as depicted in Fig. 2, corresponding to contingency table SklS_{kl} (i.e. a matrix satisfying the constraints ∑l=1MSkl=nk\sum_{l=1}^{M}S_{kl}=n_{k} and ∑k=1MSkl=ml\sum_{k=1}^{M}S_{kl}=m_{l}), assuming the mutual statistical independence of distribution of bosons in the input and output modes.There are Cin=N!∏k=1Mnk!C_{in}=\frac{N!}{\prod_{k=1}^{M}n_{k}!} ways to distribute bosons over the input modes, Cout=N!∏l=1Mml!C_{out}=\frac{N!}{\prod_{l=1}^{M}m_{l}!} ways to distribute bosons over the output modes, and, as the two distributions are independent, in total CinCoutC_{in}C_{out} ways to distribute bosons over the input and output modes. For a table SklS_{kl} we select CS=N!∏k,l=1MSkl!C_{S}=\frac{N!}{\prod_{k,l=1}^{M}S_{kl}!} combinations from these distributions, thus P({Skl}∣{nk,ml})=CSCinCoutP(\{S_{kl}\}|\{n_{k},m_{l}\})=\frac{C_{S}}{C_{in}C_{out}}, i.e. Eq. (5).

Eq. (6), however, does not seem to be of any help for numerical evaluation of matrix permanents, since the number of contingency tables scales exponentially with NN (precisely, their number scales exponentially with the margins for a fixed table size and, in fact, the problem of counting the contingency tables is #P\#P-hard, see, for instance Refs. DG ; Bend ; Barv ; GM ; Barv2 ).

On the other hand, computation of the permanent of a matrix with repeated rows and/or columns can be effectively carried out by using the available in this case reductions in Ryser’s algorithm (see, for instance, Ref. Thesis ). Indeed, it is shown in Appendix D that a modified Ryser algorithm requiring just O(NM+1)\mathcal{O}(N^{M+1}) flops is available in this case (this algorithm was used for obtaining Fig. 7 of section III.2 below).

II.2 Approximating the bosonic probability amplitude by a multidimensional integral

On the other hand, the fact that the number of contingency tables in Eq. (6) scales exponentially with NN is an indication on possibility of an asymptotic approach. Indeed, since the lattice of contingency tables SklS_{kl} is exponential in NN, if we divide SklS_{kl} by NN, the resulting matrix pp, pkl≡Skl/Np_{kl}\equiv S_{kl}/N, will belong as N→∞N\to\infty to a dense lattice in the continuous convex set of matrices with real-valued entries and given row and column sums. Therefore, a sum over such a lattice can be replaced by a multidimensional integral with pklp_{kl} as the integration variables. Moreover, a large parameter NN would appear in the exponent of the integrand, thus allowing for an asymptotic evaluation of the permanent. This is the approach pursued in the following.

First of all, we need to approximate the Fisher-Yates distribution (5) by a manageable smooth function of the integration variables pklp_{kl}. Using an approximate formula for the multinomial coefficient, given by Eq. (59) of B, we obtain for nk,mk,Skl≥1n_{k},m_{k},S_{kl}\geq 1:

where we have denoted by I\mathcal{I} the mutual information function, namely

with the Shannon entropy function denoted by H\mathcal{H}.

The sum in Eq. (4) can be replaced by an integral as N→∞N\to\infty, since the difference between the elements of two neighboring pp-matrices (the N−1N^{-1}-scaled contingency tables SklS_{kl}) is of order 1/N1/N. The Kronecker delta symbols must be replaced by the N−1N^{-1}-scaled Dirac delta functions:

There are only 2M−12M-1 independent constrains in the product of 2M2M Kronecker deltas in Eq. (4), since the contingency table elements SklS_{kl} sum to NN, giving both the sum of the row sums and of the column sums. Hence, the integration domain is (M−1)2(M-1)^{2}-dimensional. Using these observations and some elementary algebra we obtain from Eqs. (4), (7), and (9):

Here we have introduced an integration measure dμ({pkl})d\mu(\{p_{kl}\}) over an (M−1)2(M-1)^{2}-dimensional subspace in the convex set of all matrices with positive elements constrained only by the 2M−12M-1 Dirac delta functions from Eq. (9).Note that an arbitrary subset of 2M−12M-1 delta functions can be used, see also C. It reads

The error of the approximation in Eq. (10) is estimated to have a multiplicative order ∼1/N\sim 1/N, since this is the order of our approximation of the Fisher-Yates distribution by a smooth function in Eq. (7), whereas replacing a finite sum by an integral brings also an error on the order of difference between the values of two nearest lattice points, i.e. Δpkl∼1/N\Delta p_{kl}\sim 1/N. The multidimensional integral in Eq. (10) is in the standard form used for asymptotic expansion in powers of 1/N1/N by the saddle point method (called also the steepest descent method). However, since the integral representation in Eq. (10) has already an error of order 1/N1/N, only the leading term of the resulting asymptotic expansion is meaningful.

II.3 The matrix scaling problem giving the saddle points

At this stage, let us recall the general formula for the leading term of an nn-dimensional integral, given by the saddle point approximation, when the saddle points are simple FB :

where the summation is over contributing saddle points zjz_{j}. The determinant in the denominator of Eq. (12) is of the Hessian matrix, i.e. the matrix composed of the second-order derivatives of ϕ(z)\phi(z), taken at the respective saddle point. The saddles zjz_{j} are found by a deformation, as allowed by analyticity of ϕ(z)\phi(z), of the integration domain in the extended complex-valued space of zz, such that the deformed domain is contained in the steepest descent regions of the integrand. The next term in the asymptotic expansion, as compared to the leading term of Eq. (12), has the relative order of 1/N1/N. Let us now apply the result (12) to our specific case and derive the saddle point approximation of the permanent.

The saddle points (matrices pp, in our case) are found as extremals of the multivariate function in the exponent of the integrand. In our case the function reads

with, however, only (M−1)2(M-1)^{2} independent variables out of the total M2M^{2} matrix elements pklp_{kl}. Using the Lagrange multipliers λk\lambda_{k} and μl\mu_{l} one can equivalently look for extremals of the augmented function

Equating the differential of F\mathcal{F} to zero we obtain that the saddle points have the following general form

II.3.2 Calculation of the Hessian. The main result

In our case, the Hessian matrix is with respect to some independent (M−1)2(M-1)^{2} variables from the M2M^{2} elements of matrix pp. Therefore, an extension of the saddle point method to the constrained integration is needed, which runs as follows. We rewrite the constrains on variables pklp_{kl} in Eq. (11) as a set of linear equations by introducing a matrix Cj,klC_{j,kl}, where the enumeration order of the double index (k,l)(k,l) is as follows (k,l)={(1,1),…,(1,M),(2,1),…(2,M),…,(M,1),…,(M,M)}(k,l)=\{(1,1),\ldots,(1,M),(2,1),\ldots(2,M),\ldots,(M,1),\ldots,(M,M)\}, i.e. index kk runs slower than index ll. The constraints can be rewritten as followsThe specific subset of 2M−12M-1 constraints is in accord with the selected measure in Eq. (11).

Matrix CC in Eq. (19) has rank equal to 2M−12M-1. It can be partitioned into a (2M−1)×(2M−1)(2M-1)\times(2M-1)-dimensional nonsingular submatrix C(I)C^{(I)} and a submatrix C(II)C^{(II)}. These two matrices induce a similar partition of the elements pklp_{kl}, treated as a vector with double index (k,l)(k,l). Using a vector notation p‾\overline{p}, we can cast the system of constraints given by Eq. (19) as follows

Eq. (20) allows to extract independent variables from the M2M^{2} elements of pp and calculate the needed Hessian. First, by introducing two vectors, ξ‾\overline{\xi} consisting of 2M−12M-1 dependent integration variables and η‾\overline{\eta} of (M−1)2(M-1)^{2} independent ones, as follows ξ‾=C(I)p‾(I)\overline{\xi}=C^{(I)}\overline{p}^{(I)} and η‾=p‾(II)\overline{\eta}=\overline{p}^{(II)}, we satisfy the constraints by fixing the value of ξ‾\overline{\xi} according to Eq. (20) (i.e. by integrating over ξ‾\overline{\xi} using the Dirac delta functions in Eq. (11)) and obtain the rest of the measure dμd\mu as follows

Second, due to linearity of constraints (20), the determinant of the matrix of second derivatives of ϕ({pkl})\phi(\{p_{kl}\}) with respect to (M−1)2(M-1)^{2} independent variables can be evaluated from the full matrix of second derivatives with respect to all variables pklp_{kl} by using Eq. (20). We get the following result

Here [B~,I][\widetilde{B},I] stands for the block matrix constructed from the transposed (2M−1)×(M−1)2(2M-1)\times(M-1)^{2}-dimensional matrix BB and the (M−1)2×(M−1)2(M-1)^{2}\times(M-1)^{2}-dimensional matrix unit II. Furthermore, the determinant on the r.h.s. of Eq. (25) can be further simplified by using an identity which generalizes Sylvester’s identity for determinant of a block matrix (see C for details) valid for a nonsingular matrix AA:

where matrix BB is as in Eq. (25). In our case the Hessian matrix AA in the second differential of ϕ=I({pkl})−∑k,l=1Mpklln⁡Ukl\phi=\mathcal{I}(\{p_{kl}\})-\sum_{k,l=1}^{M}p_{kl}\ln U_{kl} is diagonal, i.e.

thus Eq. (26) applies for pkl≠0p_{kl}\neq 0. Note that the exponent with a large parameter NN in the integral on the r.h.s. of Eq. (10) evaluated at a saddle point pp such that some pkl=0p_{kl}=0 would be infinite (thus this case is ruled out). Indeed, using Eq. (16), we get at a saddle point pkl=xkUklylp_{kl}=x_{k}U_{kl}y_{l}:

Now, using Eqs. (12), and (21)-(28) into Eq. (10) and noticing that

we obtain a formula for the leading term approximation to the matrix permanent in the case of simple saddle points (our main result)

Here the sum over all contributing saddle points pkl(s)=xk(s)Uklyl(s)p^{(s)}_{kl}=x^{(s)}_{k}U_{kl}y^{(s)}_{l} is implied and matrix D′D^{\prime} in the denominator is as follows

The above discussion implies that the symmetries of bosonic probability amplitudes are preservedThis is also manifested by exact cancellation of probability amplitudes in the generalized HOM effect, Figs. 3 and 6 of section III. by the saddle point approximation. For instance, the inversion symmetry: g⟨m1,…,mM∣n1,…,nM⟩f=f⟨n1,…,nM∣m1,…,mM⟩g∗{}_{g}\langle m_{1},\ldots,m_{M}|n_{1},\ldots,n_{M}\rangle_{f}={}_{f}\langle n_{1},\ldots,n_{M}|m_{1},\ldots,m_{M}\rangle_{g}^{*}.

II.4 Comparison with classical identical particles on a network

Let us compare the transition probabilities of indistinguishable bosons with the transition probabilities of classical particles (which we consider identical). In the classical case, the elementary process of Fig. 2 means redistribution of nkn_{k} identical classical particles from the kkth input mode into the MM output modes with the output distribution given by the same contingency table SklS_{kl}. The difference is that the probabilities are multiplied and summed up, thus instead of the amplitude of an elementary quantum process, given by the product ∏l=1MUklSkl\prod_{l=1}^{M}U_{kl}^{S_{kl}} in Fig. 2, we have the probability of an elementary classical process, given by ∏l=1M∣Ukl∣2Skl\prod_{l=1}^{M}|U_{kl}|^{2S_{kl}}. As the particles are identical (i.e. the paths of the individual particles through the network are not traced), the total probability of such an elementary process is given by the latter product multiplied by the number of redistributions of nkn_{k} identical particles from the kkth input mode into MM output modes, i.e. by the factor nk!∏l=1MSkl!\frac{n_{k}!}{\prod_{l=1}^{M}S_{kl}!}. Summing up over all such probabilities (i.e. over the elementary processes from different input modes) and identifying the Fisher-Yates distribution in the summation, we obtain the transition probability of NN classical particles through MM-mode network (see also Ref. MPI )

where the input and output distributions are {n1,…,nM}\{n_{1},\ldots,n_{M}\} and {m1,…,mM}\{m_{1},\ldots,m_{M}\}, respectively (cf. with the quantum probability amplitude given by Eqs. (1) and (6)). For instance, for Bell multiports ∣Ukl∣2=1M|U_{kl}|^{2}=\frac{1}{{M}} and we obtain the resulting probability as follows (see also Ref. ZTL )

One can apply the saddle point approximation also to the classical probability given by Eq. (33). Using this simple observation, we can compare complexity of the saddle point approximation in the classical and quantum cases. A very important difference is spotted immediately: the classical analog of the matrix scaling problem is formulated for a matrix of positive elements Akl≡∣Ukl∣2A_{kl}\equiv|U_{kl}|^{2} (note that matrix AA is doubly stochastic, i.e. its row and column sums are equal: ∑k=1MAkl=∑l=1MAkl=1\sum_{k=1}^{M}A_{kl}=\sum_{l=1}^{M}A_{kl}=1). It is known that the matrix scaling problem for a positive matrix has a unique positive solution, since it is equivalent to a minimization problem of a convex function MatScal ; MatScal2 ; MScalUnique . Note that the corresponding saddle point belongs to the integration domain over the contingency tables pkl=Skl/Np_{kl}=S_{kl}/N, i.e. xkAklyl<1x_{k}A_{kl}y_{l}<1, since both Akl≥0A_{kl}\geq 0 and xk,yk>0x_{k},y_{k}>0 (the positive solution is constrained by the margins). Therefore, it is the only contributing saddle point in the classical case. This is remarkably different from the quantum case, where, as is discussed below, generally there are more than one complex-valued contributing saddle points. They loose interpretation of the dominating “real processes” of Fig. 2 (since the corresponding contingency table SklS_{kl} is complex). However, the saddle points describe in a simpler way the quantum interferences between exponentially many of such real processes in Eq. (6).

By using the explicit form of the saddle point, substituting Eq. (35) into Eq. (29) and the resulting expression into Eq. (33) one recovers the exact result given by Eq. (34) for a classical analog of Bell multiports.

III Testing accuracy of the saddle point approximation

To apply the saddle point approximation (29) we first have to solve the matrix scaling problem (16) which is a bilinear system of equations in xx and yy. One can reduce the number of variables by half by resolving one of the equations in Eq. (16), for instance, yl=∑k=1MUkl∗(nk/Nxk)y_{l}=\sum_{k=1}^{M}U^{*}_{kl}({n_{k}}/{Nx_{k}}). By introducing a vector RR containing all M−1M-1 independent variablesMultiplication of all xx-variables by a complex number λ\lambda, xk→λxkx_{k}\to\lambda x_{k}, does not change the saddle points, since it induces the inverse scaling of the yy-variables: yk→yk/λy_{k}\to y_{k}/\lambda. and a set of M−1M-1 vectors Z(l)Z^{(l)}, defined as follows:

we obtain from Eq. (29) a reduced system in the following form

Eq. (37) is hard to solve analytically for more than two modes (despite considerable efforts, the solution has not been found even for the simple case of Bell multiports). Moreover, all solutions of Eq. (37) are needed, since all saddle points contribute to the approximation in general. On the other hand, it is relatively easy to find solutions to Eq. (37) numerically (for instance, by the all-purpose nonlinear equations solver available in MATLAB with a random initial guess to find all possible solutions). It was found that the total number of solutions is dependent on {n1/N,...,nM/N}\{n_{1}/N,...,n_{M}/N\} and {m1/M,...,mM/N}\{m_{1}/M,...,m_{M}/N\} and that there can be symmetries leading to degeneracies. The absence of a formula for the total number of solutions prevents analysis of the computational complexity of Eq. (37).

Below we consider accuracy of the saddle point approximation in two cases: the beam splitter and the tritter, where the beam splitter allows an analytical solution, while already the tritter case requires a numerical solution.

The case of beam-splitter, M=2M=2, is analytically solvable. As is known Berns , two and three dimensional networks are uniquely defined by moduli ∣Ukl∣|U_{kl}| of the unitary matrix elements, whereas the 2M−12M-1 phases are scaled out by changing the unimportant phases of the input and output states. Let us consider the symmetric beam splitter, which is given by the following matrix

Then Eq. (37) leads to a quadratic equation for R1=n2n1x1x2R_{1}=\frac{\sqrt{n_{2}}}{\sqrt{n_{1}}}\frac{x_{1}}{x_{2}}:

There are two saddle points pp whose xx component in Eq. (15) readsTo obtain x1,2x_{1,2} from R1R_{1} we have taken into account the scale invariance x→λxx\to\lambda x and y→y/λy\to y/\lambda.

The yy component is given by y1=(−n1Nx1+n2Nx2)/2y_{1}=(-\frac{n_{1}}{Nx_{1}}+\frac{n_{2}}{Nx_{2}})/\sqrt{2} and y2=(n1Nx1+n2Nx2)/2y_{2}=(\frac{n_{1}}{Nx_{1}}+\frac{n_{2}}{Nx_{2}})/\sqrt{2}. In Eq. (40) we have introduced a phase ϕ\phi, however, it is a real value only under the condition that γ2<1\gamma^{2}<1, i.e. when

with Δn=n2−n1\Delta n=n_{2}-n_{1} and Δm=m2−m1\Delta m=m_{2}-m_{1}. Under condition (41) the yy component can be given as follows

Since 4m1m2(1−σ2)=4n1n2(1−γ2)=N2−(Δn)2−(Δm)24m_{1}m_{2}(1-\sigma^{2})=4n_{1}n_{2}(1-\gamma^{2})=N^{2}-(\Delta n)^{2}-(\Delta m)^{2}, the same threshold condition (41) applies to phases ψ\psi and δ\delta. When condition (41) is violated, the phases ϕ\phi, ψ\psi, and δ\delta become complex-valued (ϕ\phi and ψ\psi become imaginary). This corresponds to a phase transition in the bosonic probability amplitudes (see below).

The saddle points are given by Eq. (15). We get:

valid in the whole domain ∣Δn∣≤N|\Delta n|\leq N, ∣Δm∣≤N|\Delta m|\leq N. When condition (41) is satisfied, i.e. when ∣γ∣≤1|\gamma|\leq 1, both saddle points are complex-valued and contribute to the integral in Eq. (29). When it is violated, the saddle points become real valued. However, one of them does not contribute to the integral, since it escapes from the integration domain 0≤pkl≤10\leq p_{kl}\leq 1. Which one of the saddle points contributes depends on the sign of γ\gamma, i.e. the sign of Δm\Delta m, and the ratio n1/n2n_{1}/n_{2} (see also Fig. 3(c) below).

Finally, after a simple algebra, the determinant given by Eq. (32) becomes

where we have used that 16n1n2m1m2=(N2−(Δn)2)(N2−(Δm)2)16n_{1}n_{2}m_{1}m_{2}=\left(N^{2}-(\Delta n)^{2}\right)\left(N^{2}-(\Delta m)^{2}\right). Substituting Eqs. (40), (42), and (47) into Eq. (29) and the resulting approximation into Eq. (1) we obtain the saddle-point approximation to bosonic probability amplitudes of the symmetric beam-splitter (38).

III.1.2 Comparison with the exact result

To compare with the exact result the following expression for bosonic probability amplitude for network matrix of Eq. (38) will be used (see also Ref. LM )

The correspondence of the exact result (48) with the saddle point approximation can be divided into three regions. In the first region condition (41) is satisfied. This region contains the generalized HOM effect CST ; LM . In this case the amplitudes of two contributing terms in Eq. (29), corresponding to two saddle points, have the same moduli and the only difference lies in their relative phase. The corresponding domain in the two-dimensional plane with coordinates Δn\Delta n and Δm\Delta m is the inside of the circle (Δn)2+(Δm)2≲N2(\Delta n)^{2}+(\Delta m)^{2}\lesssim N^{2}. There is cancellation of the probability amplitudes for n1=n2=N/2n_{1}=n_{2}=N/2 and odd values of m1m_{1}, Fig. 3(a) (see also Refs. CST ; LM ). In the saddle point approach, the cancellation is due to symmetry of the two saddle-point contributions with the only difference being their relative phase given by (−1)m1(-1)^{m_{1}} (note: the cancellation is captured exactly by the saddle-point approximation).

On the other hand, there is another regime: the exponential decay of the probability amplitude as m1m_{1} approaches either or NN, see Fig. 3(c). This regime has not been studied previously (for instance, the approximation of Ref. LM only captures the oscillating regime). It appears when condition (41) is violated. In this case, there is just one contributing saddle point, the one which has the smallest moduli contribution to the permanent (this is similar to what occurs in the saddle-point approximation to the Airy function).

The third region is about the circle (Δn)2+(Δm)2≈N2(\Delta n)^{2}+(\Delta m)^{2}\approx N^{2}. This region contains two coalescing saddle points and cannot be approximated by Eq. (29) valid for the simple saddle points only (their contributions diverge on this circle, which is due to the determinant (47) approaching zero). Outside this region, which is restricted to narrow neighborhoods of the points m1=10m_{1}=10 and m1=50m_{1}=50 in Fig. 3(c), the saddle point approximation has a very good accuracy as is shown in Fig. 3(b), where the accuracy of the approximation (29) is compared to that for the binomial coefficient, given by Eq. (59) of B and used to build the approximation of the Fisher-Yates distribution (7). It is seen that the relative error is approximately twice as that in the approximation of the binomial coefficient.

The transition from the two contributing saddle points, with an oscillating probability amplitude as function of m1m_{1}, to a single contributing saddle point, with an exponentially decaying probability amplitude, is similar to the Airy function behavior, thus the related integral in Eq. (29) can be, in principle, expressed through a linear combination of the Airy function and its first derivative. Such results are available for the real-valued coalescing saddle points (for instance, in Refs. FB ; FP ). However, the method needs to be generalized to the complex-valued case before it could be applied to the integrals approximating the bosonic probability amplitudes.

Finally, it is interesting to observe that the saddle point approximation can give correct results down to the very small number of bosons, for instance, it correctly predicts the HOM effect HOM (though, obviously, small NN violate the assumption N≫1N\gg 1). Several results for small number of bosons are collected in Fig. 4, where we have 2≤N≤92\leq N\leq 9.

III.1.3 Scaling of the relative error of the saddle point approximation

Let us verify that the relative error scales as 1/N1/N for fixed n1n_{1} and m1m_{1}. The scaling of the relative error of the saddle point approximation is given in Figs. 5 and 6. Comparing Fig. 5 with Fig. 6 one can notice the oscillations of the relative error around the law of the inverse proportionality in the latter case. The origin of these oscillations is unclear. For instance, they are not due to approaching the boundary circle (Δn/N)2+(Δm/N)2=1(\Delta n/N)^{2}+(\Delta m/N)^{2}=1, since all data points from the same figure represent one and the same point in the (Δn/N,Δm/N)(\Delta n/N,\Delta m/N)-square. The only explanation is a very complicated general dependence of bosonic probability amplitude on NN for a fixed set of distributions {n1/N,...,nM/N}\{n_{1}/N,...,n_{M}/N\} and {m1/M,...,mM/N}\{m_{1}/M,...,m_{M}/N\} due to the fact that the phases of the individual saddle point contributions are multiplied by NN.

III.2 The three-mode (tritter) case

Let us now consider three mode network (the tritter). The canonical symmetric tritter, used, for instance, in the recent experiment HOM2zero , has the following network matrix

Nonlinear system in Eq. (37) with UU from Eq. (49) seems to be unsolvable analytically, however, numerical solution contains at most six different saddle points. Moreover, numerical simulations with random three-mode unitary matrices UU has shown that six is the maximal number of saddle points for any three-mode network, where in most cases all saddle points contribute to the approximation and the respective vector parameters xx and yy have the following “most probable” form (after fixing one of the xx-vector elements due to the scale invariance x→λxx\to\lambda x of Eq. (37))

where ϕk\phi_{k} and ψk\psi_{k} are real values (phases). This “most probable” form is very similar to the general solution in the beam splitter case of section III.1. However, the corresponding contributions to the approximation from such saddle points are not always of the same moduli as distinct from two-mode network. The approximation is not even qualitatively correct for small number of bosons. Moreover, it is found that the relative error always has oscillations reminiscent of those in Fig. 6 (what can explain the poor performance of the approximation for small NN in this case). Behavior of the relative error is illustrated in Fig. 7. Computation of the matrix permanent is carried out by a modified Ryser’s algorithm (similar as in Ref. Thesis ). Such algorithm has only polynomial in NN complexity as is shown in Appendix D.

IV Conclusion

We have shown that an asymptotic evaluation of matrix permanents giving bosonic probability amplitudes in unitary linear networks is possible for large number of bosons NN and fixed network size MM, such that N≫MN\gg M. The asymptotic approximation reduces the problem of evaluation of permanents of N×NN\times N-dimensional matrices with repeated rows and columns to a solution of a matrix scaling problem for M×MM\times M-dimensional network matrix, which is a system of bilinear equations in 2M−12M-1 variables. For simple saddle points, an explicit formula for bosonic probability amplitudes is derived.

The asymptotic approximation has been compared with the exact analytical result available for two-mode network, i.e. the beam-splitter, and has been found to have good accuracy correlated with accuracy of the approximation of multinomial coefficient (used as a building block of the saddle-point approximation). The approximation error is studied also for three-mode network, i.e. the tritter, where the saddle points were found numerically. Interestingly, in the beam splitter case, the approximation correctly reproduces behavior of probability amplitudes even for small number of bosons, for instance, it reproduces the original HOM effect. The relative error of the approximation is found to scale inversely with the number of bosons, however, the scaling is plagued by oscillations about the inverse scaling law (the origin of which is unclear). These oscillations degrade the approximation for small number of bosons in the case of the tritter, where, in contrast to the beam splitter case, the approximation performs poorly for small number of bosons.

There are various regimes of behavior of bosonic probability amplitudes in unitary networks, which are dependent on the number of contributing saddle points. For instance, in the beam-splitter case there are two regimes: (i) the oscillating regime, when two saddle point contribute to bosonic probability amplitude and the generalized Hong-Ou-Mandel effects take place, and (ii) the regime of exponential decay of bosonic probability amplitudes, when only one saddle point contributes.

Practical application of the method is conditioned on solution of the matrix scaling problem giving the saddle points (where the whole set of solutions is generally required). Another problem of different type has to be solved before practical application of the method is attempted. One has to derive a general formula for the saddle point method applicable when the saddle points coalesce. There is also an important topological problem of identifying the contributing saddle points, which is a highly nontrivial one in general FB , but may have general solution for the type of integrals appearing in the saddle point approximation of matrix permanents.

It is unlikely that there is analytical solution to the matrix scaling problem for MM-mode network with M>2M>2, since the total number of different solutions grows rapidly with MM. For M=2M=2 there are at most two saddle points. Numerical simulations with random network matrices indicate that for M=3M=3 there are at most six different saddle points, while for M=4M=4 there are at most twenty different saddle points. Therefore, the matrix scaling problem may have an exponential in MM computational complexity (note that this complexity is an attribute of a quantum network: for classical particles on a network there is just one contributing saddle point).

Acknowledgements

The author would like to thank the referee for many valuable comments that resulted in substantial improvement of the presentation. This work was supported by the CNPq and FAPESP of Brazil.

Appendix A Bosonic amplitudes expressed as matrix permanents

Consider a MM-dimensional quantum unitary network where NN bosons are launched into the input modes ∣f1⟩,…,∣fM⟩|f_{1}\rangle,\ldots,|f_{M}\rangle and are detected in the output modes ∣g1⟩,…,∣gM⟩|g_{1}\rangle,\ldots,|g_{M}\rangle. The network is given by a M×MM\times M-dimensional unitary matrix UU, U†U=IU^{\dagger}U=I, which transforms the input modes into the output modes,

i.e. between two orthogonal bases of a MM-dimensional single-particle Hilbert space HH. The goal is to express the bosonic transition amplitude between two Fock states ∣n1,…,nM⟩f|n_{1},\ldots,n_{M}\rangle_{f} and ∣m1,…,mM⟩g|m_{1},\ldots,m_{M}\rangle_{g}, giving the input and output states of NN bosons:

where ∑k=1Mnk=∑k=1Mmk=N\sum_{k=1}^{M}n_{k}=\sum_{k=1}^{M}m_{k}=N and it is implied that the two sets {i1,…,iN}\{i_{1},\ldots,i_{N}\} and {j1,…,jN}\{j_{1},\ldots,j_{N}\} are composed of repeated mode indices, e.g.

On the r.h.s.’s of Eqs. (52) and (53) there are unnormalized symmetric states of NN particles in the tensor product of NN single-particle Hilbert spaces H⊗H⊗…⊗HH\otimes H\otimes\ldots\otimes H. Such a state is given by a sum over all permutations τ\tau of NN indices of the single-particle states, divided by the number of all permutations, e.g.

The bosonic transition amplitude between the Fock states of Eqs. (52) and (53) is given by a double sum over the two sets of permutations of indices in the inner product of the ff and gg states, i.e. the indices of elements of the network matrix UU. This double sum is converted to a single one over all permutations of the column indices by transferring one of the two permutations to the co-product indices, i.e.

where σ′≡σ⋅τ−1\sigma^{\prime}\equiv\sigma\cdot\tau^{-1} runs over all permutations of NN elements. One immediately recognizes a matrix permanent on the r.h.s. of Eq. (56), where the matrix consist of repeated rows and columns of the network matrix UU (where the order is insignificant due to permutational invariance of matrix permanent). Therefore, we introduce the notation U[n1,…,nM∣m1,…,mM]U[n_{1},\ldots,n_{M}|m_{1},\ldots,m_{M}] for such a matrix and obtain the resulting bosonic amplitude proportional to permanent of this matrix, as in Eq. (1) of section II (see also Refs. C ; TT ; Scheel ).

Appendix B Approximating the multinomial coefficient

An approximation of the multinomial coefficient, and hence of the Fisher-Yates distribution, can be based on an exact formula for the factorial for n≥1n\geq 1Mortici :

where θn\theta_{n} is tightly bounded: 1/6<θn<0.1771/6<\theta_{n}<0.177. Interestingly, Eq. (57) can be extended to all n≥0n\geq 0 by carefully defining the limit 00=10^{0}=1 and redefining the lower bound to θ0=12π<16\theta_{0}=\frac{1}{2\pi}<\frac{1}{6}. After some algebraic manipulations, the multinomial coefficient becomes

where H\mathcal{H} is the expected Shannon entropy function H({nkN})≡−∑k=1MnkNln⁡(nkN)\mathcal{H}(\{\frac{n_{k}}{N}\})\equiv-\sum_{k=1}^{M}\frac{n_{k}}{N}\ln\left(\frac{n_{k}}{N}\right). Since θ\theta in Eq. (58) is always divided by N≫1N\gg 1, the simplest approximation is to drop it, thereby making an error of order O(N−1)\mathcal{O}(N^{-1}) and restricting ourselves to nk≥1n_{k}\geq 1. Assuming the latter, we obtain

Finally, an even better approximation of the multinomial coefficient (for all n≥0n\geq 0) could be obtained if an uniform nonzero θn\theta_{n} is selected, for instance θn=1/6\theta_{n}=1/6, i.e. similar as in Gosper’s approximation of the factorial Gosper . Such a formula, though being more complicated, would then improve the approximation of the Fisher-Yates distribution of section II. However, for the sake of simplicity, we do not pursue this approach in the present work.

Appendix C Proofs of the determinant identities of section II

Let us first proof a generalization of Sylvester’s determinant identity, i.e. Eq. (26) of section II. To this goal, one can use the following auxiliary Gaussian integral

where the real part of the quadratic form in the exponent is positive definite. The Gaussian integral in Eq. (62) can be easily evaluated and we obtain

On the other hand, one can also use the Fourier representation of the Dirac delta functions in the integrand of Eq. (60) and, by interchanging the integration order, evaluate the integral JJ on the whole xx space and then take the inverse Fourier transform. As all integrals are Gaussian they are easily evaluated. We obtain

Comparison of Eqs. (63) and (64) gives the determinant identity of Eq. (26) for nonsingular matrices AA with a positive definite real part. The validity can be extended to arbitrary nonsingular matrices AA by uniqueness of the analytic continuation in the complex plane, by noticing that the r.h.s.’s of Eqs. (63) and (64) are analytic functions of the elements of AA.

Finally, let us simplify the expression for a (2M−1)×(2M−1)(2M-1)\times(2M-1)-dimensional principal minor of DD (31). To this goal the following determinant identity valid for 2×22\times 2-block matrices can be used

which is a generalization of the formula for determinant of 2×22\times 2-dimensional matrices. For the (2M−1)×(2M−1)(2M-1)\times(2M-1)-dimensional principal minors of DD we obtain

Appendix D On the computational complexity of the permanent of a matrix with repeated rows and/or columns

One can reduce the number of operations in Ryser’s formula Ryser giving the matrix permanent when the matrix has repeated rows or columns, (see also Appendix B in Ref. Thesis ). Indeed, Ryser’s formula uses the inclusion and exclusion principle of Sylvester, it can be cast as

where SR⊂{1,…,N}S_{R}\subset\{1,\ldots,N\} and has N−RN-R elements (hence, the first term corresponds to S0S_{0}). In Eq. (70) the RRth term is a sum over the products of row sums of the matrices extracted from AA by crossing out RR columns. Now let us consider the N×NN\times N-dimensional matrix U[n1,…,nM∣m1,…,mM]U[n_{1},\ldots,n_{M}|m_{1},\ldots,m_{M}] of section II. Introducing the notation UkiljU_{k_{i}l_{j}} for its (i,j)(i,j)th element (where ii and jj run from 1 to NN, while 1≤ki,lj≤M1\leq k_{i},l_{j}\leq M) we get from Eq. (70)

with the summation over {SR}\{S_{R}\} being reduced to that over {r1,…,rM}\{r_{1},\ldots,r_{M}\} with r1+…+rM=Rr_{1}+\ldots+r_{M}=R (rlr_{l} is the number of the llth column duplicates crossed out from U[n1,…,nM∣m1,…,mM]U[n_{1},\ldots,n_{M}|m_{1},\ldots,m_{M}]). One can now easily estimate the number of floating point operations (flops) necessary for computing the permanent of U[n1,…,nM∣m1,…,mM]U[n_{1},\ldots,n_{M}|m_{1},\ldots,m_{M}]. Indeed, computation of the RRth term by Eq. (71) involves TRT_{R} summations over {r1,…,rM}\{r_{1},\ldots,r_{M}\} and NN multiplications of a sum comprised of between 1 and MM elements UklU_{kl}. The worst case for the last two operations is thus MNMN flops. On the other hand, the number TRT_{R} can expressed as

where PN(z)=∏k=1M(1+z+…+zmk)P_{N}(z)=\prod_{k=1}^{M}(1+z+\ldots+z^{m_{k}}). Thus TRT_{R} is the RRth term in the Taylor expansion of PN(z)P_{N}(z) about z=0z=0 and with Δz=1\Delta z=1. While TRT_{R} seems to be given by a complicated dependence on RR and {ml}\{m_{l}\}, their sum, i.e. the total number of flops in the summations over all sets {SR}\{S_{R}\}, has a simple expression. Indeed, using the fact that the Taylor expansion for PN(z)P_{N}(z) has only N+1N+1 terms, we get

Using this result and the previous estimates on the number of flops in the product and summation inside each sum over {r1,…,rM}\{r_{1},\ldots,r_{M}\}, as in Eq. (71), we get that the number of necessary flops F\mathcal{F} in Ryser’s formula can be reduced to a value satisfying

(note that by setting M=NM=N and mk=1m_{k}=1 we get the well-known upper estimate on the number of flops necessary for computing the permanent of an arbitrary matrix by Ryser’s formula: N=O(N22N)\mathcal{N}=\mathcal{O}(N^{2}2^{N})). Let us now analyze the worst case which is obtained by uniformly distributing the bosons over the modes, i.e. when mk=N/Mm_{k}={N}/{M} (this maximizes the product in Eq. (74)). We obtain the upper estimate on the number of flops (assuming N≫MN\gg M, and MM fixed)

This result conforms with the general guess, stated in the Introduction, on the number of necessary flops for computing the permanent of a N×NN\times N-dimensional matrix of rank MM.

Finally we note that complete characterization of a network for a given input {n1,…,nM}\{n_{1},\ldots,n_{M}\} is given by probabilities of all possible distributions {m1,…,mM}\{m_{1},\ldots,m_{M}\} of particles in the output modes. Hence, to characterize NN bosons on a MM-mode network with N≫MN\gg M and MM fixed one has to compute

permanents. Thus the total number of necessary flops to characterize NN bosons on a MM-mode network with N≫MN\gg M and MM fixed is FTotal=O(N2M)\mathcal{F}_{Total}=\mathcal{O}(N^{2M}).

References