# Chuang-Leung-Yamamoto (CLY) code[1]

## Description

Bosonic Fock-state code that encodes \(k\) qubits into \(n\) oscillators, with each oscillator restricted to having at most \(N\) excitations. Codewords are superpositions of oscillator Fock states which have exactly \(N\) total excitations, and are either uniform (i.e., balanced) superpositions or unbalanced superpositions.

Codes can be denoted as \([[N,n,2^k,d]]\), which conflicts with stabilizer code notation.

## Protection

Protects against amplitude damping for up to \(t = d-1\) excitation losses. Defining the spacing between two Fock states \(|u_1\cdots u_n\rangle\) and \(|v_1\cdots v_n\rangle\), \begin{align} \text{Spacing}(u,v) = \frac{1}{2}\sum_{i=1}^n |u_i - v_i|, \tag*{(1)}\end{align} the code distance \(d\) can be defined as the minimial spacing between Fock states making up the codewords.

## Rate

Code rate is \(\frac{k}{n \log_2(N+1)}\). To correct the loss of up to \(t\) excitations with \(K+1\) codewords, a code exists with scaling \(N \sim t^3 K/2\).

## Encoding

Photon Fock state input into a network of beamsplitters, phase shifters, and Kerr media. These operations all preserve total photon number. Beamsplitters and phase shifters take annihilation operators to linear combinations of annihilation operators, and the transformation matrix is unitary. The operations corresponding to Kerr nonlinear media are diagonal in the Fock basis, but they implement phases that in general depend nonlinearly on the number of photons in each mode. State preparation may require ancillary modes and be conditioned on photon-number measurement results.

## Decoding

Destructive decoding with a photon number measurement on each mode.State can be decoded with a network of beamsplitters, phase shifters, and Kerr media.

## Parents

- Fock-state bosonic code — Chuang-Leung-Yamamoto code are multi-mode Fock-state codes.
- Constant-excitation (CE) code — Chuang-Leung-Yamamoto codewords are constructed out of Fock states with the same total excitation number.

## Children

## Cousin

- Jump code — Jump codes can be thought of as qubit analogues of uniform CLY codes.

## References

- [1]
- I. L. Chuang, D. W. Leung, and Y. Yamamoto, “Bosonic quantum codes for amplitude damping”, Physical Review A 56, 1114 (1997) DOI

## Page edit log

- Victor V. Albert (2022-03-02) — most recent
- Dhruv Devulapalli (2021-12-17)
- Jonathan Kunjummen (2021-12-07)

## Cite as:

“Chuang-Leung-Yamamoto (CLY) code”, The Error Correction Zoo (V. V. Albert & P. Faist, eds.), 2022. https://errorcorrectionzoo.org/c/chuang-leung-yamamoto