Universal quantum computation with optical four-component cat qubits
Daiqin Su1Ish Dhand1,2Timothy C. Ralph31Xanadu, Toronto, Ontario, M5G 2C8, Canada
2Institut für Theoretische Physik, Albert-Einstein-Allee 11, Universität Ulm, 89069 Ulm, Germany
3Centre for Quantum Computation and Communication Technology, School of Mathematics and Physics, The University of Queensland, St. Lucia, QLD 4072, Australia
Abstract
We propose a teleportation-based scheme to implement a universal set of quantum gates with a four-component cat code, assisted by appropriate entangled resource states and
photon number resolving detection. The four-component cat code features the ability to recover from single photon loss.
Here, we propose a concrete procedure to correct the single photon loss, including detecting the single photon loss event and recovering the initial states. By concatenating with
standard qubit error correcting codes, we estimate the loss threshold for fault-tolerant quantum computation and obtain a significant improvement over the
two-component cat code.
Introduction.–Quantum computers promise to solve some problems faster than classical computers by utilizing
quantum entanglement and coherence Shor (1994); Grover (1996); Nielsen and Chuang (2002); Ladd et al. (2010).
However, noise can easily destroy the entanglement and coherence of a quantum system,
dramatically degrading the performance of a quantum computer Unruh (1995).
The standard procedure to deal with noise is to introduce quantum error correcting codes, in particular, to encode quantum information in the subspace of a
multi-qubit system and correct the errors by using the redundant subspace
Shor (1995); Steane (1996); Bennett et al. (1996); Laflamme et al. (1996); Ekert and Macchiavello (1996); Knill and Laflamme (1997); Kitaev (2003); Fowler et al. (2012).
An alternative is to encode the quantum information in an
infinite-dimensional bosonic system, e.g., a single harmonic oscillator. These sorts of codes are called bosonic codes. Examples include the Gottesman-Kitaev-Preskill (GKP) codes Gottesman et al. (2001), cat codes Cochrane et al. (1999); Ralph et al. (2003); Leghtas et al. (2013); Mirrahimi et al. (2014),
binomial codes Michael et al. (2016) and rotation-symmetric codes Grimsmo et al. (2020).
A bosonic code is usually introduced to correct a specific kind of error, e.g., the GKP code corrects random phase and amplitude displacements Gottesman et al. (2001).
However, a bosonic code itself is not sufficient for fault-tolerant quantum computation. The strategy is to concatenate the bosonic codes with qubit codes, which potentially
reduces the resource overhead. It has been shown that a finite-squeezing GKP code can allow for fault tolerance Menicucci (2014),
and the squeezing threshold can be reduced to around 10 dB Fukui et al. (2018); Noh and Chamberland (2020); Vuillot et al. (2019).
Another important bosonic code is the two-component cat code, which can protect itself from phase rotation error but not photon loss,
leading to a biased error model. The photon loss can be corrected by
concatenating the cat code with some simple qubit codes, e.g., repetition code, giving more feasible protocols for fault-tolerant quantum computing Guillaud and Mirrahimi (2019); Puri et al. (2020).
In optical platforms where gates
are probabilistic, additional located erasure errors need to be addressed Lund et al. (2008), which can also be handled by concatenating with qubit codes.
Along this line, the photon loss threshold for the two-component optical cat codes has been estimated Lund et al. (2008); Lee and Jeong (2013).
Another way to mitigate the photon loss is to introduce a cat code with more components Bergmann and van Loock (2016), e.g., the four-component cat code Mirrahimi et al. (2014). The four-component cat code is introduced to
correct the single photon loss and its performance has been studied in Ref. Albert et al. (2018).
The preparation and manipulation of the four-component cat code have been proposed for platforms
with strong nonlinearity Mirrahimi et al. (2014). However for optical platforms, techneques to implement the universal set of gates and to correct the single photon loss have not
been explored.
In this work we propose a scheme to implement the universal set of gates for the four-component cat code via teleportation, with appropriate entangled resource states and
photon-number-resolving (PNR) detection. This is particularly appealing due to the rapid development of PNR detectors in the optical platform Rosenberg et al. (2005); Jönsson and Björk (2019); Morais et al. (2020).
The advantage is twofold: the PNR detectors not only can be used for teleportation, but also can be used to generate the required entangled resource states Sabapathy et al. (2019); Su et al. (2019); Magana-Loaiza et al. (2019). We remark that this scheme is
also promising for other platforms provided PNR detection and entangled resource states are available. Also based on teleportation, we then develop a
concrete procedure to correct the single photon loss, which accomplishes the syndrome measurement and recovery operation simultaneously.
By further concatenating with qubit codes, we estimate the
photon loss threshold for fault-tolerant quantum computation.
Encoding.–In the four-component cat code, the state of a qubit is encoded in the superposition of four coherent states and ,
where is assumed to be real.
Specifically, the encoded Pauli eigenstates are defined as
and , where
is the normalization factor. Note that and are not orthogonal,
,
however the overlap is small for large . Since and are related by a phase rotation,
the encoded Pauli operation can thus be implemented deterministically. This is similar to the situation for the two-component cat code where the logical
states and are non-orthogonal and are related by a phase rotation.
Teleportation and universal set of gates.–We choose the universal set of quantum gates as Pauli , arbitrary rotation about , Hadamard gate and
controlled- gate. The Pauli gate can be implemented deterministically while other gates are implemented probabilistically
via gate teleportation. Before studying the gate teleportation, we first consider the state teleportation which simply propagates the input
state to the output, and can be considered as an identity gate or a memory.
Figure 1: A schematic of the four-port teleporter, which consists of four 50:50 beam splitters, one phase shifter, four photon-number-resolving detectors
and an entangled resource state . The entangled resource state has to be appropriately chosen depending on the gate to implement.
The state teleportation requires an entangled resource state and the Bell measurement. Here we choose the entangled resource state as the encoded Bell state,
(1)
where is the normalization factor. The Bell measurement is performed by appropriately
arranging four beam splitters, one phase shifter and four PNR detectors, as shown in Fig. 1. A similar circuit has been used to amplify
coherent states and teleport four-component cat states Neergaard-Nielsen
et al. (2013).
The novelty of our circuit is that we use PNR detectors and a different entangled resource state, which are essential for implementing quantum gates and correcting single
photon loss.
Table 1: Measurement outcomes of four PNR detectors and the corresponding Pauli corrections required in order to recover the input state in state teleportation.
It is explicitly indicated if a detector detects no photons, otherwise the detector detects at least one photon. Here is the total number of
detected photon and is a positive integer.
No correction
correction
correction
correction
Failure
The four PNR detectors count the photon number at each output, giving click patterns . If all components in the circuit are ideal, i.e., no photon loss,
then the total number of detected photons is even. This is because both the encoded states and the entangled resource state consist of even numbers
of photons. The click patterns are divided into two categories, one for success of teleportation and the other for failure of teleportation. When the teleportation was successful, one
needs to perform appropriate encoded Pauli corrections, depending on the click patterns, to recover the input state. These are summarized in Table 1.
To implement the gates via teleportation, the entangled resource states need to be modified accordingly. For rotation about the direction, one needs
an entangled state with the rotation angle;
for the Hadamard gate, one needs an entangled state
; and for the controlled- gate, one needs a four-qubit entangled state
,
which is used as the shared entanglement of two teleportation circuits. Depending on the gate to implement, the Pauli correction needs to be adjusted accordingly, for example, for the
Hadamard gate the correction is converted to correction and the correction is converted to correction Lund et al. (2008).
Generating entangled resource states.–We now consider a strategy for creating the entangled resource state required for the teleportation. We take the single mode encoded superposition state, , with amplitude as our “free” resource state and seek a non-deterministic, heralded, linear optics method for producing the teleportation resource state given in Eq. (1).
Figure 2: An optical circuit to generate the entangled resource state . The states and are encoded superposition states with amplitude .
Consider an optical circuit depicted in Fig. 2 which mixes two superposition states and two vacuum inputs together on a series of 50:50 beam splitters.
When we obtain equal counts on the two detectors, ,
and is even then the projected state is the teleportation resource state given in Eq. (1). If ,
but is odd we obtain the phase flipped Bell state
, which is still useful for teleportation, just requiring a different Pauli operator correction.
The entangled resource states used to implement the universal set of gates for the four-component cat code are non-Gaussian states. For optical platforms, these non-Gaussian
states can be probabilistically generated by measuring multimode Gaussian states using PNR detectors and post selecting certain measurement outcomes Sabapathy et al. (2019); Su et al. (2019); Magana-Loaiza et al. (2019). For platforms where
strong nonlinearity is available, these non-Gaussian states can be generated deterministically.
Correcting single photon loss.–The standard error correction procedure consists of two steps: the first is to detect whether an error has occurred without disturbing the state,
known as the syndrome measurement; the second is to recover the original state according to the results of the syndrome measurement, known as the recovery operation.
The performance of the four-component cat code in correcting single photon loss has been explored in Ref. Albert et al. (2018), however
a concrete error correcting procedure is still absence.
Here we propose a concrete procedure to correct single photon loss via teleportation, which realizes the syndrome measurement and recovery operation simultaneously.
The four-component cat code is designed to correct single photon loss using the redundancy in the Fock basis states.
The states of a qubit are encoded in the subspace with even numbers of photons.
If there is single photon loss, the states are shifted to the subspace with odd numbers of photons. Therefore, a syndrome measurement is basically a parity measurement.
When detecting an even number of photon, one concludes that no photons have been lost and no further operation is needed;
when detecting an odd number of photon, one concludes that a photon has been lost and a photon needs to be added to the output state to recover the original state.
If more than one photons have been lost, the above procedure results in uncorrectable errors.
Define two new cat states and
, with the normalization factor.
The states and consist of odd numbers of photons, therefore are not in the code subspace.
We refer to them as being in the loss subspace.
Together with and , one can form four states that are superposition of four coherent states:
,
,
, and
, where and are complex coefficients.
Note that and are in the code subspace and are related by a Pauli transformation, while
and are not in the code subspace. When a photon is lost, these states are transformed as
, up to a normalization constant.
Consider an encoded cat qubit with initial state going through a lossy channel which is modelled by a beam splitter with transmission . If there is no photon loss, the state becomes with ; if there is single photon loss, the state becomes (see Appendix for details). The state after the lossy channel is then fed into the teleportation circuit shown in Fig. 1, namely, it acts as the input state. Note that the amplitude of the cat code decreases from to regardless of whether a photon is lost or not, therefore the amplitude of the entangled resource state has to be adjusted such that the amplitude of arm is , whilst that of arm remains . In the case where there is no photon loss, the state is simply teleported to the output and the total number of detected photon is even. The teleportation corrects the amplitude: . In the case where a photon is lost, the total number of detected photon is odd. This is because the input couples with one of the modes of the encoded Bell state Eq. (1), which consists of even numbers of photon. Therefore, the parity of the total number of detected photon tells us whether there is single photon loss or not when the encoded cat qubit goes through the lossy channel. This accomplishes the syndrome measurement.
Interestingly, the recovery operation can also be implemented via teleportation. From Eq. (1) and Fig. 1 it is evident that the output state of the teleportation (in the other mode of the encoded Bell state) consists of even numbers of photon and is in the code subspace. In order to recover the initial state of the encoded cat qubit, one only needs to apply appropriate encoded unitary transformations. In the case of state teleportation and no photon loss, these required unitary transformations are encoded Pauli operators, as shown in Table 1. We find that one can still recover the encoded initial state by applying appropriate encoded Pauli operators when there is single photon loss in the encoded cat qubit. The encoded Pauli operator that needs to be applied depends on the click pattern and the total number of detected photon (see Supplementary Material for details), as summarized in Table 2. The Pauli correction in the teleportation thus plays the role as recovery operation.
Table 2: Pauli corrections (recovery operations) with single photon loss. The measurement patterns that allow for initial state recovery are listed. Here is identity operator and are three encoded Pauli operators, is the total number of detected photon and is an integer.
Other than photon loss in the encoded cat qubit, there are various sources of photon loss in the teleportation circuit, including the encoded Bell state, beam splitters, phase shifter and PNR detectors. An important question is whether the proposed error correction procedure can also correct single photon loss within the teleportation circuit. The answer is affirmative. In the situation where a single photon is lost in one of the modes of the entangled Bell state, we show that the initial state can be recovered (see Supplementary Material for details). The output states after photon number detection are the same as those where a single photon is lost in the encoded cat qubit, except for a possible global phase that is irrelevant. This implies the Pauli corrections that need to be applied are also given by Table 2.
Single photon loss in the beam splitters, phase shifter and photon number detectors can also be mitigated. Assume that the optical elements and the PNR detectors are not perfect, but the rate of photon loss along each path (the modes and ) is the same. Under this balanced loss assumption, one can combine all lossy channels along each path into one effective lossy channel. Since the loss rate in each path is the same, the effective lossy channels commute with the optical elements. One can therefore move them to the front of the teleportation circuit, giving a lossy channel in the input mode , which may cause single photon loss in the encoded input state, and another lossy channel in one of the arms of the Bell state, which may cause singe photon loss in the Bell state. As a result, the photon loss from the optical elements and PNR detectors can be mitigated via the proposed error correction procedure.
Estimating loss threshold.–Since the four-component cat code can protect the encoded qubit from single photon loss, it is expected that the loss threshold will be higher
if it is used for fault-tolerant quantum computation, as compared to codes which cannot correct single photon loss like the two-component cat code.
Here we estimate the loss threshold based on the results of Ref. Lund et al. (2008), where concatenation of the two-component cat code with the Steane code or
Golay code is used to estimate the loss threshold. The purpose of this preliminary estimation is to show that the four-component cat code is a promising candidate for fault-tolerant computation. To obtain an accurate
loss threshold value one needs to perform a numerical simulation. By concatenating the cat codes with some more advanced qubit codes, e.g., surface code,
which promises a much higher threshold, one expects the loss threshold would be higher. We leave this for future work.
There are two kinds of error one needs to deal with: the located error due to the failure of the teleportation and the phase flip error coming from the photon loss.
If the teleportation failed, the gate implementation was not successful and one simply removes the relevant qubits. For the two-component cat code, the teleportation fails when
two PNR detectors detect no photons. For the four-component cat code, there are more click patterns that result in failure of teleportation, as shown in Table 1.
The failure probability is obtained by summing the probabilities of detecting all those failure click patterns.
We find that for a fixed cat amplitude, the failure probability for the two-component cat code is lower than that for the four-component cat code.
If the failure probability is fixed, the amplitude of the four-component cat code is approximately twice as big as that of the two-component cat code (see supplementary materials).
The phase flip error rate for the two-component cat code is the probability of losing an odd number of photons and is dominated by the probability of losing one photon.
Since the four-component cat code can correct a single photon loss, so the phase flip error rate is dominated by the probability of losing two and three photons.
The phase flip error rate depends on the cat amplitude and the photon loss rate. In order to obtain a fair comparison of loss threshold between the two cat codes,
we adjust the amplitudes of the two codes so as to set the located error rate of the two codes equal. By fixing the phase flip error rate, we can compare the
loss value between the two cat codes.
It is shown in Ref. Lund et al. (2008) that if the amplitude of the two-component cat code , the loss threshold is
around . As an example, we choose the amplitude of the two-component cat code as , so a four-component cat code with
amplitude would produce approximately the same located error rate. Once the cat amplitudes are given, the relation between the phase flip error rate and the loss
is known, as plotted in Fig. 3. It is evident that a significant improvement in the loss threshold can be achieved by employing the four-component cat code. For a phase flip error rate that corresponds to a loss value around for the
two-component cat code, the corresponding loss value for the four-component cat code is about with perfect teleportation circuit and with lossy teleportation circuit.
Figure 3: Relation between phase flip error rate and photon loss for the two-component and four-component cat codes under the condition that the teleportation failure probabilities
(located error rates) are the same. The blue (dashed) line is for the two-component cat code, the green (dashed-dotted) and red (solid) lines are for the four-component cat code with lossy and perfect teleportation circuit, respectively. The effective loss rate in the teleportation circuit is chosen to be the same as that in the encoded input state.
The amplitudes of the two-component and four component cat codes are chosen as and , respectively.
Conclusion.–We developed a scheme to implement the universal set of quantum gates for the four-component cat code via gate teleportation.
This is the first proposal for optical implementation
and is particularly promising due to the fast development of PNR detectors. It is also suitable for other platforms provided the PNR detection is available. Also based on the
teleportation, a concrete procedure to correct the single photon loss was proposed. Furthermore, we estimated the loss threshold for the four-component cat code when it is
concatenated with qubit codes, and found a significant improvement as compared to the two-component cat code.
This shows that the four-component cat code is a promising candidate for fault-tolerant quantum computation.
Note: In the preparation of this work, Ref. Hastrup and Andersen (2021) was posted, which like this current work addresses the task of all-optical error correction with a cat code albeit using a different and complementary approach.
We thank Austin Lund for providing some valuable references.
References
Shor (1994)
P. W. Shor, in
Proceedings 35th Annual Symposium on Foundations of
Computer Science (1994), pp. 124–134.
Grover (1996)
L. K. Grover, in
Proceedings of the Twenty-Eighth Annual ACM
Symposium on Theory of Computing (Association for
Computing Machinery, New York, NY, USA,
1996), pp. 212–219.
Nielsen and Chuang (2002)
M. A. Nielsen and
I. Chuang,
Quantum computation and quantum information
(2002).
Ladd et al. (2010)
T. D. Ladd,
F. Jelezko,
R. Laflamme,
Y. Nakamura,
C. Monroe, and
J. L. O’ Brien,
Nature 464, 45
(2010).
Mirrahimi et al. (2014)
M. Mirrahimi,
Z. Leghtas,
V. V. Albert,
S. Touzard,
R. J. Schoelkopf,
L. Jiang, and
M. H. Devoret,
New Journal of Physics 16,
045014 (2014),
URL https://doi.org/10.1088/1367-2630/16/4/045014.
Michael et al. (2016)
M. H. Michael,
M. Silveri,
R. T. Brierley,
V. V. Albert,
J. Salmilehto,
L. Jiang, and
S. M. Girvin,
Phys. Rev. X 6,
031006 (2016),
URL https://link.aps.org/doi/10.1103/PhysRevX.6.031006.
Puri et al. (2020)
S. Puri,
L. St-Jean,
J. A. Gross,
A. Grimm,
N. E. Frattini,
P. S. Iyer,
A. Krishna,
S. Touzard,
L. Jiang,
A. Blais,
et al., Science advances
6, eaay5901
(2020).
Albert et al. (2018)
V. V. Albert,
K. Noh,
K. Duivenvoorden,
D. J. Young,
R. T. Brierley,
P. Reinhold,
C. Vuillot,
L. Li,
C. Shen,
S. M. Girvin,
et al., Phys. Rev. A
97, 032346
(2018),
URL https://link.aps.org/doi/10.1103/PhysRevA.97.032346.
Morais et al. (2020)
L. A. Morais,
T. Weinhold,
M. P. de Almeida,
A. Lita,
T. Gerrits,
S. W. Nam,
A. G. White, and
G. Gillett,
arXiv preprint arXiv:2012.10158 (2020).
Magana-Loaiza et al. (2019)
O. S. Magana-Loaiza,
R. d. J. León-Montiel,
A. Perez-Leija,
A. B. U’Ren,
C. You,
K. Busch,
A. E. Lita,
S. W. Nam,
R. P. Mirin, and
T. Gerrits,
npj Quantum Information 5,
1 (2019).
Neergaard-Nielsen
et al. (2013)
J. S. Neergaard-Nielsen,
Y. Eto,
C.-W. Lee,
H. Jeong, and
M. Sasaki,
Nature Photonics 7,
439 (2013),
URL https://doi.org/10.1038/nphoton.2013.101.
Hastrup and Andersen (2021)
J. Hastrup and
U. L. Andersen,
arXiv preprint arXiv:2108.12225 (2021).
Appendix A State teleportation
In this section we discuss the detailed implementation of the state teleportation.
For convenience we explicitly write down four two-component cat states,
and , which are the
superpositions of coherent states or , namely,
(2)
where are the normalization constants. Note that and are the even and odd two-component cat states, respectively. The logical eigenstates of the Pauli operator are encoded as
(3)
Note that and are not orthogonal, ,
however, the overlap is small for sufficiently large . A single-qubit logical state is a superposition of and , namely, ,
which is in general a superposition of four coherent states. This is the reason why we call it four-component cat code.
An essential feature of the four-component cat code is that the logical states are encoded in the subspace with even number of photons, which is crucial for correcting single photon loss.
The teleportation circuit is shown in Fig. 1. An input mode (mode ) couples with one of the modes of the entangled resource
state (mode ) and another two modes (modes and ) with vacuum inputs via a series of 50:50 beam splitters. The optical fields in these four modes are finally detected by four PNR detectors,
leaving the other mode (mode ) of the entangled resource state as the output. For state teleportation,
the entangled resource state is chosen as the logical Bell state , which can be written as
(4)
by using Eqs. (A) and (3),
where we have explicitly written down the subscripts “” and “” to indicate the corresponding modes. In the case of no photon loss, the input state is in the code subspace, which we
assume as
(5)
where the subscript “” indicates that the input is in mode , and and are coefficients that normalize the input state. Then the overall input state before teleportation is
(6)
The teleportation circuit consists of four beam splitters and a phase shifter. We denote their action as unitary operators
, , , and , respectively. Here represents the unitary transformation of the beam splitter located
at the intersection between modes and , and notations are similar for other unitary operators.
By considering the action of a 50:50 beam splitter upon two input coherent states and the action of a phase shifter, it can be shown that
where have defined , and omitted the subscripts to simplify the notation and chosen the order of the modes as .
By combining these results, we find that the output state after the teleportation circuit (before photon number measurement) is
where the proportionality factor is .
Four PNR detectors are used to count the number of photons at modes and , giving click patterns
. From the output state, Eq. (A), we see that at least one of the detectors registers no photons.
We will derive the conditional output state and its occurring probability for a particular click pattern, from which one can explicitly see whether the teleportation is
successful and what Pauli correction needs to be applied. The results are summarized in Tables 3,
4 and 5.
Table 3: Pauli corrections for state teleportation: click patterns with one vacuum output, no photon loss.
Table 4: Pauli corrections for state teleportation: click patterns with two vacuum outputs, no photon loss.
failed
failed
failed
failed
failed
failed
failed
failed
Table 5: Pauli corrections for state teleportation: click patterns with three vacuum outputs, no photon loss.
failed
failed
failed
failed
A.1 Absence of photon at one detector
Consider situations where only one detector detects no photons and each of the other three detectors registers at least one photon.
This includes four sorts of click pattern:
We find that the encoded input state can be successfully teleported to the output for all these click patterns. The detailed analysis is given as follows.
(i) , no click at mode .
When the detector at mode detects no photons, namely, the measurement outcome is , the conditional output state is
(8)
where is the total number of detected photons.
This implies the (unnormalized) output state at mode is
(9)
and the measurement probability is
(10)
(ii) , no click at mode .
The detector at mode detects no photons, namely, the measurement outcome is , the conditional output state is
(11)
This implies the (unnormalized) output state at mode is
(12)
and the measurement probability is
(13)
It is evident that the output states are the same for cases (i) and (ii).
(iii) , no click at mode .
The detector at mode detects no photons, namely, the measurement outcome is , the conditional output state is
(14)
This implies the (unnormalized) output state at mode is
(15)
and the measurement probability is
(16)
(iv) , no click at mode .
The detector at mode detects no photons, namely, the measurement outcome is , the conditional state is
This implies the (unnormalized) output state at mode is
(18)
and the measurement probability is
(19)
It is evident that the output states are the same for cases (iii) and (iv).
For all these cases, the probability of detecting an odd number of photon is zero. This is consistent with the fact that the entangled resource state, input state and
output state all consist of even numbers of photon. For cases (i) and (ii), the output state is exactly the same as the input state when with a positive integer, indicating a
successful teleportation without further corrections. When , the output state is
(20)
and can be converted to the input state by applying a Pauli correction.
For cases (iii) and (iv), the output state is
(21)
when , and it can be converted to the input state by applying a Pauli correction, which is simply a phase shift and is easy to implement.
When , the output state is
(22)
and it can be converted to the input state by first applying a Pauli correction and then a Pauli correction. This is summarized in Table 3.
A.2 Absence of photons at two detectors
When two detectors detect no photons and each of the other two detectors registers at least one photon, the teleportation succeeds for click patterns:
and fails for click patterns:
The results are summarized in Table 4 and the detailed analysis is given as follows.
(i) , no click at modes and .
The detectors at modes and detect no photons, namely, the measurement outcome is . The conditional output state is
(23)
This implies the (unnormalized) output state at mode is
(24)
and the measurement probability is
(25)
The measurement probability is nonzero only when is even and with an integer.
(ii) , no click at modes and .
The detectors at mode and detect no photons, namely, the measurement outcome is . The conditional output state is
This implies the (unnormalized) output state at mode is
(26)
and the measurement probability is
(27)
The measurement probability is nonzero only when is even and with an integer.
The teleportation fails for the following click patterns. Here we explicitly write down the conditional output states, from which one can see clearly why the teleportation fails.
(iii) , no click at modes and .
The detectors at mode and detect no photons, namely, the measurement outcome is with and . The conditional output state is
(28)
(iv) , no click at modes and .
The detectors at mode and detect no photons, namely, the measurement outcome is with and . The conditional output state is
(29)
(v) , no click at modes and .
The detectors at mode and detect no photons, namely, the measurement outcome is with and . The conditional output state is
(30)
(vi) , no click at modes and .
The detectors at mode and detect no photons, namely, the measurement outcome is with and . The conditional output state is
(31)
A.3 Absence of photons at three detectors
There are four sorts of click pattern when only one of the detectors detects photons, namely,
(32)
The teleportation succeeds when the total number of detected photon with a nonnegative integer. The results are summarized in Table 5 and
the detailed analysis is given as follows.
(i) , clicks at mode .
When the measurement outcome is , the conditional output state is
(33)
Note that the measurement probability is nonzero only when is even. Assume that with , then the conditional output state can be written as
(36)
It is thus evident that the input state can be recovered by applying an encoded Pauli correction when is odd, and the teleportation fails when is even.
(ii) , clicks at mode .
When the measurement outcome is , the conditional state is
(37)
The conditional output state is the same as case (i).
(iii) , clicks at mode .
When the measurement outcome is , the conditional output state is
(38)
Note that the probability is nonzero only when is even. Assume that with , then the conditional output state can be written as
(41)
It is thus evident that the input state can be recovered by first applying an encoded Pauli correction and then a Pauli correction when is odd, and the teleportation fails when
is even.
(iv) , clicks at mode .
When the measurement outcome is , the conditional output state is
(42)
Note that the probability is nonzero only when is even. Assume that with , then the conditional output state can be written as
(45)
It is thus evident that the input state can be recovered by first applying an encoded Pauli correction and then a Pauli correction when is odd, and the teleportation fails
when is even.
In summary, when one of the PNR detectors detects photons with an nonnegative integer, the teleportation succeeds; while when it detects photons, the
teleportation fails.
Finally, when all PNR detectors detect vacuum outputs, the teleportation fails. The conditional output state is
(46)
showing that the normalized output state is independent of the input state. The measurement probability is
(47)
A.4 Teleportation failure probability and phase flip error rate
Table 6: Click patterns resulting in failure of teleportation.
Detect four vacuum outputs
Detect three vacuum outputs()
Detect two vacuum outputs(, is even)
Clickpattern
The click patterns that result in failure of teleportation are listed in Table 6. The failure probability is the sum of the measurement probabilities
of all these click patterns. Note that the failure probability depends on the input state. We plot the failure probability as a function of the cat-state amplitude
in Fig. 4 for several typical input states. We can see that for most input states the failure probability approaches to one when , however
it decreases exponentially when . For comparison, we also plot the teleportation failure probability for the two-component cat code in Fig. 4.
The relation between the failure probability and the cat-tate amplitude for the two-component cat code is given by (without photon loss) Lund et al. (2008)
(48)
for input state .
It is evident that for a given amplitude , the failure probability for the four-component cat code is higher than that for the two-component cat code. To keep the failure probability
at the same level, the amplitude of the four-component cat code has to be approximately twice as big as that of the two-component cat code.
Figure 4: Teleportation failure probability (located error rate). The upper four curves represent the failure probabilities of four-component cat code for input
states (blue square), (red diamond), (cyan circle), and (magenta triangle), respectively. As a comparison, the failure
probability for the two-component cat code is also plotted (green pentagon).
The photon loss induces a phase flip error for the two-component cat code, and the phase flip error rate is given by Lund et al. (2008)
(49)
Similarly, the photon loss also induces a phase flip error for the four-component cat code, although the single photon loss can be corrected.
We plot the relation between the phase flip error rate and the photon loss for the two-component and four-component cat codes by requiring that the failure probabilities are at the same level
in Fig. 3. In particular, Fig. 3 establishes a link between the photon loss for the two-component cat code and that
for the four-component cat code for fixed failure probability and phase flip error rate .
Given the photon loss threshold for two-component cat code, one can thus estimate the fault-tolerant threshold for the four-component cat code
by using this relation.
Appendix B Correcting single photon loss in encoded state
In this section, we first briefly review the mechanism of correcting single photon loss using four-component cat code and then describe in detail a concrete procedure to correct single
photon loss via teleportation.
The four-component cat code is specifically designed to correct single photon loss. This can be understood as follows. Define four states with as
(50)
Note that and contain even numbers of photon, and therefore they are in the code subspace;
while and contain only odd numbers of photon, and therefore they are outside the code subspace.
If a single photon is lost, these states are transformed as Leghtas et al. (2013)
(51)
or in a compact form:
(52)
Without loss of generality, we assume that the initial state is .
To check whether there is single photon loss after a lossy channel, we can measure the
parity operator because . Suppose we perform a quantum
nondemolition parity measurement: if the parity is 1, we conclude that there is no single photon loss and no further operations need to be applied; if the parity is , we conclude
that there is single photon loss, namely, , we then apply a recovery map to bring the state
to the initial state . The above error correction procedure works only when one photon is lost. If two or more photons are lost, the
error correction procedure results in a wrong state. This is the intrinsic limitation of the four-component cat code. However, if the photon loss rate is sufficiently low,
the error correction can significantly suppress the logical error rate.
To complete the error correction, one needs to overcome two challenges: (1) to check the photon number without destroying the state, and (2) to efficiently implement the recovery
operation. Here we show that these two challenges can be overcome simultaneously by using teleportation. Assume that an encoded qubit with state
goes through a lossy channel, and then is fed into the teleportation circuit shown in Fig. 1. After the lossy channel,
the state could either be , corresponding to no single photon loss; or , corresponding to single photon loss. If there is no
photon loss, the state is simply teleported to the output, as discussed in Appendix A; if there is single photon loss, the input of the teleportation circuit becomes
(53)
where we have explicitly added the subscript “” to indicate the state at mode .
The overall input state before teleportation is
(54)
The teleportation circuit transforms the four components of the overall input state as follows:
where have defined , and omitted the subscripts to simplify the notation and chosen the order of the modes as .
By combining these results, we find that the output state after the teleportation circuit (before photon number measurement) is
where the proportionality factor is .
Four PNR detectors are used to count the number of photons at modes and , giving click patterns
.
We will derive the conditional output state and its occurring probability for a particular click pattern, from which one can explicitly see whether the input state can be recovered after the single photon loss.
The results are summarized in Tables 7 and 8.
Table 7: Pauli corrections for error correction: click patterns with one vacuum output, single photon loss.
Table 8: Pauli corrections for error correction: click patterns with two vacuum outputs, single photon loss.
failed
failed
failed
failed
failed
failed
failed
failed
B.1 Absence of photon at one detector
We first consider situations where only one detector detects no photons and each of the other three detectors registers at least one photon.
This includes four sorts of click pattern:
It is found that the initial state can be recovered for all these click patterns by applying appropriate Pauli corrections. This is summarized in Table 7.
The detailed analysis is given as follows.
(i) , no click at mode .
The detector at mode detects no photons, namely, the measurement outcome is . The conditional output state is
(56)
This implies the (unnormalized) output state at mode is
(57)
and the measurement probability is
(58)
(ii) , no click at mode .
The detector at mode detects no photons, namely, the measurement outcome is . The conditional output state is
(59)
This implies the (unnormalized) output state at mode is
(60)
and the measurement probability is
(61)
(iii) , no click at mode .
The detector at mode detects no photons, namely, the measurement outcome is . The conditional output state is
This implies the (unnormalized) output state at mode is
(63)
and the measurement probability is
(64)
(iv) , no click at mode .
The detector at mode detects no photons, namely, the measurement outcome is . The conditional output state is
(65)
This implies the (unnormalized) output state at mode is
(66)
and the measurement probability is
(67)
It is evident that for cases (i)-(iv) the total number of detected photon is odd when there is single photon loss. However, the total number of detected
photon is even when there is no single photon loss, as discussed in Appendix A. Therefore, the total number of detected
photon is an indicator of the parity, namely, the total photon number can tell whether there is single photon loss or not.
The photon number counting thus completes the first step of error correction: the syndrome measurement.
In cases (i) and (ii), the output state is
(68)
When , the output state , namely, the initial state can be recovered without further operations; when ,
, namely, the initial state
can be recovered by applying an encoded Pauli operation. This completes the second step of error correction: converting the faulty state back to the
initial state .
In cases (iii) and (iv), the output state is
(69)
When , the output state , namely, the initial state can be recovered by applying an encoded
Pauli operation, which is simply a phase shift; when ,
, namely, the initial state
can be recovered by first applying an encoded Pauli operation and then a Pauli operation. This completes the second step of error correction: converting the faulty state back to the intial state .
In summary, the teleportation provides a concrete scheme for correcting single photon loss. The PNR detection outcomes tell whether there is
single photon loss. If the total number of detected photon is even, one concludes that there is no photon loss and the circuit simply teleports the initial state to the output; if the total number of
detected photon is odd, one concludes that there is single photon loss and the circuit recovers the faulty state to the initial state. However, the error correction
fails if two or more photons are lost, which is the intrinsic limitation of the four-component cat code.
B.2 Absence of photons at two detectors
When two detectors detect no photons and each of the other two detectors registers at least one photon, the initial state can be recovered for click patterns:
and cannot be recovered for click patterns:
The results are summarized in Table 8 and the detailed analysis is given as follows.
(i) .
The detectors at modes and detect no photons, namely, the measurement outcome is with and . The conditional output state is
(70)
This implies the (unnormalized) output state at mode is
(71)
and the measurement probability is
(72)
The measurement probability is nonzero when is odd.
(ii) .
The detectors at modes and detect no photons, namely, the measurement outcome is with and . The conditional output state is
(73)
This implies the (unnormalized) output state at mode is
(74)
and the measurement probability is
(75)
The measurement probability is nonzero when is odd.
(iii) .
The detectors at modes and detect no photons, namely, the measurement outcome is with and . The conditional output state is
(76)
The initial state cannot be recovered.
(iv) .
The detectors at modes and detect no photons, namely,
the measurement outcome is with and . The conditional output state is
(77)
The initial state cannot be recovered.
(v) .
The detectors at modes and detect no photons, namely,
the measurement outcome is with and . The conditional output state is
(78)
The initial state cannot be recovered.
(vi) .
The detectors at modes and detect no photons, namely,
the measurement outcome is with and . The conditional output state is
(79)
The initial state cannot be recovered.
B.3 Absence of photons at three detectors
When only one detector registers photons, the teleportation fails and the initial state cannot be recovered. These click patterns include:
We explicitly write down the conditional output states for these click patterns, from which one can see clearly why the error correction fails.
(i) .
The detector at mode detects photons, namely,
the measurement outcome is . The conditional output state is
(80)
The initial state cannot be recovered.
(ii) .
The detector at mode detects photons, namely,
the measurement outcome is . The conditional output state is the same as case (i) and the initial state cannot be recovered.
(iii) .
The detector at mode detects photons, namely, the measurement outcome is . The conditional output state is
The initial state cannot be recovered.
(iv) .
The detector at mode detects photons, namely,
the measurement outcome is . The conditional output state is the same as case (iii) except a global phase , and the initial state cannot be recovered.
Appendix C Correcting single photon loss in Bell state
In this section, we discuss the correction of single photon loss in the entangled Bell state.
Ideally, the entangled resource state used for teleportation is given by Eq. (1). If a single photon is lost in mode before coupling with the encoded input state, then the entangled
resource becomes
(82)
Assume that there is no photon loss in mode , then the overall input state is
(83)
The teleportation circuit transforms the four components of the overall input state as follows:
where have defined , and omitted the subscripts to simplify the notation and chosen the order of the modes as .
By combining these results, we find that the output state after the teleportation circuit (before photon number measurement) is
where the proportionality factor is .
C.1 Absence of photon at one detector
We first consider situations where only one detector detects no photons and each of the other three detectors registers at least one photon.
This includes four sorts of click pattern:
We find that the output states are the same as those when a single photon is lost in the input mode, except a possible global phase. Therefore, the initial state can be recovered by
applying appropriate Pauli corrections, which is summarized in Table 7.
The detailed analysis is given as follows.
(i) , no click at mode .
The detector at mode detects no photons, namely, the measurement outcome is . The conditional output state is
(85)
This implies the (unnormalized) output state is
(86)
and the measurement probability is
(87)
(ii) , no click at mode .
The detector at mode detects no photons, namely, the measurement outcome is . The conditional output state is
(88)
This implies the (unnormalized) output state is
(89)
and the measurement probability is
(90)
(iii) , no click at mode .
The detector at mode detects no photons, namely, the measurement outcome is . The conditional output state is
This implies the (unnormalized) output state is
(92)
and the measurement probability is
(93)
(iv) , no click at mode .
The detector at mode detects no photons, namely, the measurement outcome is . The conditional output state is
(94)
This implies the (unnormalized) output state is
(95)
and the measurement probability is
(96)
C.2 Absence of photons at two detectors
When two detectors detect no photons and each of the other two detectors registers at least one photon, the initial state can be recovered for click patterns:
and cannot be recovered for click patterns:
This is the same as the case where a single photon is lost in the input mode.
The results are summarized in Table 8 and the detailed analysis is given as follows.
(i) .
The detectors at modes and detect no photons, namely, the measurement outcome is with and . The conditional output state is
(97)
This implies the (unnormalized) output state is
(98)
and the measurement probability is
(99)
The measurement probability is nonzero when is odd.
(ii) .
The detectors at mode and detect no photons, namely, the measurement outcome is with and . The conditional output state is
(100)
This implies the (unnormalized) output state is
(101)
and the measurement probability is
(102)
The measurement probability is nonzero only when is odd.
(iii) .
The detectors at modes and detect no photons, namely, the measurement outcome is with and .
The conditional output state is
(103)
The initial state cannot be recovered.
(iv) .
The detectors at modes and detect no photons, namely,
the measurement outcome is with and . The conditional output state is
(104)
The initial state cannot be recovered.
(v) .
The detectors at modes and detect no photons, namely,
the measurement outcome is with and . The conditional output state is
(105)
The initial state cannot be recovered.
(vi) .
The detectors at modes and detect no photons, namely,
the measurement outcome is with and . The conditional state is
(106)
The initial state cannot be recovered.
C.3 Absence of photons at three detectors
When only one detector registers photons, the teleportation fails and the initial state cannot be recovered. These click patterns include:
We explicitly write down the conditional output states for these click patterns, from which one can see clearly why the error correction fails.
(i) .
The detector at mode detects photons, namely, the measurement outcome is . The conditional output state is
(107)
The initial state cannot be recovered since should be odd.
(ii) .
The detector at mode detects photons, namely,
the measurement outcome is . The conditional output state is the same as case (i) except a global phase and the initial state cannot be recovered.
(iii) .
The detector at mode detects photons, namely,
the measurement outcome is . The conditional output state is
The initial state cannot be recovered since should be odd.
(iv) .
The detector at mode detects photons, namely, the measurement outcome is . The conditional output state is the same as case (iii) except a global phase and
the initial state cannot be recovered.
In summary, when there is single photon loss only in one of the arms of the encoded Bell state, the output states are the same as those when there is single photon loss only
in the encoded input state, except a possible global phase that is irrelevant. This implies that the proposed error correction procedure not only can mitigate single photon loss in the
encoded state, but also can correct single photon loss in the entangled Bell state. In the experiment, one does not have to know whether a single photon is lost is the
encoded state or in the Bell state. Actually, one cannot discriminate these two cases. What one needs to do is to follow the error correction procedure, which then corrects single photon loss in
both cases.
Appendix D Correcting single photon loss in imperfect teleportation circuit
When discussing state teleportation, in Appendix A, and error correction of single photon loss in the encoded state, in Appendix B, we assume that the teleportation circuit (including the entangled resource state , four beam splitters, one phase shifter and the PNR detectors) is perfect. In an actual experiment, they are all imperfect and suffer from photon loss. An important question is whether the proposed error correction procedure can also correct single photon loss in the teleportation circuit. There are several possible sources of photon loss in the teleportation circuit. Interestingly, we show in Appendix C that the single photon loss in one of the arms of the Bell state can be corrected. This implies that the single photon loss in the teleportation circuit can be in principle corrected. A complete analysis is needed to take into account all other sources of photon loss in the teleportation circuit, which we leave for future work.
Figure 5: Uniform loss model. (a) The imperfection (photon loss) of the teleportation circuit is modeled by various lossy channels (blue beam splitters) after or before the optical components, including the beam splitters, phase shifter and PNR detectors. (b) When the photon loss rate along each path is the same, then four effective lossy channels with the same loss rate can be formed and further moved to the front of the teleportation circuit. The effective lossy channels in the input modes and are neglected because they have no effect on the vacuum inputs.
However, based on the results in Appendix C, it can be simply shown that single photon loss in the beam splitters, phase shifter and photon number detectors can be mitigated in some special cases. Assume that the optical elements and the PNR detectors are not perfect, but the photon loss rate along each path (the modes and ) is the same. Under this balanced-loss assumption, one can combine all lossy channels along each path into one effective lossy channel. Since the photon loss rate of the effective lossy channel in each path is the same, the effective lossy channels commute with the optical elements. One therefore can move them to the front of the teleportation circuit, resulting in a lossy channel in the input mode , which may cause single photon loss in the encoded input state, and another lossy channel in one of the arms of the Bell state, which may cause singe photon loss in the Bell state, as shown in Fig. 5. As a result, the photon loss from the optical elements and PNR detectors can be mitigated via the proposed error correction procedure.
Appendix E Generate resource state
The entangled resource state can be generated by the circuit shown in Fig. 2 with the state
(109)
as an initial resource state. The input of modes and is prepared in state , and the input of modes and is prepared in vacuum. The output state before photon number detection from this circuit is
(110)
where and the normalization factor has been neglected.
We now consider the conditional state obtained when both detectors click. This removes all the zero photon components.
When the detectors at modes and record and photon counts respectively, the projected (unnormalized) state is then given by:
(111)
where .
We see that if we obtain equal counts on the two detectors, , and is even then the projected state is the teleportation resource state given in Eq. (1). If , but is odd we obtain the phase flipped Bell state
, which is still useful for teleportation, just requiring a different correction syndrome.
The probability of obtaining equal counts on the two detectors is
(112)
with .
Appendix F Probability of losing different number of photons
In this section, we briefly review the pure lossy channel and evaluate the probability of losing a particular number of photon. The pure lossy channel can be described by a set of Krauss operators , so that , where and are the density operators before and after going through the lossy channel, respectively. If we denote the loss rate as , then the Krauss operators can be written as
(113)
where is the annihilation (creation) operator and is the photon number operator.
Define an unnormalized density operator as
(114)
which represents the output density operator after the initial state experiences a quantum jump . The quantum jump occurs with probability
(115)
and the normalized output density operator is
(116)
Consider the case where the input state is a pure state , which can be expanded in the Fock basis as
(117)
with the complex coefficients.
The probability becomes
(118)
In this work, we only consider input states in the code subspace. In the Fock basis, the logical and can be
expressed as
(119)
Therefore an arbitrary state in the code subspace can be expressed as
which gives
Therefore, for a general encoded input state, the quantum jump occurs with probability