WorksPhysics and Astronomy
Loss-aware optimization of realistic GKP gid states
Abstract
Realistic preparation of Gottesman-Kitaev-Preskill (GKP) states, the prime candidates for quantum computation with bosonic systems, is inevitably burdened by photon loss. We show how taking this loss into account can lead to more robust quantum states, thereby diminishing its negative influence. Using GKP squeezing as an operational figure of merit, we formulate a loss-aware optimization procedure based on the ground state representation of GKP states. Numerical simulations for square, hexagonal, and asymmetric GKP states show that the optimal preparation generally requires a different initial grid spacing than that of the desired ideal code state. For symmetric and hexagonal lattices, the optimal parameters asymptotically follow the simple scaling relation. The optimized states exhibit better GKP squeezing and greater resilience to losses. These results provide a simple and experimentally relevant strategy for improving realistic photonic GKP state preparation in the presence of known photon loss.
Introduction
Nowadays, many physical platforms are considered for universal quantum computing [1, 2, 3, 4]. Photonic technologies promise significant advantages over other approaches, such as room temperature computation and ease of scalability and networking [5, 6, 7]. Nevertheless, like all platforms, it needs to deal with loss and noise. In order to mitigate the errors caused by these imperfections, quantum error correction is the most prominent strategy for fault-tolerant quantum computation [8, 9]. The Bosonic codes it employs encode logical qubits into states from an infinite-dimensional Hilbert space [10, 11], the most common examples being the Gottesman-Kitaev-Preskill (GKP) qubit [12], cat codes [13], or binomial codes [14]. Among these, the GKP code holds a prominent position thanks to its ability to efficiently mitigate errors only with the help of feasible Gaussian operations [15].
However, Gaussian operations and measurements alone are not sufficient for the universality of a quantum computation [16, 17]. They are considered a ’free’ resource in the resource theory of non-Gaussianity [18], even though, in practical scenarios, they have associated costs in the form of loss and added noise [19, 20, 21, 22]. The main power of the Bosonic codes, therefore, lies in the non-Gaussian quantum states used to encode the information. For example, the GKP qubit is effective at mitigating errors due to its periodic, sharp-peaked phase space grid structure, which enables easy detection and correction of small loss and displacement errors [15]. Experimental preparation of such states is one of the main bottlenecks for the realization of quantum computation [23]. High quality GKP states have been achieved in trapped-ion [24, 25] and superconducting circuit platforms [26, 27], but these do not allow for easy networking. On the other hand, the traveling light platform with its high networking potential [5, 6, 7] currently needs to prepare the states by employing conditioning photon number measurements [28, 29, 30, 31, 32, 33, 34, 35] within a boson sampling circuit [36, 37]and the produced states are therefore limited both by the success rate and the overall loss [35, 38]. It is also, in principle, possible to generate GKP states nearly deterministically, by exploiting the third order optical nonlinearity [39], but the available coupling parameters are presently orders of magnitude lower than what is necessary.
No matter what the preparation circuit, the experimentally prepared GKP states will always be only approximations of the ideal nonphysical qubits. Consequently, characterizing the quality of such approximate states is an important problem both in the design of the circuits and their experimental evaluation. Fidelity is generally easy to evaluate, but it is not practical in this case because the ideal states are unphysical. The pair of effective squeezing parameters [40] is better at describing the two independent quadratures, but it is more difficult to evaluate. The recently introduced GKP squeezing [37, 41, 42] takes the best from both approaches by providing Hermitian positive semi-definite operators whose ground states are GKP states in various topologies. Expectation values of these operators define their non-linear squeezing [41, 43, 44, 45, 46], determine the quality of the states similarly to [40], and can be used to certify their non-Gaussianity or even stellar rank [47]. And, since it is easy to evaluate, it can be straightforwardly used to optimize the state preparation procedures [37].
In this paper, we focus on improving the quality of GKP states in realistic scenarios with inherent loss. For GKP states, the loss shrinks the grid they exist on and adds the noise floor [48]. We show that known losses can be taken into account and compensated for by preparing GKP on a slightly different grid. We find the optimal grid parameters leading to the minimal value of the GKP squeezing [41], and find the respective states as eigenstates of the GKP operator. We do consider neither the dephasing noise, for GKP codes are not sufficiently robust against it [49], nor the additive thermal noise, which does not change the grid and therefore leaves the optimal GKP states unchanged.
The paper is organized into two major sections, starting with a general overview of the GKP squeezing and its optimization in realistic scenarios in the second section, followed by the presentation of numerical results. In the third section, we discuss the obtained results.
Optimization protocol
The ideal GKP qubit state is defined as the infinite superposition of quadrature eigenstates, [12, 36, 41, 50]
The state is the simultaneous eigenstate of displacement operators and where
Here and denote the creation and annihilation operators, respectively [51]. They satisfy the commutation relation . The state (1) is also the ground state of the positive semidefinite operator [41]
Any other topology of GKP-like states is only a Gaussian operation away, and it can be found as the ground state , of the general positive semidefinite operator [41]
where
is a renormalized symplectic matrix with defining the spacing of the initial grid as well as the transformation corresponding to the alteration of the topology. Note that this renormalization is necessary for achieving perfect local squeezing in both quadratures. Operator (4) can also be used as a way to evaluate the quality of imperfect GKP states. For an arbitrary state , we can define the GKP squeezing as the expectation value of operator (4), [41],
The expectation value is equal to zero only when the expectation value of the displacement operators is 1. Thus, the GKP squeezing is 0 only for translationally invariant states, which are the ideal GKP states with topology given by . On the set of Gaussian states, the minimum achievable of is 1 [41]. Detecting smaller values, therefore, verifies the non-Gaussian nature of the state, and the GKP squeezing can be considered as a witness of non-Gaussianity and even of stellar rank [43, 44, 45, 46, 47].
Ideal GKP states are nonphysical, their construction would require infinite energy [12]. The operator (4) can be used to numerically find finite-energy approximations on finite-dimensional Fock spaces [41] by finding the ground state of an operator obtained by projecting (4) to a finite dimensional subspace. This procedure leads to a finite number of peaks in the phase space description of the state, the number depending on the chosen Hilbert space dimension of the cut-off, and it is directly tied to stellar rank hierarchy [47, 52]. The eigenvalues of the ground states are nonzero in finite-dimensional Hilbert spaces, the quality of such ground states is determined by the eigenvalue, which is the alternative definition of GKP squeezing . Interestingly enough, this procedure can also be used to find states that do not exist on the ideal grid and do not satisfy . They can still be found as eigenstates of the operator , but we will denote their grid parameters by to avoid confusion. In this scenario, the displacements in (4) do not commute, and can never attain the value of 0, even on an infinite dimensional Hilbert space, but the states still are and can be verified as non-Gaussian.
One of the processes that can change the grid coefficients of the GKP states is photon loss, which is the main source of imperfections in the photonic platform. Loss can be modeled using an unbalanced beam splitter with intensity transmittance . The loss channel has an equivalent decomposition using the Kraus formalism [48]:
The loss channel is trace-preserving, and the Kraus operators satisfy the completeness relation:
The loss can be taken into account when designing state preparation circuits. Instead of analyzing an ideal lossless scenario, looking for a circuit designing a specific ideal quantum state or one that minimizes a specific cost function [37], one may look for a circuit that does that after the loss has taken its toll. In our case, where we seek GKP states characterized by their GKP squeezing, the optimization problem can be formally expressed as the search for
where is a parameter with representing the ideal grid. The minimization can be simplified by transferring the loss channel from the state to the operator. This can be done by using a coherent basis representation because the amplitude of coherent states under photon loss (8) is reduced by : , [48]. Every state can be represented as:
where is the P-function [51]. The identity operator in (4) is invariant under loss due to the completeness relation (9). The displacement operators, however, transform non-trivially. We use the cycling property of the trace and coherent basis representation (11) to obtain
where
The achievable minimum is then equal to the least eigenvalue of operator (13), and the quantum state needing to reach it can be found as the corresponding ground state. The operator (13) is from an infinitely dimensional Hilbert space. To get a practically obtainable quantum state, we will again need to project it to a finite dimension before obtaining the eigenstate, and the quality of the obtained state will depend on the chosen dimension. The cost, however, is that the minimal value can no longer be equal to 0. However, there is a caveat, and it is the degeneracy of the ground states of the operator (13). There appears to be a degeneracy threshold that depends on the chosen finite dimension of the projection and on the values of and . We will see that if the operator has a non-degenerate ground state, the ground state exhibits a similar GKP-like structure, but this time on a shrunk grid. Furthermore, to see the robustness of the solution, we will also evaluate the GKP squeezing for a broader family of GKP-like states, looking at
where is the least eigenvalue eigenstate of operator (4) again cut down to the chosen dimension. In the following, we will perform the aforementioned analysis on three important topologies of GKP states, see Figure 1, each with a different shape of the grid. All can be found as eigenstates of (4) with proper selection of parameters .

Figure 1. Wigner functions of a) square grid , b) hexagonal grid , and c) asymmetrical grid . Hexagonal grid is rotated by .
Square GKP state [53, 54] with
illustrated in Figure 1a, hexagonal [54, 55] with
seen in Figure 1b, hexagonal grid is rotated by with rotation operator defined as . The logical GKP qubit with the asymmetric rectangular grid given by
seen in Figure 1c.
We numerically evaluate the minimal GKP squeezing (10) or (12) for fixed parameters , which are given above, in dependence on the losses and the dimension of the available Hilbert space. We compare the optimized with the unoptimized , which was obtained as from (7) with . We also evaluate GKP squeezing (14) for various grid parameters . In all cases, we also compute the difference between the first two minimal eigenvalues of the (13),
Due to the phenomenon of avoided crossing, the difference is not going to reach zero [56]. The avoided crossing happens when two eigenvalues of two eigenstates get closer to each other but never intersect. In that critical moment, the two eigenstates are mixed with each other [56]. We define the avoided-crossing bound as to account for numerical tolerance. Under this bound, the states do not possess a GKP-like structure on the defined geometry of the grid. The minimal eigenstates still possess periodic structure in phase space, they can be a mixture of the ground state and the first excited state.
Square grid
For the square grid, Figure 1a with parameters (15), the losses modify both quadratures in the same way. The optimal state can therefore be found as the minimal eigenvalue eigenstate of with , . Nevertheless, in Figure 2a we show the dependence of the GKP squeezing for different values of , different values of , and the Hilbert space cut-off dimension , see (14). We can see that the minimum does really follow the analytical optimum, see gray dashed line, but also that the optimum is fairly robust, achieving similar values for . We can also see that for losses with it might also be beneficial to prepare states on a larger grid, with , as this provides almost the same value as the optimal solution. We can also see that the optimum crosses the avoided crossing bound at , the bound is indicated by the purple line. The horizontal lines were computed from the degeneracy of ground states of and are not dependent on . The crossing means that the optimal states minimizing GKP squeezing for lower values of do not have GKP-like structure because of the avoided crossing phenomenon. In this case, we also define the difference between upper and lower avoided crossing bounds . We plot the size of the interval as a function of dimension in Figure 2b. The size of the interval shrinks as the dimension increases. The optimal GKP squeezing relative to is then shown in Figure 2c for . In each figure, the blue line corresponds to GKP squeezing, , which was computed for a lossy GKP state obtained as the ground state of the operator with fixed grid parameters propagated through the loss channel, and the green curve shows minimal eigenvalues of the operator (13) for given and . We can see that with the increasing dimension the ideal states marked by blue lines exhibit better GKP squeezing for , but also more rapid deterioration due to loss. This is even more visible in the limit , which is a discontinuous function
Figure 2. Optimization for square grid. Panel a) shows the typical optimization space for for various losses for , see (14). The yellow dashed line indicates the value . The gray dashed line indicates the value . The purple curves denote the degeneracy bound; the ground states outside the region are degenerate ground states of the operator (13). Panel b) shows the size of the interval as a function of the dimension of the operator (4) for various . Panel c) shows for optimized and non-optimized grid parameters across four examples for the chosen . The blue line corresponds to GKP squeezing , which was computed for a lossy symmetric GKP state obtained as the ground state of the operator with fixed grid parameters propagated through the loss channel, and the green curve shows minimal eigenvalues of the operator (13) for given and . The green curve is divided by the avoided crossing threshold , denoted by the orange mark. The eigenstates in dark green have the same geometry of the grid, but the grid itself is shrunken. Ground states denoted in light green have a different grid geometry. The red dashed line indicates the Gaussian threshold. The black line represents in an infinite-dimensional Hilbert space. The gray line represents a discontinuous function in the infinite-dimensional case.
indicated by the gray line. On the other hand, the deterioration of loss optimized states with the optimal , marked by the green lines, deteriorates more slowly, especially for larger dimensions. The effect is again best observed in the limit of , which can be analytically found to be
and is marked by the black lines. The avoided crossing bound is denoted by orange vertical marks. The ground states defined on the shrunken grid are denoted in dark green, and the different grid geometry states are denoted in light green. Therefore, only the states corresponding to dark green GKP squeezing have a similar structure to non-optimized states but on a shrunken grid. The ground states under avoided crossing threshold still possess periodic structure in phase space, but they do not remind us of any known non-Gaussian state.
Hexagonal grid
The hexagonal grid, Figure 1b with parameters (16), is also symmetric, meaning that the optimal state can again be found as the minimal eigenvalue eigenstate of with and (16). Nevertheless, to see the parameter dependence, we also perform a general optimization where we consider the parameters and to be free. Figure 3a shows the 2D optimization space for fixed losses and for . The non-optimized parameters and are marked by yellow cross, while the optimum is marked by a gray one. We can see that the range of parameters is better than the initial one, and is again quite broad. Please note that there is a second, equivalent blue region due to the invariance under the exchange of . fig:3b shows difference between the two minimal eigenvalues of the operator . The yellow mark once again indicates the value and . The gray dashed line indicates the function for . The avoided-crossing boundary is represented by white regions. The gray dashed line indicates how the optimal state is moving with respect to known losses, and once again, the optimum enters the white region; therefore, for some non-zero losses, the ground states of the operator (13) are degenerate. fig:3c then shows the GKP squeezing for optimized and non-optimized grid parameters across four examples for the chosen . In each figure, the blue line corresponds to GKP squeezing, , which was computed for a lossy GKP state obtained as the ground state of the operator with fixed grid parameters propagated through the loss channel, and the green curve shows minimal eigenvalues of the operator (13) for given and . We can see that with the increasing
Figure 3. Hexagonal geometry of the grid. Panel a) shows the typical optimization space for and for fixed for . The yellow mark indicates the value and . The gray mark indicates the value . Panel b) shows difference between the two minimal eigenvalues of the operator (4). The yellow mark once again indicates the value and . The gray dashed line indicates the function for . Panel c) shows for optimized and non-optimized grid parameters across four examples for the chosen . The blue line corresponds to GKP squeezing , which was computed for a lossy symmetric GKP state obtained as the ground state of the operator with fixed grid parameters propagated through the loss channel, and the green curve shows minimal eigenvalues of the operator (13) for given and . The green curve is divided by the avoided crossing threshold , denoted by the orange mark. The eigenstates in dark green have the same grid geometry, but the grid itself is shrunk. Ground states denoted in light green have a different grid geometry. The red dashed line indicates the Gaussian threshold. The black line represents in an infinite-dimensional Hilbert space. The gray line represents a discontinuous function in the infinite-dimensional case.
dimension the ideal states marked by blue lines exhibit better GKP squeezing for , but also more rapid deterioration due to loss. The gray and black lines then again show the limit of for the non-optimized and optimized GKP state, respectively. They can be found analytically, for the initial non-optimized state, the GKP squeezing after decoherence is again given by (20), while for the optimized state it is
Similarly to Figure 2, we can see that optimizing the state significantly enhances its robustness against losses, especially for larger dimensions of the Hilbert space.
Asymmetric grid
Unlike the two previous cases, the logical grid Figure 1c with parameters (18) is not symmetric. The optimal state can still be found as the minimal eigenvalue eigenstate of (13), but it does not exactly align with eigenstates of no matter the choice of . In other words, we do not know an exact analytical prescription for as in the cases above. However, the approximate solution can be found. The operator (13) can be reformulated
where :
with
When we can neglect . The optimal state for minimizing GKP squeezing of (23) can be again found as the minimal eigenvalue eigenstate of with and (18).
The logical Figure 4 summarizes numerical results for an asymmetric grid (18). To see the parameter dependence, we perform a general optimization where we consider the parameters and to be free. Figure 4a shows the 2D optimization space for and for fixed losses and for . The optimization space is not smooth. The GKP squeezing of the specific state with non-optimized parameters and is marked by a yellow cross, while the optimum is marked by the gray one. Figure 4b shows the difference between the two minimal eigenvalues of the operator . The yellow mark once again indicated the values and specified above. The gray dashed line indicates the function for . The ground states of the operator (23) are degenerate when the dashed line enters the white region. Figure 4c shows GKP squeezing for optimized and non-optimized grid parameters across four examples for the chosen . In each figure, the blue line corresponds to GKP squeezing, , which was computed for a lossy GKP state obtained as the ground state of the operator with fixed grid parameters propagated through the loss channel, and the green curve shows minimal eigenvalues of the operator (13) for given and . The pink line indicates GKP squeezing of the operator (13), but for the minimal eigenvalue eigenstates of , . The pink and the green lines are essentially overlapping for .
Figure 4. Asymmetric geometry of the grid. Panel a) shows the typical optimization space for and for fixed for . The yellow mark indicates the value and . The gray mark indicates the value . Panel b) shows difference between the two minimal eigenvalues of the operator (23). The yellow mark once again indicates the values and . The gray dashed line indicates the function for . Panel c) shows for optimized and non-optimized grid parameters across four examples for the chosen . The blue line corresponds to GKP squeezing , which was computed for a lossy symmetric GKP state obtained as the ground state of the operator with fixed grid parameters propagated through the loss channel, and the green curve shows minimal eigenvalues of the operator (13) for given and . The pink line indicates GKP squeezing of the operator (13), but for the minimal eigenvalue eigenstates of , . The green curve is divided by the avoided crossing threshold , denoted by the orange mark. The eigenstates in dark green have the same geometry of the grid, but the grid itself is shrunken. Ground states denoted in light green have a different grid geometry. The same applies to the pink link, it is also divided by the purple vertical marker. The red dashed line indicates the Gaussian threshold.
As in previous examples, we can see that with the increasing dimension the ideal states marked by blue lines exhibit better GKP squeezing for , but also more rapid deterioration due to loss. Similarly to Figure 2, we can see that optimizing the state significantly enhances its robustness against losses, especially for larger dimensions of the Hilbert space. The avoided crossing bound of the two lowest eigenstates of the operator (13) is marked by the orange vertical line. The avoided crossing bound of the two lowest eigenstates of (23) is denoted by the purple vertical line. Those two bounds are close to each other. We do not plot maximum GKP squeezing as in the previous cases because it is not obvious what the optimum eigenstates of the operator (13) are.
Discussion
We present Wigner functions of the non-optimized and optimized quantum states. Figure 5 shows nine panels. The figures in the left column represent various grids obtained as eigenstates of the operator propagated through the loss channel. The middle column represents states obtained as eigenstates of the operator , where , and propagated through the loss channel. The chosen parameters and make sure that the eigenstates are above the avoided crossing threshold. This means that the ground states are not superpositions of excited states, therefore, the geometry of the grid is preserved. The first row of panels a) and b) shows a square grid with given by (15) on a Hilbert space spanned by Fock dimension . The loss channel is represented by parameter . The panels d) and e) show the rotated hexagonal GKP state with defined in (16), and the Hilbert space is cut at . Both states

Figure 5. Figure shows nine panels, left column represents various grids obtained as eigenstates of the operator propagated through the loss channel. The middle column represents states obtained as eigenstates of the operator , where , and propagated through the loss channel. The panels a) and b) show a Wigner function of a square grid with given by (15) on the Hilbert space spanned by Fock dimension . The panels d) and e) show the rotated hexagonal GKP state with defined in (16) and cut at . The panels g) and h) show an asymmetric grid with given in (18), the Hilbert space is limited to . The panels c), f), i) show a marginal distribution of the Wigner functions .

Figure 6. Figure of states under the avoided crossing boundary. Both columns represent states obtained as eigenstates of the operator , where , and propagated through the loss channel. Each row represents two eigenstates corresponding to the two lowest energy levels, the numerical difference of eigenvalues can be found in Table 2. The panels a) and b) show a Wigner function of a square grid with given by (15) on the Hilbert space spanned by Fock dimension . The panels c) and d) show the rotated hexagonal GKP state with defined in (16) and cut at . The panels e) and f) show an asymmetric grid with given in (18), the Hilbert space is limited to . For all cases .
were propagated through the loss channel with intensity transmission . The panels g) and h) show an asymmetric grid with given in (18), the Hilbert space is limited to . The intensity transmission is . The rightmost column represents a marginal probability distribution function, , and compares of optimized and non-optimized grids in the left and middle columns. The optimized states for every GKP topology exhibit higher overall Wigner function maxima and lower minima. We can also see that the peaks farther from the origin are both smaller and shifted, meaning they suffer less from decoherence while maintaining the stabilizing properties. It is mostly seen in the marginal distribution of an asymmetric grid, see Figure 5i. The minimization of the GKP squeezing leads to concentration of the Wigner function around the origin of the phase space. Table 1 compares GKP squeezing and of six states a) - h) from Fig. 5. This clearly demonstrates the advantage of optimized states.
| Grid | ||
| Square | 0.61 | 0.54 |
| Hex | 0.67 | 0.57 |
| Asym | 0.67 | 0.59 |
Table 1. GKP squeezing of optimized and non-optimized states from Fig. 5
Fig. 6 shows quantum states below avoided crossing threshold. Both columns represent two lowest eigenstates of the operator , where , and propagated through the loss channel. The left column corresponds to ground state the and the right column to first excited eigenstate. Each row represents two eigenstates corresponding to two lowest energy levels of different grid topology. The difference between the energy levels of the eigenstates can be found in Table 2. Fig. 6a and Fig. 6b show a Wigner function of a square grid with given by (15) on the Hilbert space spanned by Fock dimension . Fig. 6c and Fig. 6d show the rotated hexagonal GKP state with defined in (16) and cut at . The panels e) and f) show an asymmetric grid with given in (18), the Hilbert space is limited to . For all cases .
| Grid | |
| Square | |
| Hex | |
| Asym |
Table 2. Numerical difference between eigenenergies of two lowest eigenstates defined from Fig. 6
We explicitly plot first three eigenvalues of of the square grid as a function of , see Figure 7. The dimension is fixed at . The ground energy and energy of the first excited state undergoes avoided crossing in the region of . This is in agreement with fig:2c.

Figure 7. Figure shows eigenvalues of of the square grid for fixed as a function of . The ground energy is depicted by blue line, the first excited eigenvalue is in green. The third in orange. The right figure shows detail of the left one.
Conclusion
We have shown that GKP squeezing can be used to optimize the preparation of GKP states to account for known losses and that this approach does improve the resilience of the produced states. We have analyzed three significant types of GKP states, GKP states on a square, hexagonal, and rectangular grid, and shown that the optimal strategy is to prepare GKP-like states on a diminished grid. We have also shown that the GKP squeezing operator can be straightforwardly used to find these states, either as exact states in Fock representation that can be targeted by state preparation protocols, or by optimizing the state preparation protocols themselves with the GKP squeezing operator serving as a practical cost function [37]. Interestingly, for higher losses the phenomenon of avoided crossing plays a crucial role in the geometry of the eigenstates of the GKP squeezing operator.
While the effect is not significant for small dimensions of the Hilbert space and therefore not immediately relevant for near term experimental realizations with traveling light such as [35, 38], it becomes more pronounced as the dimension and energy of the states increases, meaning that the benefits could be seen in experiments involving other platforms, such as trapped ions [24, 25], superconducting circuits [26, 27], or deterministic high order optical nonlinearities [39].
Funding. PM, MM acknowledge the financial support of the Czech Science Foundation (project 25-17472S), and European Union’s HORIZON Research and Innovation Actions under Grant Agreement no. 101080173 (CLUSTEC). MM acknowledges IGA-PrF-2026-005. MM acknowledges the Quantera project CLUSSTAR (8C24003) of MEYS, Czech Republic. Project CLUSSTAR has received funding from the European Union’s Horizon 2020 Research and Innovation Programme under Grant Agreements No. 731473 and No. 101017733 (QuantERA). PM acknowledges a grant from the Programme Johannes Amos Comenius under the Ministry of Education, Youth and Sports of the Czech Republic reg. no. CZ.02.01.01/00/22_008/0004649.
Acknowledgment. MM acknowledges fruitful discussions with Jan Provazník. The authors acknowledge the use of the Department of Optics’ computational cluster and the use of Python libraries [57, 58]. The authors used OpenAI’s ChatGPT-5.6 and Grammarly to obtain language-editing suggestions, including possible title formulation. The authors reviewed and take full responsibility for all content of the manuscript.
Disclosures. The authors declare no conflicts of interest.
Data availability. The data underlying the results presented in this paper will be available in a public repository.
References
- [1]F. Arute, K. Arya, R. Babbush, et al., “Quantum supremacy using a programmable superconducting processor,” Nature 574, 505–510 (2019).DOI
- [2]H.-S. Zhong, H. Wang, Y.-H. Deng, et al., “Quantum computational advantage using photons,” Science 370, 1460–1463 (2020).DOI
- [3]C. H. Yang, R. C. C. Leon, J. C. C. Hwang, et al., “Operation of a silicon quantum processor unit cell above one kelvin,” Nature 580, 350–354 (2020).
- [4]I. Pogorelov, T. Feldker, C. D. Marciniak, et al., “Compact ion-trap quantum computing demonstrator,” PRX Quantum 2, 020343 (2021).DOI
- [5]S. Yokoyama, R. Ukai, S. C. Armstrong, et al., “Ultra-large-scale continuous-variable cluster states multiplexed in the time domain,” Nat. Photonics 7, 982–986 (2013).DOI
- [6]M. V. Larsen, X. Guo, C. R. Breum, et al., “Deterministic generation of a two-dimensional cluster state,” Science 366, 369–372 (2019).DOI
- [7]H. Aghaee Rad, T. Ainsworth, R. N. Alexander, et al., “Scaling and networking a modular photonic quantum computer,” Nature 638, 912–919 (2025).DOI
- [8]D. Gottesman, “Stabilizer codes and quantum error correction,” arXiv preprint arXiv:9705052 (1997).
- [9]N. C. Menicucci, “Fault-tolerant measurement-based quantum computing with continuous-variable cluster states,” Phys. Rev. Lett. 112, 120504 (2014).pubmed.ncbi.nlm.nih.gov/24724639
- [10]B. M. Terhal, “Quantum error correction for quantum memories,” Rev. Mod. Phys. 87, 307–346 (2015).DOI
- [11]A. Joshi, K. Noh, and Y. Gao, “Quantum information processing with bosonic qubits in circuit qed,” Quantum Sci. Technol. 6, 033001 (2021).DOI
- [12]D. Gottesman, A. Kitaev, and J. Preskill, “Encoding a qubit in an oscillator,” Phys. Rev. A 64, 012310 (2001).DOI
- [13]M. Bergmann and P. van Loock, “Quantum error correction against photon loss using multicomponent cat states,” Phys. Rev. A 94, 042332 (2016).
- [14]M. H. Michael, M. Silveri, R. Brierley, et al., “New class of quantum error-correcting codes for a bosonic mode,” Phys. Rev. X 6, 031006 (2016).DOI
- [15]B. Q. Baragiola, G. Pantaleoni, R. N. Alexander, et al., “All-gaussian universality and fault tolerance with the gottesman-kitaev-preskill code,” Phys. Rev. Lett. 123, 200502 (2019).DOI
- [16]S. Lloyd and S. L. Braunstein, “Quantum computation over continuous variables,” Phys. Rev. Lett. 82, 1784–1787 (1999).
- [17]A. Mari and J. Eisert, “Positive wigner functions render classical simulation of quantum computation efficient,” Phys. Rev. Lett. 109, 230503 (2012).DOI
- [18]M. Walmschaers, “Non-gaussian quantum states and where to find them,” PRX Quantum 2, 030204 (2021).
- [19]Y. Miwa, J.-i. Yoshikawa, N. Iwata, et al., “Exploring a new regime for processing optical qubits: Squeezing and unsqueezing single photons,” Phys. Rev. Lett. 113, 013601 (2014).pubmed.ncbi.nlm.nih.gov/25032925
- [20]W. Asavanant, Y. Shiozawa, S. Yokoyama, et al., “Generation of time-domain-multiplexed two-dimensional cluster state,” Science 366, 373–376 (2019).DOI
- [21]T. Kashiwazaki, N. Takanashi, T. Yamashima, et al., “Continuous-wave 6-db-squeezed light with 2.5-thz-bandwidth from single-mode plln waveguide,” APL Photonics 5, 036104 (2020).DOI
- [22]T. Yamashima, T. Kashiwazaki, T. Suzuki, et al., “All-optical measurement-device-free feedforward enabling ultra-fast quantum information processing,” Opt. Express 33, 5769 (2025).DOI
- [23]J. Niset, J. Fiurášek, and N. J. Cerf, “No-go theorem for gaussian quantum error correction,” Phys. Rev. Lett. 102, 120501 (2009).pubmed.ncbi.nlm.nih.gov/19392258
- [24]C. Flühmann, T. L. Nguyen, M. Marinelli, et al., “Encoding a qubit in a trapped-ion mechanical oscillator,” Nature 566, 513–517 (2019).
- [25]V. Matsos, C. Valahu, T. Navickas, et al., “Robust and deterministic preparation of bosonic logical states in a trapped ion,” Phys. Rev. Lett. 133, 050602 (2024).DOI
- [26]P. Campagne-Ibarcq, A. Eickbusch, S. Touzard, et al., “Quantum error correction of a qubit encoded in grid states of an oscillator,” Nature 584, 368–372 (2020).
- [27]D. Lachance-Quirion, M.-A. Lemondе, J. O. Simoneau, et al., “Autonomous quantum error correction of gottesman-kitaev-preskill states,” Phys. Rev. Lett. 132, 150607 (2024).
- [28]J. Fiurášek, R. García-Patrón, and N. J. Cerf, “Conditional generation of arbitrary single-mode quantum states of light by repeated photon subtractions,” Phys. Rev. A 72, 033822 (2005).DOI
- [29]H. M. Vasconcelos, L. Sanz, and S. Glancy, “All-optical generation of states for “encoding a qubit in an oscillator”,” Opt. Lett. 35, 3261 (2010).DOI
- [30]M. Eaton, R. Nehra, and O. Pfister, “Non-gaussian and gottesman–kitaev–preskill state preparation by photon catalysis,” New J. Phys. 21, 113034 (2019).DOI
- [31]J. Provazník, L. Lachman, R. Filip, and P. Marek, “Benchmarking photon number resolving detectors,” Opt. Express 28, 14839 (2020).DOI
- [32]J. Grygar, H. Jloušek, J. Fiurášek, and M. Ježek, “Quantum non-gaussianity certification of photon number-resolving detectors,” Opt. Express 30, 33097 (2022).DOI
- [33]A. Kawasaki, K. Takase, T. Nomura, et al., “Generation of highly pure single-photon state at telecommunication wavelength,” Opt. Express 30, 24831 (2022).DOI
- [34]M. Endo, R. He, T. Sonoyama, et al., “Non-gaussian quantum state generation by multi-photon subtraction at the telecommunication wavelength,” Opt. Express 31, 12865 (2023).
- [35]S. Konno, W. Asavanant, F. Hanamura, et al., “Logical states for fault-tolerant quantum computation with propagating light,” Science 383, 289–293 (2024).DOI
- [36]I. Tzitrin, J. E. Bourassa, N. C. Menicucci, and K. K. Sabapathy, “Progress towards practical qubit computation using approximate gottesman-kitaev-preskill codes,” Phys. Rev. A 101, 032315 (2020).DOI
- [37]F. Hanamura, K. Takase, H. Nagayoshi, et al., “Beyond stellar rank: Control parameters for scalable optical non-gaussian state generation,” Phys. Rev. X 16, 021034 (2026).arxiv.org/abs/2509.06255
- [38]M. V. Larsen, J. E. Bourassa, S. Kocsis, et al., “Integrated photonic source of gottesman–kitaev–preskill qubits,” Nature 642, 587–591 (2025).DOI
- [39]R. Yanagimoto, R. Nehra, R. Hamerly, et al., “Quantum nondemolition measurements with optical parametric amplifiers for ultrafast universal quantum information processing,” PRX Quantum 4, 013033 (2023).
- [40]D. J. Weigand and B. M. Terhal, “Generating grid states from schrödinger-cat states without postselection,” Phys. Rev. A 97, 022341 (2018).DOI
- [41]P. Marek, “Ground state nature and nonlinear squeezing of gottesman-kitaev-preskill states,” Phys. Rev. Lett. 132, 210601 (2024).DOI
- [42]V. Kuchář and P. Marek, “Efficient characterization of general gottesman-kitaev-preskill qubits,” arXiv preprint arXiv:2604.17303 (2026).arxiv.org/abs/2604.17303
- [43]V. Kala, R. Filip, and P. Marek, “Cubic nonlinear squeezing and its decoherence,” Opt. Express 30, 31456 (2022).
- [44]Š. Bräuer, T. Opatrný, and P. Marek, “Generalized squeezing as a witness of various quantum properties,” Phys. Rev. Res. 7, 033176 (2025).
- [45]Š. Bräuer, J. Provazník, V. Kala, and P. Marek, “Catability as a metric for evaluating superposed coherent states,” Phys. Rev. Lett. 136, 090205 (2026).DOI
- [46]M. Matulík, Provazník, P. Marek, and Š. Bräuer, “Generalization of catability for parity-less cat states,” arXiv preprint arXiv:2606.22641 (2026).arxiv.org/abs/2606.22641
- [47]Provazník, Š. Bräuer, P. Marek, et al., “Witnesses of non-gaussian features as lower bounds of stellar rank,” arXiv preprint arXiv:2603.03185 (2026).arxiv.org/abs/2603.03185
- [48]J. S. Ivan, K. K. Sabapathy, and R. Simon, “Operator-sum representation for bosonic gaussian channels,” Phys. Rev. A 84, 042311 (2011).DOI
- [49]R. Wang, A. Udupa, T. Hillmann, et al., “Bosonic quantum error-correcting codes with finite stellar rank,” arXiv preprint arXiv:2607.06404 (2026).arxiv.org/abs/2607.06404
- [50]J. E. Bourassa, R. N. Alexander, M. Vasmer, et al., “Blueprint for a scalable photonic fault-tolerant quantum computer,” Quantum 5, 392 (2021).
- [51]U. Leonhardt, Essential Quantum Optics (Cambridge University Press, 2010).DOI
- [52]U. Chabaud, D. Markham, and F. Grosshans, “Stellar representation of non-gaussian quantum states,” Phys. Rev. Lett. 124, 063605 (2020).DOI
- [53]B. W. Walshe, B. Q. Baragiola, R. N. Alexander, and N. C. Menicucci, “Continuous-variable gate teleportation and bosonic-code error correction,” Phys. Rev. A 102, 062411 (2020).DOI
- [54]J. Hastrup, K. Park, J. B. Brask, et al., “Measurement-free preparation of grid states,” npj Quantum Inf. 7, 17 (2021).DOI
- [55]A. L. Grimsmo, J. Combes, and B. Q. Baragiola, “Quantum computing with rotation-symmetric bosonic codes,” Phys. Rev. X 10, 011058 (2020).
- [56]F. L. C. Cohen-Tannoudji, B. Diu, Quantum mechanics Vol. 1 (Cambridge University Press, 1996).
- [57]C. R. Harris, K. J. Millman, S. J. van der Walt, et al., “Array programming with numpy,” Nature 585, 357–362 (2020).
- [58]P. Virtanen, R. Gommers, T. E. Oliphant, et al., “SciPy 1.0: fundamental algorithms for scientific computing in python,” Nat. Methods 17, 261–272 (2020).


