Robust Encoding of a Qubit in a Molecule
Victor V. Albert ,
1,2
Jacob P. Covey ,
1
and John Preskill
1,2
1
Institute for Quantum Information and Matter, California Institute of Technology,
Pasadena, California 91125, USA
2
Walter Burke Institute for Theoretical Physics, California Institute of Technology,
Pasadena, California 91125, USA
(Received 18 November 2019; revised 27 May 2020; accepted 21 July 2020; published 1 September 2020)
We construct quantum error-correcting codes that embed a finite-dimensional code space in the infinite-
dimensional Hilbert space of rotational states of a rigid body. These codes, which protect against both drift
in the body
’
s orientation and small changes in its angular momentum, may be well suited for robust storage
and coherent processing of quantum information using rotational states of a polyatomic molecule.
Extensions of such codes to rigid bodies with a symmetry axis are compatible with rotational states of
diatomic molecules as well as nuclear states of molecules and atoms. We also describe codes associated
with general non-Abelian groups and develop orthogonality relations for coset spaces, laying the
groundwork for quantum information processing with exotic configuration spaces.
DOI:
10.1103/PhysRevX.10.031050
Subject Areas: Atomic and Molecular Physics,
Chemical Physics,
Quantum Information
I. INTRODUCTION
Quantum systems described by continuous variables
arise in many laboratory settings. For example, a micro-
wave resonator in a superconducting circuit or the motional
degree of freedom of a trapped ion can be viewed as a
harmonic oscillator with an infinite-dimensional Hilbert
space. Such continuous-variable systems have potential
applications to quantum information processing. However,
quantum information encoded in an oscillator can be easily
damaged by ubiquitous noise sources such as dissipation
and diffusive motion in phase space.
Robustness against noise can be achieved more easily
by encoding a protected finite-dimensional system within
the infinite-dimensional Hilbert space of an oscillator.
One method for doing so was proposed some years ago
by Gottesman, Kitaev, and Preskill (GKP)
[1]
. A GKP code
is a quantum error-correcting code designed to protect
against noise that slightly shifts the position or momentum
of an oscillator. The ideal basis states for the code space are
“
grid states
”
supported on periodically spaced points in
position or momentum space. By measuring the code
’
s
check operators, one can diagnose a shift error that may
have occurred, without disturbing the encoded quantum
information, and then correct the error (if the shift intro-
duced by noise is not too large) by performing a compen-
sating shift. These codes are expected to perform well
against realistic noise, including dissipation, which typi-
cally acts locally in phase space
[2
–
4]
. Construction of
GKP grid states has recently been demonstrated exper-
imentally
[5,6]
.
In this paper, we develop GKP-like codes that protect
against, not noise that shifts the position and momentum
of an oscillator, but rather noise that shifts the (continuous)
orientation and (discrete) angular momentum of an asym-
metric rigid body. GKP codes for objects that rotate
FIG. 1. Rigid bodies. A molecular code protects against errors
in the orientation and angular momentum of a rigid body, which
may be (a) a planar rotor whose orientation is an element of the
two-dimensional rotation group U
1
, (b) a rigid rotor whose
orientation is an element of the three-dimensional rotation group
SO
3
, or (c) a linear rotor whose orientation is a point on the two-
sphere S
2
. A basis state for the code, or code word, is a
superposition of a finite number of orientations.
Published by the American Physical Society under the terms of
the
Creative Commons Attribution 4.0 International
license.
Further distribution of this work must maintain attribution to
the author(s) and the published article
’
s title, journal citation,
and DOI.
PHYSICAL REVIEW X
10,
031050 (2020)
Featured in Physics
2160-3308
=
20
=
10(3)
=
031050(46)
031050-1
Published by the American Physical Society
about a fixed axis [Fig.
1(a)
] were already discussed in
Ref.
[1]
. In that case, the orientation of the object
corresponds to an element of the two-dimensional rotation
group U
1
¼
SO
2
¼
C
∞
. New issues arise for an object that
rotates freely in three dimensions [Figs.
1(b)
and
1(c)
], with
orientation described as an element of the three-dimen-
sional rotation group SO
3
(for an object with no sym-
metries) or a point on the two-sphere S
2
¼
SO
3
=
U
1
(for an
object with a symmetry axis).
Our work is motivated by recent progress in trapping and
coherently manipulating individual diatomic and polya-
tomic molecules
[7
–
16]
. Molecules offer long coherence
times in both their nuclear and rotational states, have built-
in long-range dipolar interactions, and can be scaled up to
large arrays without compromising on their indistinguish-
ability, coherence time, or interaction fidelity. Furthermore,
couplings between a molecule
’
s internal degrees of free-
dom can be readily engineered and utilized. These features
beg the question of whether it is possible to utilize the
rich yet spatially compact molecular Hilbert space for
quantum error correction; our work shows that such is
indeed the case. Since we consider only a molecule
’
s
rotational degrees of freedom, for our purposes a molecule
is equivalent to a rigid body. For that reason, we refer to
quantum codes embedding a protected finite-dimensional
subspace in the infinite-dimensional Hilbert space of a rigid
body as
molecular codes
.
The rigid-rotor Hamiltonian describing molecular rota-
tional motion is inherently anharmonic; because the energy
levels are unevenly spaced, transitions between levels can
be individually addressed using microwave fields. Hence,
proposals for storing quantum information in molecules
[17
–
28]
(see also Refs.
[29,30]
) typically pick out two low-
lying long-lived energy eigenstates as basis states for a
qubit. One can also introduce an external electric field and
encode a qubit using the resulting
“
pendular
”
eigenstates
[31
–
33]
. Other proposals advocate using vibrational or spin
degrees of freedom
[34,35]
.
Rigid-rotor energy eigenstates, if spaced sufficiently far
apart in angular momentum, provide protection against
small jumps in angular momentum, but are unprotected
against dephasing in the angular-momentum eigenstate
basis resulting from fluctuations in the rotor
’
s orientation.
Our molecular codes, inspired by GKP codes, are designed
to protect against both momentum kicks and orientational
diffusion of a single molecule. Here, we develop the theory
of molecular codes and generalizations thereof. Laboratory
realizations of these coding schemes that actually improve
the coherence times of molecular qubits may still be far off,
but we propose laying the foundations for molecular
quantum error correction as a challenging goal for the
physicists and chemists of the noisy intermediate-scale
quantum (NISQ) era
[36]
.
Though our work is partially motivated by advances in
molecular physics, the coding methods we use are best
explained in an abstract group-theoretic framework, which
we summarize in the next section. In Sec.
III
, we enumerate
a variety of physical settings, in molecular physics and
beyond, where our code constructions may be applicable.
The connection with rotational states of the three molecular
rotors from Figs.
1(a)
–
1(c)
is developed in greater detail in
Secs.
IV
–
VI
, respectively. Section
VII
discusses extensions
to more abstract state spaces. Section
VIII
contains con-
clusions and ideas for future work.
II. SUMMARY OF OUR FRAMEWORK
We describe a family of codes that generalize the GKP
codes
[1]
, which were initially formulated to encode a
finite-dimensional system in the infinite-dimensional
Hilbert space of a bosonic mode or of many bosonic
modes. Each code in our generalized GKP code family is
associated with a nested sequence of groups
H
⊂
K
⊂
G
:
ð
1
Þ
Here, G is a continuous group of shifts in the position of a
physical object. If no nontrivial subgroup of G leaves the
object invariant, and any position can be reached by
applying an element of G to a standard initial position,
then we may regard the
“
position eigenstates
”
fj
g
i
;g
∈
G
g
as a basis for the Hilbert space of the object. The
generalized GKP code is a subspace of this Hilbert space
defined by two properties: (i) The discrete subgroup H of
the continuous group G leaves any state in the code space
invariant, and (ii) the subgroup K acts transitively on a basis
for the code space.
For the standard GKP code, G is the Abelian non-
compact group R, the group of translations in position
space of a particle in one spatial dimension. The subgroup
K is the infinite discrete group containing all translations of
the particle by an integer multiple of
α
, where
α
is a fixed
real number. The subgroup H contains all translations by an
integer multiple of
d
α
, where
d
is the dimension of the code
space. In this case, we may choose the basis for the code
space to be (up to normalization)
j
̄
k
i
∝
X
h
∈
Z
j
q
¼ð
k
þ
hd
Þ
α
i
;
ð
2
Þ
where
j
q
i
is a position state of the oscillator and
k
∈
f
0
;
1
;
...
;d
−
1
g
. We refer to each such basis element
of the code as a
code word
. Thus, a translation of
q
by
d
α
leaves the code words invariant, and a translation of
q
by
α
permutes the code words according to
k
→
k
þ
1
modulo
d
. A shift in
q
due to an error can be detected by measuring
q
modulo
α
.
In addition to errors that shift the value of
q
, the GKP
code also protects against errors that introduce
q
-dependent
phases. Phase errors which are diagonal in the
q
basis are
described by functions on R. Such functions can be
ALBERT, COVEY, and PRESKILL
PHYS. REV. X
10,
031050 (2020)
031050-2
Fourier-expanded using irreducible representations (irreps)
of R, labeled by the momentum
p
. The irreps that preserve
the code space are those with
p
an integer multiple of
2
π
=d
α
, and those that act trivially on the code space have
p
an integer multiple of
2
π
=
α
.
For a generalized GKP code, the detectable position
shifts are labeled by elements of the coset space G/K,
and the
“
logical
”
position shift errors that preserve the
code space are labeled by elements of K/H. Undetectable
logical phase errors correspond to representations of G
which represent the subgroup H trivially but represent K
nontrivially.
In Sec.
IV
, we illustrate the concepts underlying gener-
alized GKP codes by discussing the example of a planar
rotor. In this case, G is U
1
, the infinite compact group of
rotations in a two-dimensional plane, K is the finite
subgroup of U
1
containing rotations by an angle which
is an integer multiple of
2
π
=dN
, and H is the subgroup of K
containing rotations by an angle which is an integer
multiple of
2
π
=N
. Here,
N
and
d
are positive integers,
and
d
is the dimension of the code space. This code can
correct a rotation of the planar rotor by any angle less than
π
=dN
and can correct a shift in angular momentum by any
integer less than
N=
2
. The structure of this code, for the
case
N
¼
3
and
d
¼
2
, is depicted in Fig.
2(a)
.
While these planar-rotor codes were already introduced
in Ref.
[1]
, generalized GKP codes where G is non-Abelian
have not been previously discussed to our knowledge. In
Sec.
V
, we introduce
molecular codes
, which can protect an
asymmetric rigid body from rotational shift errors and
angular-momentum kicks. In this case, G is SO
3
, the
infinite compact group of proper rotations in 3D space.
The finite subgroups H
⊂
K
⊂
SO
3
can be chosen in
various ways. By choosing H
¼
Z
N
⊂
K
¼
Z
dN
to be
discrete cyclic groups of rotations about one axis (for
chemists, Z
N
¼
C
N
), we obtain codes that can correct small
rotations of the body about
any
axis and can also correct
momentum kicks that change the total angular momentum
of the body by
δ
l
<N=
2
. For a pictorial representation of
this code in the case
N
¼
3
,
d
¼
2
, see Fig.
2(b)
. Each ideal
code word is not normalizable, a super-position of a finite
number of position eigenstates, but there are normalizable
approximate code words which maintain good error-cor-
recting properties. We also discuss examples where
H
and
K
are finite non-Abelian subgroups of the rotation group.
We generalize the code construction further in Sec.
VII
,
where we allow G to be any finite group, compact Lie
group, or sufficiently well-behaved noncompact group.
Guided by the stabilizer formalism, we show that for each
molecular code there is a Hamiltonian which has the code
as its ground space. This formulation provides a unified
treatment that encompasses molecular codes (G
¼
SO
3
),
Calderbank-Shor-Steane (CSS) codes (G
¼
Z
×
n
D
), and GKP
codes for qudits (Z
D
), planar rotors (U
1
or Z), and
oscillators (R).
FIG. 2. Code word constructions. (a) Left: Sketch of the planar-
rotor state space U
1
. Black and white points represent the positions
present in the two code words
(10)
of the Z
3
⊂
Z
6
GKP rotor code.
Correctable shifts
ð
−
π
=
6
;
π
=
6
are highlighted in blue. Right: U
1
angular-momentum ladder
l
∈
Z. Black and white squares re-
present momentum states present in the logical-
X
code words
(11)
.
(b) Sketch of the same features of the Z
3
⊂
Z
6
molecular code
(45)
.
Left: Position space is drawn as a ball of radius
π
with antipodal
points identified, and each SO
3
rotation by angle
ω
around axis
v
∈
S
2
corresponds to the vector
ω
v
on the ball. The set of
correctable rotations is in blue, but part of it is cut out to show
that it contains the origin (meaning that small rotations around any
axis are correctable). Right: Momentum space is a 3D square
pyramid with the height labeled by
l
and the base by
j
m
j
,
j
n
j
≤
l
.
We plot only the
m
¼
n
part, where the code words
(49)
have
support. (c) Sketch of similar features of the Z
3
⊂
Z
6
linear-rotor
code
(102)
, whose states are equal superpositions of equidistant
orientations along an equator. Left: The blue spherical lune
contains all points that are closer to the enclosed black point than
to any other black or white point. Right: Momentum space is a 2D
pyramid with base
j
m
j
≤
l
, showing states participating in the
logical-
X
code words
(105)
.
ROBUST ENCODING OF A QUBIT IN A MOLECULE
PHYS. REV. X
10,
031050 (2020)
031050-3
In Sec.
VI
, we discuss the
linear rotor
, a rigid body with
a symmetry axis, such as a heteronuclear diatomic mol-
ecule. For this case, the quantum codes we construct are not
generalized GKP codes as defined above, because the
position basis states of the linear rotor are indexed not
by elements of a group but rather by points in the coset
space SO
3
=
U
1
¼
S
2
. Code words of a linear-rotor code are
uniform superpositions of antipodal points on S
2
, which lie
in the same
orbit
of H acting on S
2
, where H is a finite
subgroup of SO
3
. See Fig.
2(c)
for the case H
¼
Z
3
and
code space dimension two.
The linear-rotor codes can also correct small rotations
about any axis, and analyzing correction of momentum
kicks follows closely the corresponding discussion for
molecular codes. However, for correction of
combinations
of rotations and momentum kicks, there are complications
which arise, because each SO
3
rotation acting on S
2
has
fixed points.
Coset spaces arise in both generalized GKP codes and
linear-rotor codes, but for different reasons. In GKP codes,
position basis states are in one-to-one correspondence with
elements of the group G, and the position shifts detected by
the code are labeled by elements of G/K. In linear-rotor
codes, the position basis states themselves are in one-to-one
correspondence with elements of the coset space SO
3
=
U
1
.
Since coset spaces play a central role in both settings, we
formulate position and momentum bases, shift operators,
and orthogonality relations for general G/H in the
Appendix
D
. These are applicable to H-symmetric mole-
cules when G
¼
SO
3
(see Sec.
III C
) and may be of
independent interest for general G.
III. EXPERIMENTAL REALIZATIONS
Before proceeding to discuss code constructions in more
detail, in this section, we briefly mention some of the
physical settings where these constructions might apply.
The rotational states of a molecule provide one such setting,
where the orientations of a molecule correspond to ele-
ments of SO
3
(in the case of an asymmetric polyatomic
molecule) or S
2
(in the case of a heteronuclear diatomic
molecule). In addition, other physical systems, including
atomic or molecular hyperfine, vibrational, and electronic
states, as well as atomic ensembles and levitated nano-
particles, realize similar configuration spaces.
A. Molecular rotors
GKP codes were realized experimentally
[5,6]
nearly
20 years after the initial proposal
[1]
, and full-fledged error
correctionfor molecularqubits may still bemany yearsaway
(see Ref.
[37]
, Sec. V D). Nevertheless, significant steps
toward the realization of molecular codes may be feasible
during the NISQ era
[36]
as the technology for trapping and
controlling molecules
[38
–
43]
continues to advance.
Laser cooling and trapping techniques have recently
enabled several seminal advances for diatomic polar
molecules, namely, the creation of low-entropy arrays in
an optical lattice
[44,45]
, trapping and imaging in tweezer
arrays
[10,12]
and magnetic traps
[46,47]
, preparation of
pure quantum states
[48]
, and the first quantum degenerate
gas of polar molecules
[49]
. Recent efforts have succeeded
in controlling rotational states of CaH
þ
[15]
as well as
coupling them to a neighboring ion
[16]
. Coherence times
of approximately 100 ms to approximately 1 s in angular-
momentum states of diatomic polar molecules have already
been observed in several experiments
[50
–
52]
.
Laser cooling and quantum control of polyatomic
molecules continues to be a rapidly progressing field
[11,37,53,54]
. The possibility of angular-momentum
state-resolved detection has recently been considered
[13,37]
. In addition, quantum gates of optically trapped
symmetric top molecules have recently been analyzed
[26]
.
Symmetric top molecules also hold promise for simulating
quantum magnetism
[55,56]
. Moreover, specific classes of
polyatomic linear polar molecules that feature more than
one optically active metal atom have recently been pro-
posed for laser cooling and trapping
[57]
. Prospects for
cooling other complex polyatomic molecules have also
been analyzed
[58,59]
.
Here, we highlight a few techniques that could help
realize aspects of our codes in real systems.
1. Rotational states
The code words for our codes can be expressed as
coherent superpositions of several different molecular
orientations. Alternatively, each code word can be
expressed as a coherent superposition of eigenstates of
angular momentum (also known as
“
rotational states
”
).
When discussing experimental realization of the codes, the
basis of rotational states is far more convenient than the
position-eigenstate basis, because rotational states can be
directly addressed using experimental tools.
For the case of a planar rotor, with configuration space
U
1
, the rotational basis states
fj
l
ig
transform as one-
dimensional irreducible representations of U
1
; for the case
of a polyatomic molecule, with configuration space SO
3
, the
basis states
fj
l
mn
ig
correspond to matrix elements of irre-
duciblerepresentations ofSO
3
; and for thecase ofa diatomic
molecule, with configuration space S
2
, the basis states
fj
l
m
ig
correspond to spherical harmonics. In molecular physics
[60
–
63]
,
l
correspondsto the totalangularmomentumofthe
rotor,
m
is the
z
component of the angular momentum in the
lab frame, and
n
is the
z
component in the rotor frame. How
code words are expressed as linear combinations of rota-
tional states is illustrated on the right in Figs.
2(a)
–
2(c)
,
respectively, for three simple rotor codes.
2. Microwave dressing
One can try to stabilize the code words using poly-
chromatic microwave dressing. Note that we consider
ALBERT, COVEY, and PRESKILL
PHYS. REV. X
10,
031050 (2020)
031050-4
single molecules and neglect any effects due to their
interaction. The inherent rigid-rotor Hamiltonian for SO
3
and S
2
is diagonal in the angular-momentum basis, with
eigenvalues
l
ð
l
þ
1
Þ
[64]
. Therefore, transitions between
states with different momenta are individually addressable
(unlike, e.g., the transitions of a harmonic oscillator
Hamiltonian). Selection rules for the internal indices
n
,
m
are dictated by the polarization of the microwave field.
Thus, the energy and polarization of a microwave field can
be tuned to couple two angular-momentum states that are
neighbors in the angular-momentum pyramid. That is, the
value of
l
,
m
,or
n
can change by one unit in a single-
photon transition.
However, the angular-momentum states making up each
code word are widely spaced in the internal indices. For
example, in the case of the SO
3
code depicted in Fig.
2(b)
,
the code words have support only on
fj
l
mn
ig
states such that
m
¼
n
is an integer multiple of 3. For S
2
[Fig.
2(c)
], a
similar pattern emerges, except that, for even
l
, the
rotational state
j
l
m
i
is populated only if
m
is an even
multiple of 3, while, for odd
l
,
fj
l
m
ig
is populated only if
m
is an odd multiple of 3.
Because a single microwave tone couples states that
differ by just one unit of
m
or
l
, a sequence of virtual
transitions induced by multiple pulses would be needed
to couple states with more widely separated values of
m
or
l
. For example, coupling states with
j
δ
m
j¼
3
requires
a three-photon transition that is sufficiently detuned from
the two intermediate states, and coupling states with
δ
l
¼
2
requires a two-photon transition sufficiently
detuned from the one intermediate state. We outline a
scheme to generate these states in Appendix
A
. This
scheme requires many pulses, but it is on par with
previously proposed molecular dressing schemes
[65
–
67]
and may even be realized using recent experimental
advancements
[15]
.
We neglect rotational-state-dependent trapping effects,
which are prominent in optical dipole traps
[50,68
–
70]
.
These effects are negligible when considering a single
molecule in the motional ground state of the trap, whose
intensity can be robustly stabilized. In this case, the unique
Stark shift for each rotational state due to the trap simply
requires an updated microwave frequency catalog for all
transitions. However, this spread in polarizability poses a
practical problem when considering many molecules, since
one must ensure that they all experience the same optical
intensity. Accordingly, alternative trapping schemes may be
more appropriate for the applications proposed in this
work. Magnetic microtraps
[46]
are compatible with
electronic spin doublet or triplet molecules such as CaF,
SrF, YbF, or YO. Radio-frequency electric traps are
compatible with molecular ions
[25,37]
. Such trapping
potentials are substantially less dependent on the rotational
state of the molecule, since they couple to magnetic dipoles
and electric monopoles, respectively.
More generally, one can consider engineering the
desired pulses to generate states or correct errors via
established optimal-control schemes
[43,71]
. It has been
shown that one can control the planar
[72,73]
,linear
[74
–
76]
, and even rigid
[77]
rotors, and it would be useful to
extend these and other efforts
[78,79]
to stabilizing the
required code subspace.
3. Crystal fields
In a class of quantum error-correcting codes called
stabilizer codes
, the code space is the simultaneous eigen-
space with eigenvalue 1 of a set of commuting Pauli
operators, which are called
check operators
. A special
subclass of stabilizer codes are the CSS codes, for which
each check operator can be chosen to be either
Z
type
or
X
type
; the
Z
-type operators
f
ˆ
S
ð
i
Þ
Z
g
are diagonal in the
computational basis, and the
X
-type operators
f
ˆ
S
ð
j
Þ
X
g
permute the computational basis states. The code subspace
may be regarded as the degenerate ground space of the
Hamiltonian
(137)
H
code
¼
−
X
i
ˆ
S
ð
i
Þ
Z
−
X
j
ˆ
S
ð
j
Þ
X
:
ð
3
Þ
Our molecular codes are not stabilizer codes, but, as we
explain in Sec.
V
, the code space is the degenerate ground
space of a Hamiltonian which is a sum of
Z
-type and
X
-
type terms. Here, the
X
-type check operator rotates the
molecule, while the
Z
-type check operator is diagonal in
the position basis but alters the total angular momentum.
Just like its oscillator counterpart (see Ref.
[1]
, Sec.
XIII
),
this molecular Hamiltonian is gapless, but ground states of
an approximate gapped version would be close to the
approximate code words we introduce in Sec.
VC
.
The
ˆ
S
Z
check operators are momentum kicks which
couple well-separated angular-momentum states
fj
l
mn
ig
for
SO
3
or
fj
l
m
ig
for S
2
. For example,
ˆ
S
Z
for a linear-rotor code
based on the octahedral group is a superposition of octo-
pole (
l
¼
4
) spherical harmonics; see Eq.
(116)
. Such
harmonics are, in principle, present in a general interaction
with a bath
[80]
. However, simple laser, dc, or microwave
fields produce only
l
≤
2
harmonics (see Ref.
[61]
,
Chaps. 4 and 7).
One way to generate the required higher value of
l
is to
put the molecule into a crystal lattice. For rotor codes based
on a discrete subgroup K
⊂
SO
3
, one such
ˆ
S
Z
is the lowest-
l
function that is symmetric under K. Thus, putting the
rotor into a K-symmetric lattice yields a background field
whose dominant term is exactly this
ˆ
S
Z
. For example,
putting a linear rotor into an octahedrally symmetric lattice
yields a background potential
[81,82]
that is exactly the
ˆ
S
Z
(116)
required for the octahedral code. This potential is
minimized at those orientations of the rotor that are
superposed to construct the code words; in fact, these
ROBUST ENCODING OF A QUBIT IN A MOLECULE
PHYS. REV. X
10,
031050 (2020)
031050-5
degenerate minima were noticed earlier in an experimental
context
[83]
. Similarly, embedding into a two-dimensional
square lattice yields the appropriate
ˆ
S
Z
(114a)
for a linear-
rotor version of the planar-rotor code introduced in Sec.
IV
.
To access subgroups of SO
3
forbidden in crystals, one
could consider embedding a molecule in a quasicrystal.
Crystal symmetries can enforce only the
ˆ
S
Z
check
operator condition; the
ˆ
S
X
check operator condition must
be imposed by some other means. The
ˆ
S
X
operators are
trigonometric functions of the angular-momentum opera-
tors
⃖
L
for SO
3
or
ˆ
L
for S
2
. These are not naturally available,
as the rigid-rotor Hamiltonian
(75)
and its generalizations
[64]
contain terms that are at most bilinear in the angular-
momentum components. However, there are other terms in
the full rotor-in-lattice Hamiltonian [see Ref.
[84]
,
Eq. (7.2)], and, akin to superconducting circuit schemes
[85]
, one might engineer the molecule
’
s environment (for
example, by embedding the molecule in a liquid helium
nanodroplet
[86]
) to provide the required
ˆ
S
X
terms.
4. Nuclear spin coupling
If an error causes the molecule to rotate slightly, we
recover from the error by applying a compensating small
rotation. The desired rotation can be executed by turning on
a Hamiltonian which is linear in the angular momentum.
But, since the natural rigid-rotor Hamiltonian is quadratic,
this linear term is not so easily realized in the laboratory.
One way to provide a Hamiltonian term which is linear in
the molecule
’
s angular momentum is to couple the rota-
tional states of the molecule to nuclear spin states via
nuclear spin-rotation interactions [see Ref.
[60]
, Eq. (1.32)]
[48,51,87]
H
nsr
¼
I
·
⃖
L
;
ð
4
Þ
where
I
is the nuclear spin. The nuclear spin can serve as a
convenient ancilla system, and the orientation of the
molecule can be controlled by manipulating the nuclear
spin. Similar approaches are applied to solid-state systems
in which electronic spins are coupled to nuclear spins
[88]
.
This approach is roughly analogous to using a super-
conducting Josephson-junction device coupled to a bosonic
mode for manipulating the states of a bosonic error-
correcting code.
We also need to correct momentum kicks by applying
unitary operations that change the value of
l
. Operations
which shift the occupation number of a cavity can be
applied by coupling the cavity to a three-level atom
[89]
or
by using linear optics
[90]
. Similar schemes could shift the
value of
l
for a U
1
rotor. Extensions of such schemes may
be helpful for controlling the rotational states of higher-
dimensional rotors.
B. Spin systems
Certain combinations of spins offer another platform for
simulating the linear-rotor space S
2
and quotient spaces
SO
3
=
H from Table
I
. We list three manifestations:
L
spin-
1
=
2
systems in a totally symmetric spin state,
L
spin-
N=
2
systems in a totally symmetric state, and a pair of spin-
L=
2
systems. In the limit of large
L
, each of these systems
provides a useful approximation to one of the spaces of
interest. While the first two cases are usually studied in the
context of atomic ensembles, all three cases apply equally
well to an atom or a molecule with a sufficiently large
nuclear-spin manifold (cf. Ref.
[91]
).
1. Many small spins
L
spin-
1
=
2
particles in a totally symmetric spin state
have a total angular momentum of
L=
2
. The
L
→
∞
limit
of this large collective spin is sometimes said to be a
semiclassical limit, meaning that the spin-
L=
2
object
behaves like a continuous classical spin when
L
is large.
An intuitive way to understand this limit is to consider the
spin-coherent states
j
v
i
SC
¼
e
−
i
φ
=
2
cos
θ
2
1
=
2
1
=
2
E
þ
e
i
φ
=
2
sin
θ
2
1
=
2
−
1
=
2
E
⊗
L
ð
5
Þ
for
v
¼ð
θ
;
φ
Þ
∈
S
2
[98,99]
. These states are not orthogo-
nal; instead, they form an overcomplete frame for the
collective spin
’
s(
L
þ
1
)-dimensional Hilbert space, with
overlap
jh
v
j
v
0
i
SC
j¼ð
1
þ
v
·
v
0
=
2
Þ
L
.As
L
→
∞
, the states
become orthogonal and correspond to the position states
j
v
i
of S
2
(Table V B). For finite
L
, superpositions of these spin-
coherent states can be approximate code words for a linear-
rotor code.
Numerous manifestations of entangled ensembles of
many spin-
1
=
2
atoms have recently been demonstrated
TABLE I. Quotient spaces mentioned in this work
[92,93]
(see
also Ref.
[94]
, Sec. 3.8, and Refs.
[95
–
97]
). Spaces associated
with SO
3
characterize rotational states of various molecules (see
Sec.
III C
). Z
N
¼
C
N
is the order-
N
cyclic group, D
N
is the order-
2
N
dihedral group, U
1
¼
SO
2
¼
C
∞
is the circle group, and
O
2
¼
SO
2
⋊
Z
2
¼
D
∞
is the group of planar rotations and
reflections. Some of these spaces are shown in Figs.
2
and
4
.
Space X
Group H
Quotient space X/H
R
Z
Wigner-Seitz unit cell U
1
SO
3
Z
N
Lens space L
2
N;
1
Dihedral D
N
Prism space
Tetrahedral T
Octahedral space
Octahedral O
Truncated cube space
Icosahedral I Poincar ́
e dodecahedral space
U
1
Two-sphere S
2
O
2
Projective plane RP
2
S
2
Z
N
,D
N
, T, O, I
Spherical two-orbifold
ALBERT, COVEY, and PRESKILL
PHYS. REV. X
10,
031050 (2020)
031050-6
[100
–
103]
, and the current status of the field is summarized
in Ref.
[104]
.
2. Many medium spins
Any pure state of a spin-
1
=
2
system is invariant under a
continuous U
1
subgroup of the rotation group SO
3
; each
pure state corresponds to a point on the Bloch sphere, and a
rotation about the axis aligned with that Bloch vector leaves
the state invariant. In contrast, there are pure states in
higher-spin representations for which the subgroup which
preserves the state is a nontrivial
discrete
subgroup H of
SO
3
. For example, the spin-2 state
j
T
i
∝
j
2
−
2
iþ
ffiffiffi
2
p
j
2
1
i
is
invariant under the tetrahedral subgroup T. Therefore,
applying SO
3
rotations to
j
T
i
generates a manifold of
states
fj
a
i
T
g
, where the label
a
is a point in the coset space
a
∈
SO
3
=
T. The spin-coherent states
fj
a
i
⊗
L
T
g
, obtained by
taking a tensor product of many identical elements of this
manifold, approximate the position-basis states of SO
3
=
T
in the limit of large
L
. This idea can be generalized: Spin-
coherent states
fj
a
i
⊗
L
H
g
approximate the position-basis
states for the coset space SO
3
=
H, if
j
a
i
H
is a higher-spin
state with invariance group H.
The above T-symmetric and similar H-symmetric states
(see Ref.
[105]
, Table 2)
—
examples of Perelomov coherent
states
[99]
—
are used as a mean-field ansatz for the ground
space of spin-
N
Bose-Einstein condensates
[106,107]
.We
use such coherent states to extract error syndrome infor-
mation for molecular codes (see Sec.
VB
), which requires
projectively measuring in this basis
[108]
.
3. Two large spins
Instead of using only the symmetric subspace, one can
consider the entire space of a pair of spin-
L=
2
systems. Per
the addition rules (see Ref.
[109]
, Chap. 8)
L=
2
⊗
L=
2
¼
0
⊕
1
⊕
⊕
L;
ð
6
Þ
the
ð
L
þ
1
Þ
2
orthonormal basis states for this system can be
chosen to be the angular-momentum eigenstates
fj
l
m
ig
,
with
l
≤
L
and
j
m
j
≤
l
. These are precisely the rotational
states of a linear rotor, except for the truncation
l
≤
L
.
Formally, then, the state space of a pair of spin-
L=
2
systems
matches the state space on S
2
in the limit
L
→
∞
. Since the
normalizable approximate code words of the linear-rotor
code are necessarily truncated for large
L
anyway, these
approximate code words can be accurately realized using a
pair of spin-
L=
2
systems for sufficiently large
L
(see
Sec.
VC
).
If one instead considers two different spins
L=
2
and
L
0
=
2
, one obtains a different band of S
2
momentum states.
While developing codes for such band-limited subspaces is
outside the scope of this work, it is possible that our coding
strategies may also be useful there.
As a concrete experimental platform for large-spin
systems, we can consider nuclear spin spaces of molecules
or single atoms. Diatomic molecules such as NaCs
[24]
offer exactly the band-limited subspaces mentioned above.
Concerning single atoms, lanthanide species such as
dysprosium (Dy), holmium (Ho), and erbium (Er) have
large total spin manifolds in their ground states due to their
large nuclear spins and many unpaired electrons in their
f
shells. Accordingly, such atoms have already attracted
attention for the possibility of scaling up quantum comput-
ing by collectively encoding in multilevel atoms
[110
–
112]
. Ho, in particular, has the largest hyperfine ground
space of any atom, with 128 ground states
[112]
. Laser
cooling and trapping techniques are well established for Dy
[113]
,Ho
[114]
, and Er
[115]
, as well as other lanthanides.
Moreover, quantum degenerate gases of Dy
[116,117]
and
Er
[118,119]
are widely used for novel quantum simula-
tions based on their large magnetic dipole moments.
C. Other systems
1. Planar rotors
Several systems have the configuration space of the
planar rotor. The system depicted in Fig.
1(a)
is a diatomic
molecule confined to rotate in a two-dimensional plane, but
one can also consider a two-ion crystal
[120]
. Other
possibilities include the phase difference between two
superconductors on either side of a Josephson junction
[121]
, orbital angular momentum of light
[122]
, or simu-
lating rotor position states using phase states of an ordinary
oscillator
[123]
.
One can also embed the first few angular-momentum
states of the planar rotor in the linear and rigid rotors. For
fixed angular momentum
L
, the linear-rotor subspace
fj
L
m
ig
with
j
m
j
≤
L
is equivalent to the band-limited subspace
fj
l
i
;
j
l
j
≤
L
g
of the planar rotor.
2. Symmetric molecules
A molecule with symmetry group H has an orientation
state space parameterized by SO
3
=
H (see Table
I
). For
example, the methane molecule CH
3
has the tetrahedral
symmetry group T, and the alkaline earth monomethoxide
(MOCH
3
) family
—
potentially useful for quantum comput-
ing
[26]
—
has symmetry group Z
3
. This group is also the
relevant symmetry group of Posner molecules, postulated
to have potentially useful quantum effects
[124,125]
. The
symmetry group of the fullerene molecule is the icosahe-
dral group I, and the 3-manifold SO
3
=
I has an exotic shape
that was once proposed as a model for the geometry of the
Universe
[97,126]
. It is interesting that such exotic spaces
are readily accessible in relatively simple molecules.
Completely asymmetric and U
1
-symmetric molecules cor-
respond, respectively, to rigid and linear rotors from
Sec.
III A
.
ROBUST ENCODING OF A QUBIT IN A MOLECULE
PHYS. REV. X
10,
031050 (2020)
031050-7
More generally, if a group G acts transitively on the
states of a quantum system, and the subgroup H of G leaves
the states invariant, then the configuration space of the
system is G/H. In Appendix
D
, we develop mathematical
tools for parameterizing the position eigenstates and the
dual momentum states of such a system, including ortho-
gonality and completeness relations as well as a Poisson
summation formula
[127]
.
3. Electronic states
One can consider embedding certain spaces from Table
I
in the electronic eigenstates of single atoms. The eigen-
states of hydrogen offer a platform for a band-limited
subspace of the linear rotor S
2
and even the space SU
2
(closely related to the rigid rotor SO
3
; see Appendix
B
). Let
us label the atom
’
s eigenstates by
j
ν
;
l
m
i
, where
0
≤
j
m
j
≤
l
<
ν
and the energy
E
ν
;
l
;m
∝
1
=
ν
2
. For fixed energy
ν
¼
L
, the manifold of states is the same subspace of S
2
as that obtained by combining two large spins in Eq.
(6)
.If
we instead consider all values of
ν
,
l
, and
m
, we obtain SU
2
by an appropriate unitary transformation, related to writing
the hydrogen atom in parabolic coordinates
[128]
.
4. Vibrational states
One can also consider using vibrational states of
atoms or molecules to encode quantum information
[34]
.
As control over vibrational states improves, it may be
possible to implement bosonic error-correcting codes
[3]
.
Position-state subspaces of harmonic oscillators also yield
the two rotational spaces of interest. For example, consid-
ering position states
j
x; y; z
i
of three oscillators with
x
2
þ
y
2
þ
z
2
constant yields S
2
. With four oscillators, one
obtains SU
2
.
To simulate S
2
using momentum states, one can take all
Fock states of two oscillators with an even total occupation
number. Such a simulation allows straightforward imple-
mentation of SO
3
rotations via beam splitters.
5. Levitated nanoparticles
The code words of our SO
3
and S
2
codes are coherent
superpositions of different possible orientations for a rigid
body. Though we emphasize the potential applications to
atoms and molecules, the same ideas can be applied to any
quantized three-dimensional rigid body that can be coher-
ently manipulated. While there is a size limitation due to
decoherence, we are on the cusp of entering the quantum
regime for levitated nanoscale particles of helium
[129]
,
vaterite
[130]
, diamond (alone
[131]
or doped
[132]
),
and silicon
[133
–
135]
, to name a few. Nanoparticles may
seem to be unlikely candidates for quantum comput-
ing, but it would be interesting nonetheless to try to
stabilize quantum superpositions of their orientational
states (cf.
[136,137]
).
IV. ERROR-CORRECTION BASICS
FOR THE PLANAR ROTOR
The goal of error correction is to encode quantum
information into a cleverly chosen subspace (the
code
)
such that it is possible to recover said information from
errors caused by physical noise. Before proceeding to
discuss codes which protect against noise acting on a
three-dimensional rigid body, we review a simpler case
which was previously considered in Ref.
[1]
: encoding a
finite-dimensional system in the infinite-dimensional
Hilbert space of a
planar rotor
. By discussing this case,
we can introduce the key concepts underlying our code
constructions in a familiar mathematical setting. The
interested reader can consult Ref.
[138]
and Chap. 7 in
Ref.
[139]
for other introductory material on quantum error
correction, as well as related work on encodings associated
with U
1
[123,140]
.
The position-basis eigenstates for a planar rotor are in
one-to-one correspondence with the elements of the two-
dimensional rotation group U
1
¼
SO
2
¼
C
∞
. Equivalently,
these are the position eigenstates for a particle moving on a
circle; the basis elements may be denoted
fj
φ
i
;
φ
∈
½
0
;
2
π
Þ¼
U
1
g
, with continuum normalization
h
φ
j
φ
0
i¼
δ
ð
φ
−
φ
0
Þ
. A dual basis is provided by the angular-
momentum eigenstates (also known as
“
rotational states
”
)
fj
l
i
;
l
∈
Z
g
, where
h
φ
j
l
i¼ð
1
=
ffiffiffiffiffiffi
2
π
p
Þ
e
i
l
φ
and, hence,
h
l
j
l
0
i¼
δ
ll
0
.
Noise might rotate the system, applying an operator
ˆ
X
φ
0
¼
e
−
i
φ
0
ˆ
L
¼
Z
U
1
d
φ
j
φ
þ
φ
0
ih
φ
j
;
ð
7
Þ
alternatively, noise might kick the angular momentum,
applying some power of the kick operator
ˆ
Z
¼
e
i
ˆ
φ
¼
X
l
∈
Z
j
l
þ
1
ih
l
j
:
ð
8
Þ
In fact, we can expand an arbitrary noise channel
E
acting
on the density operator
ρ
of the planar rotor in terms of a
complete basis of operators, where each element of the
basis is a product of an
ˆ
X
φ
operator and an
l
th power of the
ˆ
Z
operator:
E
ð
ρ
Þ¼
Z
U
×
2
1
d
φ
d
φ
0
X
l
;
l
0
∈
Z
E
ll
0
φφ
0
ˆ
X
φ
ˆ
Z
l
ρ
ˆ
Z
l
0
†
ˆ
X
†
φ
0
:
ð
9
Þ
Above, the expansion coefficients
E
ll
0
φφ
0
are such that
E
is a
quantum channel. Our goal is to encode a finite-dimen-
sional logical system in the infinite-dimensional Hilbert
space of the rotor, where this logical system is protected
against any error
ˆ
X
φ
ˆ
Z
l
where both
φ
and
l
are sufficiently
small. In other words, if
ρ
consists of states in the logical
(also known as code) subspace, and if
E
is expanded using
ALBERT, COVEY, and PRESKILL
PHYS. REV. X
10,
031050 (2020)
031050-8
only such
correctable
ˆ
X
φ
ˆ
Z
l
, then we are able recover the
original
ρ
from
E
ð
ρ
Þ
. Otherwise, recovery may not be
possible, and logical information stored in
ρ
may become
corrupted.
A. A protected qubit
For example, the two orthonormal basis states of a
protected qubit can be chosen to be [see Fig.
2(a)
]
j
̄
0
i¼
1
ffiffiffi
3
p
j
φ
¼
0
iþ
φ
¼
2
π
3
þ
φ
¼
4
π
3
;
ð
10a
Þ
j
̄
1
i¼
1
ffiffiffi
3
p
φ
¼
π
3
þj
φ
¼
π
iþ
φ
¼
5
π
3
:
ð
10b
Þ
Both basis states are eigenstates with eigenvalue 0 of
ˆ
φ
modulo
π
=
3
. Suppose that
j
̄
ψ
i
is an arbitrary state in the
code space spanned by
j
̄
0
i
and
j
̄
1
i
. If an error occurs which
causes
φ
to shift by
δφ
∈
½
−
π
=
6
;
π
=
6
, we can unambig-
uously diagnose the error by measuring
ˆ
φ
modulo
π
=
3
.
Once
δφ
is known, we can correct the error by applying a
unitary transformation that shifts
φ
by
−
δφ
, restoring the
state of the rotor to the initial undamaged state
j
̄
ψ
i
.
Alternatively, we may expand the basis states of the code
in the angular-momentum eigenstate basis, finding
1
ffiffiffi
2
p
ðj
̄
0
iþj
̄
1
iÞ ¼
ffiffiffi
3
π
r
X
s
∈
Z
j
l
¼
6
s
i
;
ð
11a
Þ
1
ffiffiffi
2
p
ðj
̄
0
i
−
j
̄
1
iÞ ¼
ffiffiffi
3
π
r
X
s
∈
Z
j
l
¼
6
s
þ
3
i
:
ð
11b
Þ
Both basis states are eigenstates with eigenvalue 0 of
ˆ
L
modulo 3. Suppose an error occurs which causes the
angular momentum to shift by
δ
l
∈
f
−
1
;
0
;
1
g
. We can
unambiguously diagnose the error by measuring
ˆ
L
modulo
3. Once
δ
l
is known, we can correct the error by applying a
unitary transformation that shifts
l
by
−
δ
l
. Furthermore
(see below),
ˆ
φ
modulo
π
=
3
and
ˆ
L
modulo 3 are compatible
observables that can be measured simultaneously.
Therefore, we can correct any combination of shifts in
φ
and
l
, as long as the shift in
φ
is no larger than
π
=
6
and
the shift in
l
is no larger than 1.
The code basis states in Eqs.
(10)
and
(11)
are not
normalizable and, therefore, unphysical. However, we may
replace the position eigenstates in Eq.
(10)
by narrow wave
packets; then, the sum over
s
in Eq.
(11)
is modulated by a
broad envelope function. In that case, the code states are
physical, and the nice error-correction properties we note
still hold, up to negligibly small corrections.
Our main task in this paper is to generalize this code
construction, in various directions. For that purpose, it is
convenient to have other ways to describe the code.
Our first alternative description uses the stabilizer
language
[138,141]
.
1. Stabilizer formalism
A
stabilizer code
may be characterized as the simulta-
neous eigenspace with eigenvalue 1 of a set of commuting
unitary operators, called the
stabilizer generators
. For the
code specified by Eqs.
(10)
and
(11)
, we may choose these
operators to be
ˆ
S
Z
≡
ˆ
Z
6
¼
e
i
6
ˆ
φ
;
ˆ
S
X
≡
ˆ
X
2
π
=
3
¼
e
−
i
ð
2
π
=
3
Þ
ˆ
L
:
ð
12
Þ
To check that these operators commute, recall the relation
e
i
ˆ
φ
ˆ
Le
−
i
ˆ
φ
¼
ˆ
L
−
1
and the identity
ˆ
Xe
α
ˆ
L
ˆ
X
†
¼
e
α
ˆ
X
ˆ
L
ˆ
X
†
for
any unitary
ˆ
X
and scalar
α
.
ˆ
S
Z
and
ˆ
S
X
are the code
’
s
check
operators
, which we can measure to diagnose errors. Note
that measuring
ˆ
S
Z
is equivalent to measuring
ˆ
φ
modulo
π
=
3
and that measuring
ˆ
S
X
is equivalent to measuring
ˆ
L
modulo 3, as we assert earlier, and that we can perform
these measurements simultaneously because
ˆ
S
Z
and
ˆ
S
X
commute.
Furthermore, we note that the operators
̄
Z
≡
ˆ
Z
3
¼
e
i
3
ˆ
φ
;
̄
X
¼
ˆ
X
π
=
3
¼
e
−
i
ð
π
=
3
Þ
ˆ
L
ð
13
Þ
also commute with the stabilizer generators, which means
that these are
logical operators
which preserve the
code space. We see also that
̄
Z
and
̄
X
anticommute and
that they square to the identity on the code space, where
ˆ
S
Z
¼
ˆ
S
X
¼
1
. Thus,
̄
Z
and
̄
X
may be regarded as the logical
Pauli operators acting on the encoded qubit, where
̄
Z
is
diagonal in the basis
fj
̄
0
i
;
j
̄
1
ig
and
̄
X
is diagonal in the
conjugate basis
fð
1
=
ffiffiffi
2
p
Þðj
̄
0
ij
̄
1
iÞg
.
2. CSS construction
We may also describe our protected qubit using the
language of CSS codes
[138,141]
. In the CSS construction,
a quantum error-correcting code is built from a classical
error-correcting code K and a subcode H
⊂
K.
In the case of the protected qubit with basis states
(10)
,
the code K is a six-state system embedded in the infinite-
dimensional Hilbert space of the rotor, with the six states
corresponding to six equally spaced angular positions of
the rotor, rotated by
φ
¼ð
2
π
=
6
Þ
k
,
k
∈
f
0
;
1
;
...
;
5
g
, relative
to a standard reference orientation. This classical system is
protected against errors that shift the rotor slightly, rotating it
through an angle
δφ
∈
½
−
π
=
6
;
π
=
6
. The subcode H has three
states, with orientations
φ
¼ð
2
π
=
3
Þ
k
,
k
∈
f
0
;
1
;
2
g
, and
protects against rotations which are twice as large:
δφ
∈
½
−
π
=
3
;
π
=
3
. In the associated quantum code, each
of the basis states
(10)
is a uniform superposition of all the
elements of a
coset
of H in K, the trivial coset (the elements
of H) for the basis state
j
̄
0
i
, and the nontrivial coset for the
ROBUST ENCODING OF A QUBIT IN A MOLECULE
PHYS. REV. X
10,
031050 (2020)
031050-9
basis state
j
̄
1
i
. The protection of this qubit against shifts of
the rotor is inherited from the corresponding property of the
classical code K.
There is a dual description of this quantum code, making
use of the angular-momentum basis of the rotor rather than
its position basis. The classical code H
⊥
, dual to H,
contains all angular-momentum eigenstates where
l
is
an integer multiple of 3. These two classical codes are
dual in the sense that the representations of the group U
1
contained in H
⊥
represent the elements of H trivially.
Similarly, the classical code K
⊥
dual to K contains all
angular-momentum eigenstates where
l
is an integer
multiple of 6, those representations which represent K
trivially. Evidently, K
⊥
is a subcode of H
⊥
. For the
quantum code, each basis state in Eq.
(11)
is a uniform
superposition of all the elements of a coset of K
⊥
in H
⊥
,
the trivial coset for the basis state
1
=
ffiffiffi
2
p
ðj
̄
0
iþj
̄
1
iÞ
, and the
nontrivial coset for the basis state
1
=
ffiffiffi
2
p
ðj
̄
0
i
−
j
̄
1
iÞ
. The
classical code H
⊥
protects against shifts of the angular
momentum by
δ
l
∈
f
−
1
;
0
;
1
g
, and the quantum code
inherits this property.
Viewed as an abstract group, the code K is the subgroup
Z
6
of U
1
, and H is the subgroup Z
3
⊂
Z
6
. The construction
can be easily generalized to K
¼
Z
dN
and H
¼
Z
N
, where
d
and
N
are positive integers, in which case the quantum code
is
d
-dimensional. In the stabilizer language, this more
general code has stabilizer generators
ˆ
S
Z
¼
ˆ
Z
dN
;
ˆ
S
X
¼
ˆ
X
2
π
=N
:
ð
14
Þ
Its logical operators
̄
Z
¼
ˆ
Z
N
;
̄
X
¼
ˆ
X
2
π
=dN
ð
15
Þ
are generalized Pauli operators, obeying the Heisenberg-
Weyl commutation relation
̄
Z
̄
X
¼
e
i
ð
2
π
=d
Þ
̄
X
̄
Z
. This quan-
tum code protects against position shifts by
δφ
with
j
δφ
j
<
ð
π
=dN
Þ
and momentum kicks by
δ
l
with
j
δ
l
j
≤
ð
N
−
1
Þ
=
2
(for odd
N
). Note the trade-off: Increasing
N
improves the
protection against angular-momentum kicks but weakens
the protection against rotations.
3. Partial Fourier transform
There is yet another way to describe the code construc-
tion, using the notion of a
partial Fourier transform
, which
is helpful as we seek further generalizations. Recall that the
position and angular-momentum bases for the planar rotor
are related by Fourier transforming:
j
l
i¼
Z
π
−
π
d
φ
j
φ
ih
φ
j
l
i¼
1
ffiffiffiffiffiffi
2
π
p
Z
π
−
π
d
φ
j
φ
i
e
i
l
φ
;
ð
16a
Þ
j
φ
i¼
X
l
∈
Z
j
l
ih
l
j
φ
i¼
1
ffiffiffiffiffiffi
2
π
p
X
l
∈
Z
j
l
i
e
−
i
l
φ
:
ð
16b
Þ
It is useful to imagine that the above integral over
φ
is
carried out in two steps. We write
φ
¼
a
þð
2
π
=N
Þ
h
,
where
a
∈
ð
−
π
=N;
π
=N
and
h
∈
f
0
;
1
;
...
;N
−
1
g
; then,
integrating
φ
from
−
π
to
π
is equivalent to integrating
a
from
−
π
=N
to
π
=N
and summing H from 0 to
N
−
1
.
Likewise, we can do the sum over
l
in two steps; we write
l
¼
Ns
þ
λ
, where
s
∈
Z and
λ
∈
f
0
;
1
;
...
;N
−
1
g
, and
we separate the infinite sum over
s
from the finite sum over
λ
. When we speak of a
“
partial Fourier transform,
”
we mean
performing one of these two steps without the other.
By performing the sum over H but not the integral over
a
, we obtain a new orthonormal basis
j
a
;
λ
i
≡
1
ffiffiffiffi
N
p
X
h
∈
Z
N
e
i
ð
2
π
=N
Þ
λ
h
φ
¼
a
þ
2
π
N
h
¼
e
−
i
λ
a
ffiffiffiffiffiffi
N
2
π
r
X
s
∈
Z
e
−
iNsa
j
l
¼
Ns
þ
λ
i
;
ð
17
Þ
with normalization
h
a
;
λ
j
a
0
;
λ
0
i¼
δ
ð
a
−
a
0
Þ
δ
λλ
0
. From now
on, the presence of a semicolon inside a ket declares that ket
to be an element of this basis.
This
fj
a
;
λ
ig
basis is convenient for our purposes,
because shifts in position or angular momentum affect
only one of the two indices. A shift in angular momentum
by
δ
l
acts on the basis according to
j
a
;
λ
i
→
j
a
;
ð
λ
þ
δ
l
Þ
mod
N
ið
18
Þ
(up to a phase), shifting
λ
→
λ
þ
δ
l
modulo
N
. A shift in
position by
δφ
shifts
a
→
a
þ
δφ
modulo
2
π
=N
:
j
a
;
λ
i
→
ð
a
þ
δφ
Þ
mod
2
π
N
;
λ
:
ð
19
Þ
To recover our previous code construction, we choose
d
basis states
fj
̄
k
ig
with
λ
¼
0
and
a
¼ð
2
π
=dN
Þ
k
, finding
j
̄
k
i¼
2
π
dN
k
;0
¼
1
ffiffiffiffi
N
p
X
h
∈
Z
N
φ
¼
2
π
dN
k
þ
2
π
N
h
¼
ffiffiffiffiffiffi
N
2
π
r
X
s
∈
Z
e
−
i
ð
2
π
=d
Þ
sk
j
l
¼
Ns
i
:
ð
20
Þ
If an error occurs in which
j
δ
l
j
≤
ð
N
−
1
Þ
=
2
(for odd
N
)
and
j
δφ
j
<
ð
π
=dN
Þ
, we diagnose the error by performing a
measurement which determines the value of
λ
and also the
value of
a
(mod
2
π
=dN
). Then, the value of
a
unambig-
uously identifies the shift in
φ
, and the value of
λ
unambiguously identifies the shift in
l
. Once known, these
shifts can be corrected to recover the initial undamaged
code states.
The orientation label
φ
of the planar rotor can be viewed
as the element of the group U
1
describing the rotation
which reaches
φ
starting from a standard initial orientation.
ALBERT, COVEY, and PRESKILL
PHYS. REV. X
10,
031050 (2020)
031050-10
The basis
fj
a
;
λ
ig
for the rotor
’
s Hilbert space reflects a
decomposition of U
1
which may be written symbolically as
U
1
≅
U
1
=
Z
N
×
c
Z
N
:
ð
21
Þ
That is,
a
labels an element of U
1
=
Z
N
(a coset of Z
N
in U
1
),
and
λ
labels an element of
c
Z
N
(an irreducible representation
of Z
N
). Our error-correction procedure makes use of a finer
decomposition:
U
1
≅
U
1
=
Z
dN
×Z
dN
=
Z
N
×
c
Z
N
:
ð
22
Þ
The correctable rotation error is an element of U
1
=
Z
dN
, the
correctable angular-momentum kick is an element of
c
Z
N
,
and code basis states correspond to elements of Z
dN
=
Z
N
.
We use similar decompositions in our constructions of
quantum codes for more general groups.
B. Gates, recovery, and initialization
To use the above codes for quantum computation on
multiple encoded rotors, we need to initialize in the code
subspace, execute quantum gates, and perform the meas-
urement-based error correction described above. For these
tasks, we need operators other than the Pauli-type operators
ˆ
X
φ
(7)
and
ˆ
Z
l
(8)
. As is typical of quantum codes, there is
an
“
easy
”
subset of all possible operators that aid us in the
above tasks in a reasonably fault-tolerant manner. For U
1
rotors, such
normalizer
or
symplectic
operations are gen-
erated by certain quadratic functions of the rotors
’
positions
and momenta
[142,143]
.
1. Symplectic operations
Single-rotor symplectic operations include unitary
operators generated by Hamiltonians that are polynomials
in angular momentum of at most degree 2. The quadratic-
phase operator
QUAD
φ
¼
e
−
i
φ
ˆ
L
ð
ˆ
L
þ
1
Þ
=
2
(with angle
φ
∈
U
1
)
maps
ˆ
Z
→
ˆ
X
φ
ˆ
Z;
ð
23
Þ
while commuting with position shifts
ˆ
X
φ
(also generated
by
ˆ
L
). The analogous two-rotor
“
conditional-phase
”
operator
CPHS
φ
¼
e
−
i
φ
ˆ
L
⊗
ˆ
L
[cf.
[123]
,Eq.
(23)
] commutes
with
ˆ
X
φ
⊗
1
and
1
⊗
ˆ
X
φ
but maps
ˆ
Z
⊗
1
→
ˆ
Z
⊗
ˆ
X
φ
and
1
⊗
ˆ
Z
→
ˆ
X
φ
⊗
ˆ
Z:
ð
24
Þ
Another operation is the conditional rotation
CROT
≡
e
−
i
ˆ
φ
⊗
ˆ
L
¼
Z
U
1
d
φ
j
φ
ih
φ
j
⊗
ˆ
X
φ
;
ð
25
Þ
shifting the position of the second rotor by
φ
, conditioned
on the first rotor being at position
φ
. This maps
ˆ
X
φ
⊗
1
→
ˆ
X
φ
⊗
ˆ
X
φ
and
1
⊗
ˆ
Z
→
ˆ
Z
†
⊗
ˆ
Z
ð
26
Þ
while acting trivially on
ˆ
Z
⊗
1
and
1
⊗
ˆ
X
φ
.
The
QUAD
and
CPHS
operations can be realized by
turning on Hamiltonians quadratic in angular momenta
for a specified amount of time [cf. Eq.
(4)
]. The
CROT
operation, however, cannot be obtained from the
“
Hamiltonian
”
H
¼
ˆ
φ
⊗
ˆ
L
, because such an H would
not be invariant under
2
π
rotations of the first rotor and,
therefore, would not be single valued. (A similar problem
plagues the Hamiltonian
ˆ
φ
, present in the exponent of
ˆ
Z
,
while
ˆ
φ
2
is not single valued even when exponentiated.) To
produce such an operator in the lab, one can consider
adapting implementations of the related oscillator phase
operator to rotors
[89,90]
(see Sec.
III A
).
2. Logical gates
The above symplectic operations, for certain
φ
, perform
logical Clifford operations on the encoded qudits. The gate
QUAD
2
π
=dN
2
performs a logical qudit rotation mapping
̄
Z
→
XZ
(up to a phase), while
CPHS
2
π
=dN
2
and
CROT
act as
entangling gates.
In the case of a logical qubit (
d
¼
2
) with logical
operators
̄
Z
¼
ˆ
Z
N
and
̄
X
¼
ˆ
X
π
=N
(15)
, the symplectic
operations producing the above logical transformations
act on the rotor positions
φ
1
;
2
and momenta
l
1
;
2
as follows:
QUAD
π
=N
2
∶
φ
→
φ
−
π
N
2
l
þ
c;
l
→
l
;
CPHS
π
=N
2
∶
φ
1
→
φ
1
−
π
N
2
l
2
;
l
1
→
l
1
;
φ
2
→
φ
2
−
π
N
2
l
1
;
l
2
→
l
2
;
CROT
∶
φ
1
→
φ
1
l
1
→
l
1
−
l
2
;
φ
2
→
φ
2
þ
φ
1
;
l
2
→
l
2
;
ð
27
Þ
with constant
c
¼ð
π
=
2
Þð
N
−
1
=N
2
Þ
(cf. Sec. IX in
Ref.
[1]
). We assume in Eq.
(27)
that
φ
and
l
simulta-
neously have definite values, which makes sense for an
encoded state assuming that
φ
and
l
are sufficiently small.
These transformations do not amplify correctable position
and momentum shifts into uncorrectable ones, and a small
overrotation or underrotation in the implementation of one
of the logical gates introduces only correctable errors, not
logical errors. In this sense, the logical gates are fault
tolerant.
The above symplectic operations do not provide a
universal set of logical operations. One way to upgrade
to such a set is to include unitaries generated by the logical
operators
f
̄
X;
̄
Z
g
themselves. The gates
e
i
φ
ð
̄
X
þ
H
:
c
:
Þ
and
e
i
φ
0
ð
̄
Z
þ
H
:
c
:
Þ
allow for arbitrary single-qudit rotations, while
e
i
φ
00
ð
̄
X
⊗
̄
X
þ
H
:
c
:
Þ
allows for arbitrary logical
XX
rotations.
Such gates are, however, not fault tolerant, as fluctuations
ROBUST ENCODING OF A QUBIT IN A MOLECULE
PHYS. REV. X
10,
031050 (2020)
031050-11
in the
φ
’
s produce undetectable errors. One can also
consider using Hamiltonians that are cubic (or higher) in
angular momenta.
3. Diagnosis and recovery
A shift in the position by
δφ
and momentum by
δ
l
maps
logical states
j
̄
k
i
→
jð
2
π
=dN
Þ
k
þ
δφ
;
δ
l
i
(up to a phase).
To diagnose the errors, we need to measure
ˆ
φ
mod
2
π
=dN
and
ˆ
L
mod
N
. Once this
error syndrome
is known, we can
undo the damage by applying
ˆ
X
†
δφ
(7)
and
ˆ
Z
δ
l
†
(8)
to the
corrupted logical states.
To measure
ˆ
φ
mod
2
π
=dN
, we need an ancilla that can
resolve all possible values of this syndrome while revealing
no information about the protected encoded state. One way
to extract the syndrome is to encode the ancilla using the
same code that protects the data
[144]
. Specifically, we
may prepare an ancillary rotor in the logical-
X
eigenstate
j
̄
0
X
i
, a uniform superposition of the position eigenstates
fj
φ
¼ð
2
π
=dN
Þ
k
0
i
;k
0
¼
0
;
1
;
...
;dN
−
1
g
, which is, there-
fore, invariant under the rotation
φ
→
φ
þð
2
π
=dN
Þ
.
Applying the
CROT
gate
(25)
to a noisy logical state and
a noiseless ancilla yields
CROT
2
π
dN
k
þ
δφ
;
δ
l
⊗
j
̄
0
X
i
¼
2
π
dN
k
þ
δφ
;
δ
l
⊗
ˆ
X
δφ
j
̄
0
X
i
:
ð
28
Þ
The ancilla can then be measured in the
fj
φ
ig
basis, and the
measured value modulo
2
π
=dN
determines the shift
δφ
.If
the ancilla is noisy or the measurement is imperfect, then
the extracted value of
δφ
is likewise noisy; nevertheless, if a
fresh supply of ancilla rotors is continuously available, this
recovery procedure with high likelihood prevents small
displacements of the data rotor from accumulating to
produce an uncorrectable logical error.
To measure
ˆ
L
mod
N
, we need an ancilla that can resolve
the
N
values of the syndrome. In this case, we could
initialize an ancilla rotor in the state
j
φ
¼
0
i
and apply
CPHS
2
π
=N
to the data and ancilla rotors. This gate rotates the
ancilla by
ð
2
π
=N
Þ
δ
l
, and the value of
δ
l
can, therefore, be
extracted by measuring the ancilla in the position basis.
Since the syndrome takes discrete values, some noise
resilience is built into the procedure
—
δ
l
is determined
by rounding off the measured value of
φ
to the nearest
multiple of
2
π
=N
.
Since we need only to resolve a discrete number of
momentum syndrome values, a discretized version of the
above scheme using a qunit ancilla works just as well. Let
fj
h
z
i
;h
∈
Z
N
g
be the position states of the qunit, and
initialize the qunit in the state
j
0
z
i
. Then apply the
entangling gate
CPHS
0
≡
X
l
∈
Z
j
l
ih
l
j
⊗
X
l
;
ð
29
Þ
where
X
satisfies
X
j
h
z
i¼j
h
þ
1
z
i
(modulo
N
) and
X
N
is
the identity. This process yields
CPHS
0
2
π
dN
k
þ
δφ
;
δ
l
⊗
j
0
z
i¼
2
π
dN
k
þ
δφ
;
δ
l
⊗
j
δ
l
z
i
;
ð
30
Þ
and measuring the qunit in the position basis then reveals
the syndrome.
4. Initialization
The above error-correction procedures can equivalently
be used to initialize in certain logical states. For example,
consider one rotor initialized in
j
φ
¼
0
i
, coupled to an
ancillary qunit initially in
j
0
z
i
. Applying
CPHS
0
yields
CPHS
0
j
φ
¼
0
i
⊗
j
0
z
i
∝
X
λ
∈
Z
N
j
0;
λ
i
⊗
j
λ
z
i
:
ð
31
Þ
Measuring the ancilla in the
j
h
z
i
basis to obtain a particular
λ
¼
λ
⋆
collapses the rotor state to
j
0;
λ
⋆
i
. Applying a
momentum kick
ˆ
Z
λ
⋆
†
then produces the logical state
j
̄
0
i¼j
0; 0
i
(20)
, thereby completing the initialization.
Analogous initialization schemes use the position syn-
drome measurement.
V. MOLECULAR CODES
By a
“
molecular code,
”
we mean a finite-dimensional
subspace of the infinite-dimensional Hilbert space of a
rigid body in three dimensions (also known as a
“
rigid
rotor
”
). To define a basis for this infinite-dimensional
Hilbert space, we imagine fixing a coordinate system in
the laboratory, pinning the body
’
s center of mass, and
specifying the orientation of the body relative to a standard
initial configuration in this fixed coordinate system. For a
molecule with no symmetries, the possible orientations
are in one-to-one correspondence with the elements of the
3D special orthogonal group SO
3
; thus, we may choose
the
“
position
”
basis
fj
R
i
;R
∈
SO
3
g
. This correspondence
between group elements and orientations of the body
follows the same logic as in our discussion of the planar
rotor in Sec.
IV
, where we identify position-basis eigen-
states with elements of U
1
.
If the body has symmetries, using a group element to
specify the orientation becomes redundant, and the position
basis should be refined accordingly. For example, if there is
an axis of symmetry (as for a diatomic molecule composed
of two distinct nuclei), the body is invariant under the U
1
subgroup of rotations about the symmetry axis, and the
possible orientations are in one-to-one correspondence
with the coset space SO
3
=
U
1
, which is equivalent to the
ALBERT, COVEY, and PRESKILL
PHYS. REV. X
10,
031050 (2020)
031050-12