WorksPhysics and Astronomy
Realistic simulation of universal multiport interferometers with losses within a Gaussian formalism
Abstract
Photonic technologies are among the leading platform contenders for demonstrating quantum advantage. Nevertheless, photon losses represent the major hurdle for the realization of a fault-tolerant optical quantum computer, and the need for an accurate characterization of this phenomenon is crucial for classical simulations of quantum algorithms on noisy backends. The noisy regime would require the simulation of the algorithm on a Fock backend or rather assuming the a priori hypothesis on the uniformity of the optical losses, which may lead to wrong predictions about the outcome from the algorithm on a cerain hardware. We propose a Gaussian model that can reproduce a lossy dynamics through the experimental characterization of imperfect interferometers, yielding the corresponding mean vector and the covariance matrix. Such model can be adapted to any continuous-variable architecture (spatial or time-bin encoded) and for both the Gaussian boson sampling or general-dyne based algorithms. Eventually, we quantify the drift of optical losses from being uniform throughout the multiport interferometer by a numerical simulation. This work proposes a blueprint for future characterizations, tailor-suited for specific devices and architectures, as well as for potential error correction and mitigation techniques, and it paves the way for realistic simulations of quantum algorithms on NISQ optical platforms.
Introduction
In the field of quantum computing, photonics is envisaged among the major competitors in the technological landscape. Due to the wide range of degrees of freedom of the photons, many proposals of quantum optical computers have been advanced, e.g. linear optical quantum computers [1, 2, 3, 4, 5, 6], angular momentum-based devices [7] and continuous variables (CV) devices [8, 9, 10, 11, 12, 13, 14]. However, all these platforms suffer from the same curse, i.e. optical losses of photons and subsequent noise. Differently from other technologies, where error correction codes have been designed to correct the flip of the qubit state [15, 16], in the frame of quantum optics, which relies on second quantization, the main hindrance consists of the reduction in the population of photons. An attempt to develop a surface code for CV computing has been addressed by Barnes [17]. However, this framework does not address the main issue in photonic computing, i.e. optical losses. A mitigation technique has been proposed by Su et al. [18], leveraging multiple sampling with tunable loss rates in order to reconstruct the ideal target observable to be measured. This mitigation scheme, as aforementioned, heavily relies on the characterization of errors and losses in the optical hardware, and would benefit from an integration with a proper backend for numerical simulation. Hitherto, differently from the standard error correction codes for qubit-based devices, no technique for error correction against photon losses has been proposed. Quantum compiling is a complementary approach, aiming to reduce the number of ancillary sources as well as the length of the circuit [19, 20, 21, 22, 23]. Nevertheless, much effort has been addressed in characterizing noisy channels and optical losses [24] due to fabrication defects through the circuitry devices, such as interferometers and filters [25]. Even so, up to now, and to the author’s knowledge, there is no software or backend for the simulation of CV quantum algorithms in presence of noise, differently from libraries suited for matter-based qubits, such as Qiskit or Cirq [26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39]. Moreover, a further distinction has to be underlined between linear optics with single photons [25, 40] and continuous variables. The characterization of the optical losses strictly depends on the architecture of the hardware. In the CV frame, we may point out two approaches, the spatial-bin encoding and the time-bin encoding [41]. The first one consists of making the light flow through a set of waveguides, corresponding to the modes of the system [42]. The time-bin encoding approach, instead, relies on a loop-based architecture [43, 44, 45, 46], where the wave packets travel in two loops connected by a Mach-Zehnder interferometer (MZI) through which the single modes interact with each other. However, the unitary operator to be encoded has first to be decomposed into smaller operators, suited for an implementation on a MZIs mesh or its time-domain equivalent. The two most adopted schemes are the Clements one [47, 48], fitting the spatial approach, and the Reck one [49], which has been shown to be equivalent to the loop-based architecture. Other decompositions have been proposed by De Guise [50], where the number of optical elements is diminished from to , and by Liu [51], where a 3D architecture is proposed to reduce the footprint of the chip. A detailed work about the characterization of lossy interferometers in a CV loop architecture is provided by Qi et al. [52]. However, this framework can be adapted to any architecture, from time-bin encoded algorithms to spatial meshes. Photon losses can be represented as the interaction between the external environment and the physical modes from the circuits. Such an interaction is described through a beam-splitter, which in the ideal case – no losses – keeps full transmissivity, while in the worst case scenario – total dissipation – shifts all the optical information in the external modes. In the most recurrent situation, the global amount of photon losses yields a mixed state, lower losses involving purer states. When introducing external channels to describe each lossy interaction, the number of modes to handle becomes polynomially high, which turns to be computationally demanding when handling Gaussian variables (in the CV frame) and mostly unfeasible when directly simulating the Fock space. Many techniques in literature [52, 53] rely on the singular-value decomposition (SVD) to study the global effect of optical losses on the photonic circuit. This well-known technique consists of decomposing a matrix into a product of two unitaries and, in between, a diagonal matrix displaying the singular values as diagonal elements. Since optical losses cripple the property of the optical transformation to be unitary, the SVD provides an equivalent representation of the circuit, with lossy channels in the mid dividing two unitary ideal operations [54]. Other potentially useful representations are listed and detailed in Ref. [55].
In this work, we address the characterization of optical losses for CV quantum computing in a Gaussian formalism. This approach grants us a frame to simulate on a classical backend both experiments of Gaussian boson sampling and algorithms based on homodyne, heterodyne and general-dyne detections. We start from the characterization of the imperfect interferometer described by Qi [52] in order to provide a faithful representation of the covariance matrix in presence of the losses characterized for the specific device we are considering. This formalism is adapted to fully describe the Gaussian boson sampling (GBS), where squeezed states are injected into a mesh of MZIs, but many other quantum gates in the mid of the computation are engineered to be implemented through an external source injected in the circuit into a beam-splitter, e.g. the displacement gate [56] or the squeezing in a loop-based architecture [46, 57]. By leveraging the SVD the number of external channels involved is minimized, therefore, acting via a partial trace, the covariance matrix of the system is returned. Thanks to such an approach, it is possible to reduce the number of total modes involved (both physical and auxiliary) to , being the physical ones in the circuit, instead of a polynomial increase with respect to the length of the algorithm. In this work, we describe the full pipeline to simulate the outcome of the quantum algorithm, starting from the characterization of the optical losses on hardware to the final form of the covariance matrix and the probability distribution to be sampled. An approximation capable of fixing this issue is to consider the optical losses uniform in all channels once the SVD has been performed [53, 58, 59]. In the frame we describe, disregarding the depth of the circuit, the SVD condenses all the lossy channels in external modes, yielding a covariance matrix of the mixed state with size . The partial trace over this matrix returns the correct statistical moments of the system with minimal effort. We showcase some numerical experiments to assess the correctness of such an assumption and, at the same time, the efficiency of our backend. Furthermore, we leverage this same backend to numerically assess the correctness to assume uniform losses in both Clements and Reck decompositions.
In Section II, we first summarize the theoretical tools to characterize the optical losses in a mesh of MZIs, in order to describe the global (non-)unitary operator acting over the modes of the system. In Section III, we prove how to describe the covariance matrix of an optical system subject to losses, dealing with some specific cases. In Section IV, some numerical examples are introduced, both to check the correctness of the formalism and to assess whether the optical losses can be approximated as uniform throughout the channels of the multiport interferometer.
Statistics and dynamics in presence of losses
In this Section, we summarize the theoretical frame to properly characterize optical losses. In the first place, we recall some basic notions of linear optics, introducing the transformations on the first and second moments of the system. Afterwards, we provide the representation of an imperfect interferometer affected by optical losses and the description of CP-maps. Eventually, we sketch a global frame to describe the non-unitary operator (i.e. the operator implemented by a lossy photonic circuit) and some practical examples related to the GBS.
The bosonic basis
In the first place, we introduce the variables acting in the phase space of the system. A linear -modes multiport interferometer is defined as a unitary operator acting on the ladder operators as follows [60 pag.33]:
The matrix can be decomposed in multiple ways, the most standard being into operators, the MZIs, which can implement any operator. In the formalism we adopt, the MZI is described as [47, 61]
i.e. the action of a phase-shifter acting on the -th mode followed by a beam-splitter acting over the modes. Gaussian states can be easily described in the phase space, rather than in the Fock space. In this frame, the phase space is characterized by variables, namely and , i.e. the canonical observables, with and the number of modes. This basis is referred to as Heisenberg basis, and it derives from a linear combination of the ladder operators [62, 63, 64]:
In a more general picture, the Heisenberg basis is given by , or . The basis corresponding to the ladder operators in the phase space, instead, is labelled as the bosonic basis, and it is described by the ladder operators , or . Referring to Equation (1), the action of the multiport interferometer can be split between the and operators:
with acting over and over . It is straightforward to prove that is a symplectic matrix, just check , with . Within this formulation, the matrix determines the global transformation of the mesh-based photonic circuit [24, 65].
Squeezing transformations
Another crucial transformation in the frame of Gaussian variables is represented by the squeezing operator . Squeezing compresses the uncertainty over a single quadrature at the cost of increasing the noise over the conjugated variable, keeping the Heisenberg principle satisfied [66, 67]. The algebraic action of the squeezing on the ladder operator is described as [68]
Defining as the squeezing matrix acting over the bosonic basis , as from Equation (1) for the interferometric circuit, its action on a single mode, i.e. on can be shaped as
For the general mode case, it can be described as [65]
being the squeezing factor for each -th mode. It is straightforward to prove that belongs to the symplectic group as well. In this paper, we do not address the noise and optical losses arising from squeezed states. However, a description of these states is mandatory to describe how the covariance matrix is affected by optical losses from multiport interferometers.
Transformations on the first and second moments
In this Section we introduce the description of the first and second moments related to the variables introduced in the phase space. When dealing with Gaussian variables, the first and second moments suffice to describe the dynamics of the system. In the bosonic basis, the mean vector corresponds to the expectation value over the ladder operators:
with . We introduce the second moment, or covariance matrix of the quantum system, as [65]
with being the anti-commutator. In the bosonic basis, the covariance matrix defines the correlations between the ladder operators belonging to different modes, as reported in the seminal paper on GBS by Hamilton et al. [65]. We have seen from Equation (1) how the interferometric multiport acts linearly on the ladder operators and, from Equations (5), how squeezing acts linearly as well. When these transformations act on the ladder modes, calling the global operator , we have , which affects the covariance matrix as follows:
For the sake of streamlining the notation, we have introduced the Einstein convention over the repeated indices. Replacing the transformations in Equations (10) in the expression from Equation (10), we can deduce the general transformation :
The attenuation channel
In this Section, we describe photon losses as the interaction between the physical modes and the environment. Let us now turn to CP-maps apt to describe the effect of quantum noise and decoherence, from the coupling of the physical system with the environment. It is known in literature [69 pag.97] that the open dynamics of a Gaussian system can be described by the CP-maps:
where
For a single physical mode, optical losses can be modelled by the attenuator channel, a deterministic Gaussian CP-map with
being the identity . In fact, we can assume the lossy channel as a beam-splitter operation, splitting the signal to external auxiliary modes. For a single mode, this operation assumes the form
Here the 2-nd mode is set as a vacuum state, thus with covariance matrix . The action of the lossy channel on the system with covariance matrix , interacting with the external environment with covariance matrix , is represented by
So the partial trace over the environment of the final covariance matrix (18) is obtained by pinching the lower-right block, which corresponds to the system variables:
Overall, this dynamics just corresponds to the action of the deterministic Gaussian channel with matrices as in (16). regarding the loss parameter as , and therefore , the covariance matrix of the single-mode physical system subject to optical losses may be written as
This form is reported by many works [58, 59] which introduce optical losses when describing the covariance matrix of the system.
From experimental data to a theoretical frame
As aforementioned in the previous Section, the lossy channel can be represented as a beam-splitter pumping out a certain amount of probability amplitudes from the physical modes to the environmental ones. The optical loss due to the passage of photons in an interferometer can be measured, and in general it consists of three steps, i.e. the passage of light through the coupler (edge coupler or rather grating couplers) into the integrated chip, the interaction of its beams through the interferometer and, eventually, the output, which involves another passage through the coupler to the external mean (in general fiber, or even air in a bulk implementation). Each passage involves a certain amount of losses, which can be measured directly e.g. with coherent light. Accounting for all the previous interfaces, a mesh, consisting of a single interferometer, results in the following configuration:
In this picture, represents the lossy interferometer, while the logical operation to be implemented. The stand for the losses due to the interface when the photons enter the beam-splitter, are the losses induced by the beam-splitter itself, on the contrary are the losses related to the interface when leaving the beam-splitter. Take notice, the formulation of strictly depends on the specifics of the hardware, e.g. material, computational architecture or packaging. From a theoretical perspective, each lossy channel can be considered as an interaction between the physical mode, suffering from optical loss, and an external ancillary mode, as described in the scheme of the attenuator channel in Section II D. Such an interaction can be characterized as a beam-splitter, following the formalism in Equation (17):
where and, consequently, . If acting on both the ladder operators , , we would insert the identity in front of each , i.e. and , achieving the same transformation (in the above example, for two modes instead of a single one) in Section II D. However, within this scheme, each time a new is introduced, a new external channel is consequently introduced as well, which could polynomially raise the number of external modes if we implement a mesh of MZIs with a huge number of imperfect interferometers . To avoid such a trend, the SVD can be leveraged. In the first place, we construct the non-unitary matrix arising from the mesh of imperfect interferometers :
being the number of MZIs in the mesh, while represents the no-more unitary operator acting over the modes of the system. describes the action of the imperfect multiport interferometer over the annihilation operators , while the action over the creators is still represented by . The overall operator can be thus described as .
Exploiting the SVD
A common technique used to study a lossy mesh of MZIs leverages the SVD. In this frame, all the optical losses are gather in the mid of the circuit, and the operator can be reduced to
While are still unitary matrices, the diagonal matrix
now contains all the dissipative factors , i.e. the total amount of attenuation per channel. From this point onward, we refer to as the loss matrix: if no loss occurs, while means total dissipation. Take notice, since and share the same singular values (the singular value being real), in the loss matrix the diagonal coefficients are repeated pairwise.
Covariance matrix of a lossy interferometry
In this Section, we prove how to describe the covariance matrix of the system in a GBS process by composing a mesh of imperfect interferometers such as from Equation (21).
Theorem The covariance matrix of a GBS performed with imperfect interferometers is given by
being the identity matrix, the matrix implementing the squeezing on the ladder operators and , , the components from the SVD in Equation (24).
Proof Since each lossy channel can be described as the CP map in Section II D, the attenuation factors introduced by the loss matrix can be described as the action of a beam-splitter between the modes of the system and the external, environmental modes :
The matrix introduced above accounts for a size . The operators , due to their unitarity, do not act on the environmental modes. The overall operator from Equation (24) can now be embedded into the unitary group:
The matrix now belongs back to a higher dimensional unitary group, thanks to the interaction with the environment. Indeed, the upper-left block of the matrices in Equation (28) involves the operation on the environment, while the lower-right block refers to the ideal photonic circuit. The off-diagonal blocks represent the interaction between the environment and the circuit. The symplectic global operation now reads , with being this time a matrix:
The lower block matrix refers to the original squeezing matrix from Equation (8). The global symplectic matrix assumes the form:
Referring to the evolution of the covariance matrix in Equation (13), in a GBS process the input modes are set in the vacuum state, so the covariance matrix for such state can be represented as [70], while its first moment as a null vector. Thus, the evolution of the second moment of the states through an imperfect photonic circuit turns into
with always referring to Equation (30). Since we are considering a joint system in a Gaussian state [71], with standing for the external environment, and for the physical system, the external part has to be traced out. The covariance matrix of the physical system, , reads as
which ends the proof. ■
Thanks to such a formulation, the covariance matrix can be analytically estimated under a noisy regime related to the single device and its imperfections. To achieve this goal, the interferometers have to be properly characterized, see Equation (21).
Corollary 1 If the loss matrix is proportional to the identity, the formulation of can be reduced to a multi-channel generalization of uniform losses in Equation (20).
Proof If the losses are adapted to a uniform channel, i.e. , such a statement makes as
Here , i.e. the unitary operator implementing the mesh of the MZI, and , i.e. the global symplectic transformation. The covariance matrix now reads
with , matching the expression reported in Equation (20). ■
Corollary 2 If no squeezing occurs, corresponds to the covariance matrix of the vacuum state.
Proof If no squeezed light is injected into the MZI mesh, , and therefore the expression in Equation (32) becomes
which corresponds to the covariance matrix of the vacuum state. ■
Corollary 3 In case of total dissipation, the sole non-null outcome from a GBS process is counting no photons.
Proof If we consider a complete dissipation process, i.e. no output photons, we have to set . GBS is regarded as the paramount algorithm which leads to quantum supremacy in the Gaussian framework. The core of GBS lies in exploiting the covariance matrix and sampling the photon counts to compute the Hafnian of a matrix , a #P task whose complexity scales exponentially with the size of the system [72]. The formulation and the notation of this algorithm is summarized in Appendix A.
Referring to Equation (32), the covariance matrix of the system thus reads
which matches with the covariance of the vacuum state. When performing GBS, the matrix becomes
thus the matrix reads
When we compute the probability to count zero output photons, the analytical expression returns
being a matrix with size , whose Hafnian conventionally returns 1, as well as . Any case accounting for a number of samples different from zero happens with null probability, since the Hafnian of the null matrix returns a value equal to zero. ■
Numerical simulations
In this Section, we showcase some numerical examples of photonic simulations run on a Gaussian backend, relying on the formalism introduced in the previous Section, from which we can simulate an ideal or a lossy GBS process.
The main pipeline of these experiments consists first of all of setting a squeezing parameter , and sampling a random unitary matrix with size exploiting the Haar measurement, see Appendix B. From here we build the ideal interferometric symplectic matrix (4), and the squeezing symplectic matrix (A4), and then evaluate the covariance matrix of the output state, and extract the output distribution computing Equation (48). In order to simulate the lossy GBS process instead, we decompose the random unitary matrix into a composition of ideal MZI matrices via Reck or Clements schemes, as explained in Appendix C, and then add a fixed loss factor to each interferometer, so we can perform the SVD decomposition presented in Equation (24) to evaluate the loss matrix , and thus also the covariance matrix of the photonic circuit (32) subjected to photon loss. Then in the same way as before, we can extract the output distribution computing the lossy GBS process.
To simulate the lossy GBS process instead, we decompose the random unitary matrix into a composition of ideal MZI matrices via Reck or Clements schemes, as explained in Appendix C, and then add a fixed loss factor to each interferometer, so we can perform the SVD decomposition presented in Equation (24) to evaluate the loss matrix , and thus also the covariance matrix of the photonic circuit (32) subjected to photon loss. Then in the same way as before, we can extract the output distribution. Via this pipeline, we are able to simulate a noisy (non-Gaussian) GBS process, and examine the loss matrix which give rise to a certain output distribution. This overall scheme is reported in Figure 1.
Figure 1. The overall pipeline to describe the optical losses of a device is streamlined. (a) First, the unitary matrix is sampled according to the Haar measure, granting a uniform distribution on the -sphere starting from a fixed basis state – such as the north pole on the 2-sphere. The 2-sphere here is a figurative example, the dimension is arbitrary. (b) The matrix is encoded into a MZI mesh (or an equivalent device). The upper mesh depicts the Clement scheme, while the mesh at the bottom the Reck one. Here the losses are inserted per each MZI, see Equation (21). (c) The non-unitary matrix (due to the losses) is eventually decomposed through the SVD, see Equation (24).
In applying the loss parameter onto a MZI matrix, we discard the optical losses due to the packaging, i.e. when light enters and exits the chip, and we focus on the sole terms depending on the imperfections of the MZIs. In fact, while the optical losses due to the interferometric components are ubiquitous in any photonic device, packaging may drastically differ depending on the considered architecture (e.g. loop-based versus spatial-bin encoding). Referring to Equation (21), the lossy interferometer acting on the , modes, with no losses due to the packaging, can be described as
where , . The non-diagonal elements are located in the and cells. We set for all the MZIs, which allows us to characterize optical losses for quite large matrices (up to ), otherwise we notice that the dissipation is too strong to reach high dimensions (the symplectic matrix resulting in being mostly null). We set uniform losses across the whole mesh, further characterizations can be performed regarding the specifications of the device and its architecture. In fact, two main approaches dominate the CV photonic computation, spatial and time-bin encoding. The first approach relies on the Clement’s scheme, since it makes the circuit more compact therefore attenuating optical dissipation. The time-bind encoding, on the contrary, is equivalent to the Reck scheme. These two decompositions are shown in Figure 1b.
We perform two classes of numerical experiments. In the first one, we exploit our Gaussian backend to show how the probability distribution from a GBS process is affected by losses. For the sake of simplicity, the numerical simulations are run on the sole Reck’s setting. In the second numerical experiment, we sample unitary matrices, distributed according to the Haar measure, we decompose them both into Clements and Reck schemes, and we assess in both these schemes how the loss matrix differs from the identity, i.e. how the losses are far from being uniform in the multiport interferometer. As for the software, we rely on PNN, a Python library to decompose unitary matrices into a MZI mesh according to both Clements and Reck schemes [51, 73]. However, to decompose the generic unitary matrix in the Reck’s scheme, we relied on the algorithm explained in C. Moreover, in the Introduction as well as in the previous paragraph, we have mentioned the fact that the loop architecture is equivalent to the Reck scheme. This statement holds for the ideal case. However, in the spatial and loop-based Reck configurations, the characterization of the losses slightly differs [52], an issue which is addressed in D. Since the experiments carried out on the Reck scheme aim to simulate the dynamics in a loop architecture, we set the optical losses in the time-bin frame.
GBS experiments in presence of losses
In this Section, we compare the probability distribution outcomes of a GBS in the ideal case and in a realistic one. As aforementioned, we set the loss factors for all the interferometers, adopting the Reck scheme with losses distributed according to the loop architecture. In all the numerical simulations, the squeezing factor has been tuned to for all modes. We highlight the fact that, exploiting a Gaussian backend in a simulative environment, no need of sampling is required – differently from a real experiment – since the probability distribution is directly provided by the Hafnian of , see Equation (50). On a classical simulator, retrieving the probability related to high counts of photons is prohibitive, due to the computational time, thus we truncate the outcomes up to two photons without loosing of generality. We settle two cases, picking up random angles in the first scenario for meshes of size with . Instead, in the second scenario, the angles are kept null, in order to characterize the full transmissivity of the device in presence of optical losses. Thus, in this second frame we are studying how non-entangled squeezed pure states are affected by such a noise. In Figure 2, we compare the ideal distribution

Figure 2. The comparison of ideal GBS output distributions (in blue) along with the noisy ones (in red). The experiments have been repeated with different numbers of modes . All the plots are reported in logarithmic scale. The MZI parameters , have been chosen randomly and fixed for every setting varying with .
of a GBS process along with a noisy one. The bins refer to the photon counts per channel. Just for instance, means that two photons have been detected on the second waveguide, while the first and third ones do not yield any count. Since squeezed states are a superposition of occupation states with even numbers of photons, in the ideal case odd photon counts are not allowed. However, due to optical losses, these outcomes become accessible (e.g. , and so on). The histogram is reported in a logarithmic scale, however, we can notice the following trend, with the vacuum state being more populated in the noisy scenario compared to the ideal one. States being more populated in the noisy scenario with respect to the ideal one inherit counts from higher-population states subject to losses. Instead, in Figure 3, we tune the angles of the mesh to be null.

Figure 3. The comparison of ideal GBS output distributions (in blue) along with the noisy ones (in red). In this frame, the MZIs are set as the identity, i.e. , in order to characterize how the counts from separable squeezed states are affected by losses. The experiments have been repeated with different numbers of modes . All the plots are reported in logarithmic scale.
In fact, we want to compare the outcome distribution of counts from separable squeezed states in both the ideal and noisy cases. In the ideal case, equally populated states yield the same probability of being counted. Optical noise breaks such a symmetry. Again, the vacuum state in the noisy case tends to be more populated, as expected, rather than in the ideal frame. All the parameters of the simulations are reported in Table 1.
| Hyperparameter | Value |
| 0.5 | |
| 0.9 | |
| 2 | |
| 2, 3, 4, 5 |
Table 1. The parameters for the GBS simulations, for both the experiments with random fixed and null mesh angles. Here represents the squeezing factor, the loss parameter adopted for all the MZIs, the maximum number of detected photons before the truncation in the simulation, and the number of modes for which the experiment has been repeated.
Characterization of the loss matrix
In this Section, we want to measure the distance, for fixed modes and multiple matrices sampled from the Haar measure, between the loss matrix introduced in Equation (24) and the identity , i.e. to assess whether . In many works [58, 59], this statement in fact is granted as an assumption, which allows to shift all the loss factors at the very beginning of the computation, a condition which simplifies the classical simulation of a GBS process. As aforementioned in the Introduction, Ref. [18] distinguishes two scenarios, i.e. Reck and Clements architectures, assuming that optical losses can be considered uniform only in the second scheme. In Section IV B, thanks to the formalism we developed up to now, we numerically check this statement. To measure the effective distance between these two matrices, we first normalize both the identity and the loss matrix by their trace to fix this proportionality:
Here represents the loss matrix associated with a specific symplectic matrix , as in Equation (60), and, more importantly, with a sampled unitary matrix endowed with its losses. Then we can compute the distance between these matrices as the trace norm [74]:
with being the diagonal elements belonging to . Moreover, if , then trivially due to its normalization, and thus .
Once the metric to compute the distance between the identity and the loss matrix has been assessed, we can focus on the numerical experiments. Following the scheme in Figure 1, we first sample random matrices according to the Haar distribution. These simulations have been repeated per each mode , ranging from 2 to 20. The method for sampling the unitary matrices is detailed in B. From the unitary operator we then compute the operator . Once the set of unitary matrices is available, the next step consists of decomposing them into a specific mesh of interferometers. The experiments have been performed in both Reck and Clement schemes. The additional lossy terms in Equation (39) are then inserted per each interferometer, yielding a global operator that, however, is no longer unitary, but in the form from Equation (24). The loss matrix , and consequently , is retrieved performing the SVD on this non-unitary operator, calling the NumPy linalg.svd module. We show two numerical results. The first aims to show the heatmap of , i.e. of the distance between the matrices and the normalized identity. To achieve this result, we first retrieve the from their corresponding sampled unitary matrices, then we compute the following average per each component:
The vector is reported in the heatmaps in Figure 4, and it consists of the mean distances between all the diagonal coefficients of the loss matrices, labelled in Equation (42) as ( referring to the -th sample) and the normalized identity, i.e. . We showcase the heatmap for . Since the matrix is the direct sum of two identical but conjugated matrices, the singular values from the SVD, conventionally ordered from the highest to the lowest values, are repeated pairwise equal. For the sake of illustration, we half their number in the heatmaps. The range of these values start from to , being reported in Figure 4 in arbitrary units (a.u.). First of all, we compare these coefficient distances between the Reck scheme, Figure 4a, and those from the Clements scheme, Figure 4b. The latter ones show a lower discrepancy. In both schemes, the distances exhibit a minimum in the mid of the diagonal, meaning that the closer to the borders, the further from . However, in the Reck frame, the upper values increase with the number of modes , while in the Clements frame the trend is the opposite. Instead, the lowest values oscillate in both cases.

Figure 4. The heatmaps of the mean elementwise distances between the loss matrix and the identity, both normalized. Since the diagonal elements are pairwise equal, we half their number for the sake of readability. The distances are reported in a.u.
Eventually, as a last noteworthy aspect, we plot in Figure 5 how the loss matrix diverge from the identity along with . A straightforward consideration concerns the different trend between the two schemes. According to the element-wise distances in the heatmaps, in the Reck scheme the norm distance increases with , while in the Clements frame the same distance tends to oscillate and converge into a bounded range just after . Such a behaviour may derive from the fact that, in the loop-based Reck configuration, the losses are induced by ghost MZIs, see Ref. [52] and Appendix § 1.1.4. As a last task, we try to assess the scaling law of the Reck divergence. We consider two candidates, a logarithmic trend and a power law :

Figure 5. The norm distances between the normalized loss matrix and the normalized identity, for both the Clements and Reck schemes. The trend is reported with respect to the number of modes. The functions and are defined in Equation (41), while in Equation (45). The purple area represents the MSE evaluated at each single point for the function.
We deploy the scipy.optimize module to find the best parameters , and , , to fit the curve of the Reck distance. Thereafter, we evaluated the mean squared error (MSE) to compare the two results. We set to enhance the prediction of this analysis. The MSE related to the logarithm function is equal to , while for the power law is equal 4.51. Both and are fitting the curve compatibly with the error bars. Instead, we fit the Clements curve with a straight line:
Applying the same method as for the Reck case, we measured the MSE between the data points and . We can see from Figure 5 that the higher the number of modes, the lower the MSE, represented by the purple area. Again, fits the data points up to one standard deviation. All the parameters of the simulations are reported in Table II.
Noisy sampling of the Hafnian
The last numerical experiment consists of simulating a GBS process to sample the Hafnian of a matrix. We benchmark the simulation of a noisy GBS versus the hypothesis of optical losses set as uniform throughout all channels, in order to assess at what mode number and transmissivity the uniform-loss approximation diverges from the realistic one. To interpolate a valid loss matrix for a specific configuration of parameters , it suffices to extract the value which minimizes the distance between and the true loss matrix :
| Hyperparameter | Value |
| 0.9 | |
| 2 − 20 | |
| 10000 | |
| -0.043 | |
| 0.059 | |
| -0.357 | |
| 0.055 | |
| -1.045 | |
| 0.0538 | |
| MSE | |
| MSE | |
| MSE |
Table 2. The parameters for the numerical simulations to assess the distance between the identity and the loss matrix. Here represents the loss parameter adopted for all the MZIs, the range of the inquired modes, the number of unitary matrices sampled according to the Haar distribution per each mode . The parameters and are optimized to make in Equation (41) fit the curve of the Clements distance in Figure 5, while , , to make fit the same curve. The MSE is reported in the rows below.
being the distance between diagonal matrices adopted from Equation (41). From the above equation, it is straightforward to compute by minimizing the function w.r.t. . By computing the first derivative, the value we retrieve is nothing but the average over the diagonal elements:
Once the value for the uniform losses is provided, we may compare the results from an ideal interferometer, from an imperfect one with the loss matrix and, eventually, from a circuit with homogeneous losses . In this experiment, we adopt the Reck scheme as the optical architecture, since from the previous Section we highlighted that the Reck scheme diverges from the uniform-loss approximation. Therefore, the optical loss we set refers to the sole Mach-Zehnder of the optical setup, repeated across the triangular mesh of the Clements scheme, see Appendix § 1.1.4. In Figure 6, we can see four different settings, increasing the optical losses from up to , 0.90 and 0.85. The configuration of the parameters is kept fixed for every . In order to keep the value of the Hafnian constant along with in an ideal lossless setup, see Figure 6, we set and . However, the Hafnian of the matrix is not only determined by the angles of the interferometer, but also by the number of photon detected in the output. For our simulation, we compute the probability to detect a configuration equal to , with , e.g. for , for and so on. Thanks to such a configuration, the value of remains constant, and we can see in Figure 6 how the uniform loss configuration and the realistic one diverge from each other and w.r.t. the ideal configuration. In all the reported case studies, the Hafnian computed on a device with non-uniform losses diverge more rapidly compared to the uniform case, even though both tend to converge to null values for a sufficiently high number of modes , especially when decreasing the transmission rate for the beam-splitter in the time-bin configuration of the Reck scheme. Such a trend is highlighted in Figure 7, where

Figure 6. We report the values of the Hafnian computed in an ideal device (no losses), in a device affected by uniform losses (equal across all the channels in the SVD) and with realistic losses, as resulting in the diagonal matrix from the SVD. The values are shown increasing the number of modes . The angles of the MZI are kept fixed to and and . The value of the Hafnian is retrieved by counting the sampling configuration .

Figure 7. The distance (i.e. the absolute value of the difference) between the two Hafnians from the non-ideal distributions in Figure 6 is computed and reported w.r.t. with and for the four scenarios with different .
the distance between the values of the Hafnians (with uniform and realistic losses) is reported. Again, we see a net trend across all the four panels. While for such a trend is simply sketched, increasing the amount of optical losses it merges clearly for . In fact, the discrepancy between the two Hafnians reaches a peak around a specific value , after which the global effect of optical losses consists of reducing the signal for both the Hafnians, making the two values match with zero.
Conclusions
We have proposed a framework to describe the Gaussian dynamics of a quantum optical system affected by losses, relying solely on external modes leveraging the SVD. This main result derives from a general description of the covariance matrix of the system in presence of losses. This formalism allows to sew empirical data on losses from the single components of the hardware on a general and theoretical frame, to describe the effects of this optical hurdle on the overall circuit. The method is suited for both spatial and time-bin encoded architectures and for both GBS or general-dyne-based algorithms. Once the dissipative factors from the single MZIs are known, the non-unitary matrix can be numerically emulated with ease on a Gaussian backend, avoiding high-demanding simulations, both in terms of memory and operations, on the Fock space. Nevertheless, this work aims to provide a general scheme, a blueprint to be tailor-suited for specific devices. Within this frame, it is possible to assess with a numerical simulation whether optical losses are uniformly distributed or not, rather than assuming an a priori distribution. An important issue to be addressed is the characterisation of optical losses due to packaging, when light enters and exits the integrated chip. Further developments of this work may focus on simulating noise and optical losses when generating squeezed states, or even when tackling the implementation of non-Gaussian gates. As a last note, we are confident that this study could be integrated with current error mitigation techniques and that, in the field of CV computing, it may help develop future error correction codes.
Acknowledgments
We wish to acknowledge Stefano Olivares and Alessandro Ferraro for useful discussions. EP would like to acknowledge the project QGRAPH and the project LOOQ funded by the National Centre for HPC, Big Data and Quantum Computing (D43C22001240001) for having partially supported this research. DC gratefully thanks BVTech SPA for having supported his PhD grant.
Gaussian boson sampling
GBS has been introduced as an alternative version of boson sampling with single photons [65]. GBS techniques allow to compute the Hafnian of a sub-matrix by sampling the number of photons from a Gaussian distribution, using squeezed states as a non-classical source. Since the evaluation of the Hafnian is known to be a problem [72], GBS is envisaged among the algorithms paving the way to quantum supremacy. The general formulation of GBS output distribution can be described as
with accounting for the total clicks for each mode up to the -th one, and . The matrix instead stands for the following matrix:
with being the identity matrix, and finally is defined as
while the sub-matrix in equation (A1) is obtained from by selecting rows and columns according to the output photon pattern . In particular, for each mode , the corresponding row and column of are repeated times. The resulting matrix therefore has dimension , where is the total number of detected photons. When dealing with losses, has to be reshaped as in Equation (32), where the symplectic Gaussian operation matrix is that of a squeezing operation with as squeezing parameters [65], see Equation (8):
A paradigmatic example has been treated by Corollary 3, where the case of complete dissipation is discussed, to show the analytic consistency of this case with the introduced formalism.
Sampling of Haar-distributed random unitary matrices
In this Section, we sketch how to sample a set of unitary matrices according to the Haar distribution of this group. The method is properly exposed and proved in Ref. [75]. In the first place, we generate a random complex matrix , with and both sampled according to a Gaussian distribution . Therefore, we perform the QR decomposition, with belonging to the orthonormal group and being an upper triangular matrix. The next step consists of extracting the diagonal elements from and normalize them in order to achieve a set of phases, assembled in a proper matrix. The final unitary matrix is nothing but .
Decomposition of linear optical unitaries
In the previous Sections, we have seen that photonic computations require interferometric circuits to process quantum information. In particular, integrated photonic photonic circuits comprising networks of MZIs have emerged as a compact and versatile solution for realizing reconfigurable linear optics. The universal decomposition of a generic linear optical unitary can be achieved using the Reck scheme [49], shown in Figure 1b, a triangular mesh with each element constituting a MZI, which is characterized by the unitary transformation in Equation (2). The rectangular architecture shown in Figure 1b is also universal, and benefits from improved compactness [76]. These two decomposition architectures are crucial in simulating a real photonic computation, since we can decompose the unitary matrix we want to implement via one of these two schemes, and then add the photon loss phenomena on the system, multiplying each MZI matrix with its respective loss matrix, as in Equation (39).
Overview on the two architectures
In the Reck and Clements scheme, each lower off-diagonal entry of the target unitary matrix is sequentially nullified using a MZI matrix, as the operators in Equation (39) with , since we do not care about losses in the decomposition. Since a -dimensional matrix consists of lower off-diagonal elements, we require the same number of interferometers. Upon nullifying all lower off-diagonal entries, at the end of the process we are left with an upper triangular matrix, but due to the constraints of the unitary group, such matrix reduces to a diagonal one denoted by
This diagonal matrix can be realized by applying phase-shifters [77]. In the Reck scheme, the last row of the target unitary (except entry) is first nullified. Thus, the next step is to nullify the -th row up to the entry. Proceeding further, this nullification process gives rise to a triangular architecture, as we see in Figure 1b. A practical example of decomposition for a matrix is illustrated in Equation (C3). On the other hand, the nullification process in the Clements scheme occurs in the following order of entries: , , , , , and so on. This process of nullification leads to a rectangular architecture [47, 77], as we see again in Figure 1b. Therefore, any -dimensional unitary matrix can be decomposed as
where is a -dimensional identity matrix with entries at positions , , , replaced by the entries of the MZI matrix in Equation (2).
Pipeline on decomposing via the Reck scheme
In order to decompose a -dimensional unitary matrix, we have to find the set of parameters and which satisfy Equation (53), being the phases of the diagonal matrix . To do so, first of all we care about the parameters and which define the interferometers: via the Reck scheme the inverse matrices of such interferometers acts on the target unitary matrix on the right [49], as we see in Equation (54), in which we we show an example of nullifying operation of a unitary matrix:
Thus every right-nulling operation can be reduced to the product of two square matrices. For the first operation e.g.:
such that the element of the unitary matrix we want to nullify becomes
Parametrizing the unitary matrix elements and , in order to evaluate the MZI angles which perform the nullification, we have to solve the equation
such that we find
A proper Python function right_nulling must take the parameters , and evaluate the two angles , following Equation (C7). Thus, the pipeline to evaluate the set of parameters and of the Reck decomposition is shown in Algorithm 1.
Algorithm 1: Reck decomposition of a unitary matrix
Input: U ∈ C^{M×M}
Output: α, (θ, ϕ)
counter = M − 1;
idx = 0;
while counter ≥ 1 do
for mode = 0 to counter − 1 do
a ← U_{counter,mode}
b ← U_{counter,mode+1}
(θ, ϕ) = right_nulling(a, b)
U ← U T†_{mode}(θ, ϕ)
(θ_idx, ϕ_idx) ← (θ, ϕ)
idx ← idx + 1
end
counter ← counter − 1
end
D ← U α_j = arg(D_{jj}) return α, (θ, ϕ)
Optical losses in the loop-based Reck scheme
In this Section, we illustrate how optical losses affect the loop-based computation, starting from the Reck scheme. In fact, since the decomposition engineered by Clement provides a more compact mesh for spatial encoding, the Reck scheme nowadays mainly refers to time-bin encoding approaches. We refer to Figure 8a to better explain this frame. First, the wave packets enter the big loop through a switch. All packets are separated equally by a time interval , which corresponds to the time lapse for a packet to run inside the small loop. The big and small loops are interconnected by a MZI. If the interferometer acts as the identity, e.g. with following the convention adopted in Equation (2), the packets inside the small loop are confined inside of it, as for the packets inside the big one. Otherwise, once the first packet enters the small loop, it interacts after with the second packet coming from the big loop, which interacts afterward with the third one and so on until the -th interacts with the -th one. In this scheme, the wave packets correspond to the computational modes. Once all packets have entered the small loop, the first diagonal of MZIs in the Reck scheme has been implemented. Of course, the interferometer connecting the two loops is required to be reprogrammable in a very short time. Nowadays, lithium niobate modulators rely on the Pockels effect to tune the MZI angles, which requires around few femtoseconds [78]. In Figure 8b, the green arrow represents the implementation of the first MZIs in the first loop cycle. Once the first wave packet has circled inside the big loop and entered the small loop for the second time, we require it to interact with the second mode and so on until the -th mode interacts with the -th, leaving unaltered the -th. The second diagonal in the Reck scheme, now made up of interferometers, has been implemented. In Figure 8b, the second loop cycle corresponds to the second arrow. However, since the -th packet has to be switched with the -th one to allow it to leave the small loop, an additional interferometric operation is required, even though computationally negligible. Nevertheless, this last operation involves additional losses, reason why an additional dashed interferometer appears in Figure 8b.
Figure 8. (a) The loop architecture and (b) its equivalent mesh transposition. In an ideal system with no losses, the equivalent spatial mesh matches with the Reck scheme. In the loop architecture, the wave packets are introduced in the big loop by a switch (rectangle in the bottom). The temporal distance between them equals the time they circle into the small loop. Their interaction happens through an interferometer when respectively entering and exiting the small loop. The green arrows correspond to a loop cycle, i.e. the time lapse from the first packet entering the small loop till the last one exiting it. The dashed interferometers correspond to operations equal to the identity, except for the losses induced by the passage of the packets through the loop.
Importance of the environmental modes
In this Appendix, we show why external modes are mandatory for a correct formulation of the covariance matrix. When introducing non-idealities, we can perform the SVD and resume Equation (24) to describe the dynamics of the quantum system:
If neglecting the external modes, such an approach would lead to a peculiar formulation of the covariance matrix:
We now handle two use cases we have introduced in the Corollaries from Section III, to highlight the incorrectness of the expression in Equation (61). In case of total dissipation, the covariance matrix in fact would read as , a value which has no physical meaning, since this matrix should equal the covariance matrix of the vacuum state. The second case showcases an imperfect interferometer with no squeezed light, i.e. another vacuum state. The expression from Equation (61) would lead to , which again differs from the covariance matrix of the vacuum state.
References
- [1]E. Knill, R. Laflamme, and G. J. Milburn, A scheme for efficient quantum computation with linear optics, nature 409, 46 (2001).pubmed.ncbi.nlm.nih.gov/11343107
- [2]C. Taballione, R. van der Meer, H. J. Snijders, P. Hooijschuur, J. P. Epping, M. de Goede, B. Kassenberg, P. Vanderbosch, C. Toebes, H. van den Vlekkert, et al., A universal fully reconfigurable 12-mode quantum photonic processor, Materials for Quantum Technology 1, 035002 (2021).DOI
- [3]C. Taballione, M. C. Anguita, M. de Goede, P. Vanderbosch, B. Kassenberg, H. Snijders, N. Kannan, W. L. Vleeshouwers, D. Smith, J. P. Epping, et al., 20-mode universal quantum photonic processor, Quantum 7, 1071 (2023).DOI
- [4]Y. Li, P. C. Humphreys, G. J. Mendoza, and S. C. Benjamin, Resource costs for fault-tolerant linear optical quantum computing, Physical Review X 5, 041007 (2015).DOI
- [5]J. D. Teoh, P. Winkel, H. K. Babla, B. J. Chapman, J. Claes, S. J. de Graaf, J. W. Garmon, W. D. Kalfus, Y. Lu, A. Maiti, et al., Dual-rail encoding with superconducting cavities, Proceedings of the National Academy of Sciences 120, e2221736120 (2023).DOI
- [6]J.-P. Li, X. Gu, J. Qin, D. Wu, X. You, H. Wang, C. Schneider, S. Höfling, Y.-H. Huo, C.-Y. Lu, et al., Heralded nondestructive quantum entangling gate with single-photon sources, Physical Review Letters 126, 140501 (2021).DOI
- [7]F. Tamburini, N. Leone, M. Sanna, and R. Siagri, Graded paraparticle algebra of majorana fields for multidimensional quantum computing with structured light, Physical Review Research 8, 013046 (2026).arxiv.org/abs/2505.23232
- [8]S. Lloyd and S. L. Braunstein, Quantum computation over continuous variables, Physical Review Letters 82, 1784 (1999).
- [9]G. Panichi, S. Corli, and E. Prati, Quantum physics-informed neural networks for multivariable partial differential equations, Physical Review Applied 25, 014001 (2026).
- [10]S. Corli, L. Moro, D. Dragoni, M. Dispenza, and E. Prati, Quantum machine learning algorithms for anomaly detection: A review, Future Generation Computer Systems 166, 107632 (2025).arxiv.org/abs/2408.11047
- [11]T. Hillmann, F. Quijandría, G. Johansson, A. Ferraro, S. Gasparinetti, and G. Ferrini, Universal gate set for continuous-variable quantum computation with microwave circuits, Physical review letters 125, 160501 (2020).DOI
- [12]S. L. Braunstein and P. Van Loock, Quantum information with continuous variables, Reviews of modern physics 77, 513 (2005).DOI
- [13]S. Markidis, On physics-informed neural networks for quantum computers, Frontiers in Applied Mathematics and Statistics 8, 1036711 (2022).DOI
- [14]S. Corli, G. Panichi, S. Altilia, E. Suerra, S. Cialdi, and E. Prati, Physical implementation of analytic derivatives on a photonic quantum computer, Physical Review Applied 26, 014107 (2026).
- [15]S. J. Devitt, W. J. Munro, and K. Nemoto, Quantum error correction for beginners, Reports on Progress in Physics 76, 076001 (2013).DOI
- [16]M. Ye and N. Delfosse, Quantum error correction for long chains of trapped ions, Quantum 9, 1920 (2025).DOI
- [17]R. L. Barnes, Stabilizer codes for continuous-variable quantum error correction, arXiv preprint quant-ph/0405064 (2004).DOI
- [18]D. Su, R. Israel, K. Sharma, H. Qi, I. Dhand, and K. Brádler, Error mitigation on a near-term quantum photonic device, arXiv preprint arXiv:2008.06670 (2020).DOI
- [19]T. N. Kaldenbach and M. Heller, Mapping quantum circuits to shallow-depth measurement patterns based on graph states, Quantum Science and Technology 10, 015010 (2025).
- [20]S. Corli and E. Prati, Measurement-based quantum compiling via gauge invariance, Physical Review Applied 25, 044068 (2026).arxiv.org/abs/2411.12485
- [21]S. Dang, Y. Son, and B. Kim, Qukkos: Measurement-based quantum compilation system, in 2025 International Conference on Artificial Intelligence, Computer, Data Sciences and Applications (ACDSA) (IEEE, 2025) pp. 1–6.
- [22]N. Gupta, D. Punia, K. Gautam, G. Sikka, A. K. Sharma, and A. Farouk, Realization of measurement-based quantum computing model in fault-tolerant distributed quantum systems, Computer Science Review 61, 100942 (2026).DOI
- [23]S. Corli and E. Prati, Gauge freedom in measurement based quantum compiling, in Journal of Physics: Conference Series, Vol. 3017 (IOP Publishing, 2025) p. 012043.DOI
- [24]A. Ferraro, S. Olivares, and M. G. Paris, Gaussian states in continuous variable quantum information, arXiv preprint quant-ph/0503237 (2005).
- [25]M. Vischi, G. Di Bartolomeo, M. Proietti, S. Koudia, F. Cerocchi, M. Dispenza, and A. Bassi, Simulating photonic devices with noisy optical elements, Physical Review Research 6, 033337 (2024).DOI
- [26]G. Di Bartolomeo, M. Vischi, F. Cesa, R. Wixinger, M. Grossi, S. Donadi, and A. Bassi, Noisy gates for simulating quantum computers, Physical Review Research 5, 043210 (2023).DOI
- [27]K. Georgopoulos, C. Emary, and P. Zuliani, Modeling and simulating the noisy behavior of near-term quantum computers, Physical Review A 104, 062432 (2021).DOI
- [28]A. Muqet, T. Yue, S. Ali, and P. Arcaini, Mitigating noise in quantum software testing using machine learning, IEEE Transactions on Software Engineering 50, 2947 (2024).
- [29]A. Muqet, S. Ali, and P. Arcaini, Tool: Quiet: A tool for sampling-based quantum noise error mitigation, IEEE Software 42, 28 (2025).
- [30]B. Li, S. Ahmed, S. Saraogi, N. Lambert, F. Nori, A. Pitchford, and N. Shammah, Pulse-level noisy quantum circuits with qutip, Quantum 6, 630 (2022).DOI
- [31]J. Bravo-Montes, M. Bastante, G. Botella, A. del Barrio, and F. García-Herrero, A methodology to select and adjust quantum noise models through emulators: benchmarking against real backends, EPJ Quantum Technology 11, 71 (2024).
- [32]M. Cignoni, G. A. Cirillo, G. Turvani, M. Graziano, and M. Zamboni, Towards compact modeling of noisy quantum computers: A molecular-spin-qubit case of study, ACM Journal on Emerging Technologies in Computing Systems (JETC) 18, 1 (2021).DOI
- [33]A. Li, S. Stein, S. Krishnamoorthy, and J. Ang, Qasm-bench: A low-level quantum benchmark suite for nisq evaluation and simulation, ACM Transactions on Quantum Computing 4, 1 (2023).DOI
- [34]Y. Hu, C. Zheng, X. Wang, F. Meng, X. Yu, and Z. Zhang, Suppressing quantum errors by noise-aware circuit design, Quantum Science and Technology 10, 045040 (2025).DOI
- [35]S. Vorathamamthorn, M. Binhar, N. Patamawisut, S. Chanchuphol, P. Prechapraprang, J. Hansomboon, and R. Sarochawikasit, Understanding noise-adaptive transpilation techniques using the supermaq benchmark, in 2025 International Conference on Quantum Communications, Networking, and Computing (QCNC) (IEEE, 2025) pp. 416–420.
- [36]R. Biswas and U. Roy, Quantum noise-driven randomness for password generation: Analysis via simulation and fakeprovider, International Journal of Quantum Information 23, 2550025 (2025).DOI
- [37]N. K. Misra, N. Pathak, S. S. Ahmadpour, M. Krishnamoorthy, M. Noorallahzadeh, M. Goswami, B. K. Bhoi, and S. Satpathy, Design and noise-aware validation of a testable dual-edge triggered reversible d flip-flop using ibm quantum qiskit simulation, Integration , 102689 (2026).DOI
- [38]G. Pontolillo, A. Muqet, S. Ali, and M. R. Mousavi, From ideal to noisy: Adapting property-based testing for real-world noisy quantum computers, in 2025 IEEE International Conference on Quantum Computing and Engineering (QCE), Vol. 1 (IEEE, 2025) pp. 405–416.DOI
- [39]M. Cattaneo, M. A. Rossi, G. Garcia-Pérez, R. Zambrini, and S. Maniscalco, Quantum simulation of dissipative collective effects on noisy quantum computers, PRX quantum 4, 010324 (2023).DOI
- [40]M. Oszmaniec and D. J. Brod, Classical simulation of photonic linear optics with lost particles, New Journal of Physics 20, 092002 (2018). M. Bacchi, A. Bernardi, M. Clementi, S. Congia, F. Garrisi, A. Martell osio, M. Passoni, A. Wrobel, F. A. Sabatoli, M. Galli, et al., Postselection free time-bin entanglement on a thin-film lithium niobate photonic chip, Physical Review Applied 25, 064045 (2026).
- [42]A. Ranjan, T. Patel, H. Gandhi, D. Silver, W. Cutler, and D. Tiwari, Experimental evaluation of xanadu x8 photonic quantum computer: Error measurement, characterization and implications, in Proceedings of the International Conference for High Performance Computing, Networking, Storage and Analysis (2023) pp. 1–13.DOI
- [43]L. S. Madsen, F. Laudenbach, M. F. Askarani, F. Rortais, T. Vincent, J. F. Bulmer, F. M. Miatto, L. Neuhaus, L. G. Helt, M. J. Collins, et al., Quantum computational advantage with a programmable photonic processor, Nature 606, 75 (2022).DOI
- [44]H. Aghae e Rad, T. Ainsworth, R. N. Alexander, B. Altieri, M. F. Askarani, R. Baby, L. Banchi, B. Q. Baragiola, J. E. Bourassa, R. Chadwick, et al., Scaling and networking a modular photonic quantum computer, Nature 638, 912 (2025).DOI
- [45]K. R. Motes, A. Gilchrist, J. P. Dowling, and P. P. Rohde, Scalable boson sampling with time-bin encoding using a loop-based architecture, Physical review letters 113, 120501 (2014).DOI
- [46]S. Takeda and A. Furusawa, Universal quantum computing with measurement-induced continuous-variable gate sequence in a loop-based architecture, Physical review letters 119, 120504 (2017).DOI
- [47]W. R. Clements, P. C. Humphreys, B. J. Metcalf, W. S. Kolthammer, and I. A. Walmsley, Optimal design for universal multiport interferometers, Optica 3, 1460 (2016).arxiv.org/abs/1603.08788
- [48]R. Hamerly, S. Bandyopadhyay, and D. Englund, Accurate self-configuration of rectangular multiport interferometers, Physical Review Applied 18, 024019 (2022).DOI
- [49]M. Reck, A. Zeilinger, H. J. Bernstein, and P. Bertani, Experimental realization of any discrete unitary operator, Physical review letters 73, 58 (1994).pubmed.ncbi.nlm.nih.gov/10056719
- [50]H. de Guise, O. Di Matteo, and L. L. Sánchez-Soto, Simple factorization of unitary transformations, Physical Review A 97, 022328 (2018).DOI
- [51]Y. Liu, J. Zhang, J. Feng, S. Chen, and J. Xu, Reduce footprints of multiport interferometers by cosine-decomposition unfolding, in Optical Fiber Communication Conference (Optica Publishing Group, 2022) pp. W2A–4.DOI
- [52]H. Qi, L. G. Helt, D. Su, Z. Vernon, and K. Brádler, Linear multiport photonic interferometers: loss analysis of thermally-encoded architectures, arXiv preprint arXiv:1812.07015 (2018).arxiv.org/abs/1812.07015
- [53]R. García-Patrón, J. J. Renema, and V. Shchesnovich, Simulating boson sampling in lossy architectures, Quantum 3, 169 (2019).
- [54]N. Tischler, C. Rockstuhl, and K. Slowik, Quantum optical realization of arbitrary linear transformations allowing for loss and gain, Physical Review X 8, 021017 (2018).DOI
- [55]M. Houde, W. McCutcheon, and N. Quesada, Matrix decompositions in quantum optics: Takagi/autonne, bloch-messiah/euler, Iwasawa, and williamson, Canadian Journal of Physics 102, 497 (2024).DOI
- [56]M. G. Paris, Displacement operator by beam splitter, Physics Letters A 217, 78 (1996).DOI
- [57]R. Filip, P. Marek, and U. L. Andersen, Measurement-induced continuous-variable quantum interactions, Physical Review A—Atomic, Molecular, and Optical Physics 71, 042308 (2005).DOI
- [58]R. Nehra, C. Oh, L. Jiang, and A. Marandi, All-optical loss-tolerant distributed quantum sensing, npj Quantum Information (2026).
- [59]C. Oh, M. Liu, Y. Alexeev, B. Fefferman, and L. Jiang, Classical algorithm for simulating experimental gaussian boson sampling, Nature Physics 20, 1461 (2024).DOI
- [60]P. Kok and B. W. Lovett, Introduction to optical quantum information processing (Cambridge university press, 2010).DOI
- [61]I. Kondratyev, I. Dyakonov, M. Y. Saygin, S. Straupe, and S. Kulik, Multiport universal unitary interferometer design, in Aip conference proceedings, Vol. 2241 (AIP Publishing LLC, 2020) p. 020022.DOI
- [62]S. Olivares, Quantum optics in the phase space: A tutorial on gaussian states, The European Physical Journal Special Topics 203, 3 (2012).DOI
- [63]M. Brunelli, C. Benedetti, S. Olivares, A. Ferraro, and M. G. Paris, Single-and two-mode quantumness at a beam splitter, Physical Review A 91, 062315 (2015).DOI
- [64]A. Beggi, I. Siloi, C. Benedetti, E. Piccinini, L. Razzoli, P. Bordone, and M. G. Paris, Back and forth from fock space to hilbert space: a guide for commuters, European Journal of Physics 39, 065401 (2018).DOI
- [65]C. S. Hamilton, R. Kruse, L. Sansoni, S. Barkhofen, C. Silberhorn, and I. Jex, Gaussian boson sampling, Physical review letters 119, 170501 (2017).DOI
- [66]B. J. Lawrie, P. D. Lett, A. M. Marino, and R. C. Pooser, Quantum sensing with squeezed light, Acs Photonics 6, 1307 (2019).DOI
- [67]E. Suerra, S. Altilia, S. Olivares, A. Ferraro, F. Canella, D. Giannotti, G. Galzerano, S. Corli, E. Prati, and S. Cialdi, Generation and detection of squeezed states via a synchronously pumped optical parametric oscillator: E. suerra et al., Applied Physics B 132, 26 (2026).
- [68]A. Christ, C. Lupo, M. Reichelt, T. Meier, and C. Silberhorn, Theory of filtered type-ii parametric down-conversion in the continuous-variable domain: Quantifying the impacts of filtering, Physical Review A 90, 023823 (2014).
- [69]A. Serafini, Quantum continuous variables: a primer of theoretical methods (CRC press, 2023).
- [70]R. Simon, N. Mukunda, and B. Dutta, Quantum-noise matrix for multimode systems: U (n) invariance, squeezing, and normal forms, Physical Review A 49, 1567 (1994).pubmed.ncbi.nlm.nih.gov/9910403
- [71]J. B. Brask, Gaussian states and operations – a quick reference (2022), arXiv:2102.05748 [quant-ph].arxiv.org/abs/2102.05748
- [72]A. Björklund, B. Gupt, and N. Quesada, A faster hafnian formula for complex matrices and its benchmarking on a supercomputer, Journal of Experimental Algorithmics (JEA) 24, 1 (2019).
- [73]Y. Liu, J. Zhang, J. Feng, S. Chen, and J. Xu, A reliability concern on photonic neural networks, in 2022 Design, Automation & Test in Europe Conference & Exhibition (DATE) (IEEE, 2022) pp. 1059–1064.DOI
- [74]G. Benenti and G. Strini, Computing the distance between quantum channels: usefulness of the fano representation, Journal of Physics B: Atomic, Molecular and Optical Physics 43, 215508 (2010).DOI
- [75]F. Mezzadri, How to generate random matrices from the classical compact groups, arXiv preprint math-ph/0609050 (2006).
- [76]B. A. Bell and I. A. Walmsley, Further compactifying linear optical unitaries, APL Photonics 6, 10.1063/5.0053421 (2021).DOI
- [77]P. A. A. Yasir and P. van Loock, Compactifying linear optical unitaries using multiport beamsplitters, Phys. Rev. A 113, 013528 (2026).DOI
- [78]J. Zhao, Y. Wang, X. Gao, J. Cheng, D. Gao, W. Gu, W. Dong, Q. Yan, L. Chen, Y. Yu, et al., Sub-terahertz plasmonic lithium niobate phase modulator, APL Photonics 10 (2025).

