Professional Documents
Culture Documents
The Penrose Tiling Is A Quantum Error-Correcting Code: (Hilbert Space)
The Penrose Tiling Is A Quantum Error-Correcting Code: (Hilbert Space)
I. INTRODUCTION
(Hilbert space)
behavior; one cannot distinguish them by inspecting a ∀ |ξ⟩ , |ξ ′ ⟩ ∈ C that are normalized (where TrK c means
finite region, no matter how large it is. In this paper, we tracing over HK c ). If the space C is spanned by states
will make use of a stronger, quantitative version of lo- |ψi ⟩, then Eq. (1) is equivalent to
cal indistinguishability: not only do all finite patches in
T appear in T ′ and vice versa, but the relative frequen- TrK c |ψi ⟩ ⟨ψj | = ⟨ψj |ψi ⟩ ρK , ∀i, j. (2)
cies of different finite patches are also the same. In fact,
the relative frequencies can be calculated solely from the Here, it is crucial that ρK (an operator in HK ) is inde-
inflation rule, see appendix C for details. pendent of i and j. In the above criteria, {|ψi ⟩} could
Another important feature is local recoverability: the be unnormalized, non-orthogonal or over-complete. For
pattern in any finite region K can be uniquely recovered a proof, see appendix A. We emphasize that the states
from the pattern in the complementary region K c . This being protected are not limited to the “basis” states |ψi ⟩,
is because one can extend the Ammann lines from K c but can also be arbitrary quantum superpositions of such
into K, thus recovering the Ammann lines on the whole states, namely, any states in C.
plane, and hence recovering the whole PT. With this background, we are now ready to construct
Note that these are properties of the geometric con- the PT QECC, capable of correcting arbitrary erasures
figurations, and should not be confused with the local and errors in any finite spatial region K.
indistinguishability and recovery in QECCs, which are
properties of the quantum states. Nevertheless, as the
key point of this paper, we will leverage these classical B. Constructing the PT QECC
properties to construct quantum states that are indeed
quantum error-correcting. We consider the set of Penrose tilings T . If T denotes
a particular PT in T , then gT denotes the PT obtained
from T by the 2D Euclidean transformation (translation
III. THE PENROSE TILING AS A QECC and/or rotation) g, and [T ] = {gT } denotes the equiva-
lence class of all PTs that are equivalent to T up to 2D
In this section, we show how the PT yields a QECC. Euclidean transformations.
We begin with a brief, informal introduction to QECCs. We can regard a tiling T as a state |T ⟩ in a quan-
(For more, see appendix A.) tum mechanical Hilbert space H. Dividing the plane
R2 into any spatial region K and the complementary
region K c divides the tiling T into the corresponding
portions TK and TK c which lie in K and K c , respec-
A. QECCs: A Brief Introduction
tively. This induces a decomposition of the Hilbert space
H = HK ⊗ HK c , and a corresponding decomposition
Suppose the quantum information we want to protect of the state |T ⟩ = |T ⟩K |T ⟩K c , where |T ⟩K ∈ HK and
are quantum states in the Hilbert space H0 . A QECC |T ⟩K c ∈ HK c only depend on TK and TK c , respectively.
works by storing this state with a carefully chosen type If two tilings T and T ′ are distinct (and here we mean
of redundancy so that certain errors can be identified and distinct in the presence of an absolute reference frame, so
corrected. More precisely, the Hilbert space H0 of “bare” that even two tilings that merely differ by an overall Eu-
or “logical” quantum states is “encoded” by embedding clidean transformation are distinct in general) they are
it in an enlarged Hilbert space H as a carefully chosen represented by orthogonal states in H:
subspace C, called the code space.
In this paper, the errors that can be corrected will be ⟨T ′ |T ⟩ = δ(T ′ , T ), (3)
the erasure of any arbitrary finite spatial region K. As a
result, arbitrary errors in K will also be correctable. It is and similarly, if T and T ′ are distinct in K (i.e. if TK ̸=
′
a fundamental fact [10, 11] that the erasure of region K TK ), then |T ⟩K and |T ′ ⟩K are orthogonal in HK .
is correctable if and only if K contains no logical infor- For each equivalence class [T ] define the wavefunction
mation, i.e., if and only if the various states in the code
space C are indistinguishable in K: see Eq. (1) below.
Z
Moreover, note that the spatial region K is not fixed: we |Ψ[T ] ⟩ = dg |gT ⟩ , (4)
could decompose the whole space into the union of many
such K’s, each satisfying the QECC condition and con- where we superpose over all Euclidean transformations g,
taining no information. Hence, in a QECC, the quantum so |Ψ[T ] ⟩ only depends on [T ], see Fig. 3 for illustration.
information is stored in a “global” way. The main claim of this paper is that the states |Ψ[T ] ⟩
Thinking of H as HK ⊗ HK c (where HK and HK c are form an orthogonal basis for the code space C ⊂ H of a
the Hilbert spaces for K and the complementary region QECC that corrects arbitrary errors or erasures in any
K c ), indistinguishability says that: finite region K.
To understand the claim, let us check the criterion
TrK c |ξ⟩ ⟨ξ| = TrK c |ξ ′ ⟩ ⟨ξ ′ | (1) Eq. (2) for a QECC. In our case, Eqs. (3, 4) imply that
4
FIG. 3. An illustration for the wavefunction Eq. (4). Given an (infinite) Penrose tiling T , each term on the right-hand side
represents a Euclidean transformed version of the original tiling, denoted by gT . Here, four patches are drawn from the same
tiling T , serving to illustrate the relative translations and rotations among the gT ’s.
(n)
• any pattern of Ai inside a disk of radius rn =
√ (n) 6
Θ((1+ 2)n ) (∝ the linear size of Ai ) also appears For loop configurations, local recoverability means one can de-
7
sense that the wavefunction cannot be prepared by finite- states |T ⟩ and |gT ⟩ are only distinguishable in the pres-
depth geometrically-local unitary circuits [33]. ence of an absolute reference frame. However, one of the
On the other hand, while the toric code can correct era- central ideas underlying Einstein’s theory of gravity is
sures even if the erased region is noncontiguous and com- the principle of general covariance which, physically, as-
parable in total to the size of the torus (as long as it does serts that there is no such absolute reference frame (and,
not contain topologically nontrivial loops); our finite-size mathematically, asserts that diffeomorphism invariance
toric construction in Sec. V and the proof therein relies is an exact gauge symmetry of the laws of nature). In
on the fact that the errors are contained in a single con- other words, if one asks where the “Penrose tiling mi-
tiguous region (whose size again scales linearly with the crostate” is situated in space then, in order to respect
system size). Another difference is that our code space diffeomorphism invariance, the answer must be: it is in a
cannot be realized as the space of ground states of any superposition of all possible ways it could be situated –
local Hamiltonian. To see this, note that in Eq. (4), we i.e. it is precisely in one of our code states Eq. (4)! (iii)
could insert a configuration-dependent phase factor and Third, the intrinsic phase ambiguity about how to super-
define pose microstates in this way – i.e. the freedom to define
Z the inequivalent bases {|Ψ[T ] ⟩} vs {|Ψ̃[T ] ⟩}, correspond-
|Ψ̃[T ] ⟩ = dgeiθ(gT ) |gT ⟩ . (11) ing to an infinite number of distinct, inequivalent ways
to embed the code space C in the larger Hilbert space
H – seems to reflect the fact that in spacetime there is
Following a similar calculation, |Ψ̃[T ] ⟩ has the same re- an intrinsic ambiguity (again due to diffeomorphism in-
duced density matrix ρK as |Ψ[T ] ⟩ for any finite region variance) about how to define the “zero particle state” in
K. Therefore, any local Hamiltonian must have the same that spacetime, leading to an infinite number of inequiv-
energy on |Ψ[T ] ⟩ and |Ψ̃[T ] ⟩. One might try to enlarge alent vacuum states (which is one way to understand e.g.
the code space C by including {|Ψ̃[T ] ⟩} as additional ba- the phenomenon of Hawking radiation from a black hole
sis vectors, but this does not work, since then super- [35, 36]). (iv) Fourth, it is natural to wonder whether the
positions of |Ψ[T ] ⟩ and |Ψ̃[T ] ⟩ no longer have the same analogous QECC built from the four-dimensional Elser-
reduced density matrix ρK . In this regard, the construc- Sloane tiling [37] (the beautiful and essentially unique
tion Eq. (4) might be better considered as a ground state 4D cousin of the 2D Penrose tiling [29], which can be ob-
for the matching rule under a gauge constraint imposing tained by taking a maximally-symmetric 4D slice of the
translational invariance. remarkable 8-dimensional E8 root lattice) might provide
It will be interesting to revisit the question of how a particularly interesting model for 4D spacetime.
best to create such QECCs in the lab, implement error
correction algorithms, and carry out encoding, decoding,
and logical operations in this context. ACKNOWLEDGMENTS
To end on a more speculative note, we mention sev-
eral hints suggesting that the PT QECC discussed here We thank Hilary Carteret, Timothy Hsieh, and Beni
may capture something about quantum gravity, and the Yoshida for their helpful discussions. We also want to
way that the quantum gravitational microstates under- thank Hilary Carteret [38] and David Chester [39] for
lying a spacetime related to (or encode) that spacetime. bringing to our attention their very creative works (which
(i) First, it has been realized that the holographic pic- are independent of one another, and orthogonal to the
ture of quantum gravity in hyperbolic space [15] is itself topic and approach in this paper) suggesting possible
a kind of quantum error correcting code [16]; and, more- connections between topological quantum computation
over, that when one discretizes the hyperbolic space on and quasicrystals. Research at Perimeter Institute is sup-
a tiling that preserves a large discrete subgroup of its ported in part by the Government of Canada through the
original isometry group [17], this tiling naturally decom- Department of Innovation, Science and Economic Devel-
poses into a stack of Penrose-like (or Fibonacci-like) ape- opment and by the Province of Ontario through the Min-
riodic tilings [34]. (ii) Second, as emphasized above, the istry of Colleges and Universities.
[1] Roger Penrose, “The role of aesthetics in pure and ap- [2] Martin Gardner, “Extraordinary nonperiodic tiling that
plied mathematical research,” Bull. Inst. Math. Appl. 10, enriches the theory of tiles,” Scientific American 236,
266–271 (1974). 110–121 (1977).
[3] Michael Baake and Uwe Grimm, Aperiodic order , Vol. 1
(Cambridge University Press, 2013).
[4] D. Shechtman, I. Blech, D. Gratias, and J. W. Cahn,
termine the parities of the intersection numbers even if a local
region of the loop is erased; and local indistinguishability means
“Metallic phase with long-range orientational order and
the pattern of the loop inside a local region says nothing about no translational symmetry,” Phys. Rev. Lett. 53, 1951–
the global topology (or linking number parities) of the loop. 1953 (1984).
8
[5] Luca Bindi, Paul J Steinhardt, Nan Yao, and Peter J Lu, Lundqvist (World Scientific, 1990, Singapore) pp , 182–
“Natural quasicrystals,” Science 324, 1306–1309 (2009). 199 (1990).
[6] Lincoln S Hollister, Luca Bindi, Nan Yao, Gerald R [24] Dov Levine and Paul J. Steinhardt, “Quasicrystals. i. def-
Poirier, Christopher L Andronicos, Glenn J MacPherson, inition and structure,” Phys. Rev. B 34, 596–616 (1986).
Chaney Lin, Vadim V Distler, Michael P Eddy, Alexan- [25] D. Jaksch, J. I. Cirac, P. Zoller, S. L. Rolston, R. Côté,
der Kostin, et al., “Impact-induced shock and the forma- and M. D. Lukin, “Fast quantum gates for neutral
tion of natural quasicrystals in the early solar system,” atoms,” Phys. Rev. Lett. 85, 2208–2211 (2000).
Nature Communications 5, 4040 (2014). [26] Jerome Lloyd, Sounak Biswas, Steven H. Simon, S. A.
[7] Luca Bindi, Matthew A Pasek, Chi Ma, Jinping Hu, Parameswaran, and Felix Flicker, “Statistical mechan-
Guangming Cheng, Nan Yao, Paul D Asimow, and ics of dimers on quasiperiodic ammann-beenker tilings,”
Paul J Steinhardt, “Electrical discharge triggers qua- Phys. Rev. B 106, 094202 (2022).
sicrystal formation in an eolian dune,” Proceedings of the [27] O Entin-Wohlman, M Kléman, and A Pavlovitch, “Pen-
National Academy of Sciences 120, e2215484119 (2023). rose tiling approximants,” Journal de Physique 49, 587–
[8] Luca Bindi, William Kolb, G Nelson Eby, Paul D Asi- 598 (1988).
mow, Terry C Wallace, and Paul J Steinhardt, “Acci- [28] Joshua ES Socolar, “Simple octagonal and dodecagonal
dental synthesis of a previously unknown quasicrystal in quasicrystals,” Physical Review B 39, 10519 (1989).
the first atomic bomb test,” Proceedings of the National [29] Latham Boyle and Paul J. Steinhardt, “Coxeter pairs,
Academy of Sciences 118, e2101350118 (2021). ammann patterns, and penrose-like tilings,” Phys. Rev.
[9] Peter W. Shor, “Scheme for reducing decoherence in B 106, 144113 (2022).
quantum computer memory,” Phys. Rev. A 52, R2493– [30] S. E. Burkov, “Absence of weak local rules for the planar
R2496 (1995). quasicrystalline tiling with the 8-fold rotational symme-
[10] A.Y. Kitaev, A. Shen, M.N. Vyalyi, and M.N. Vyalyi, try,” Communications in Mathematical Physics 119, 667
Classical and Quantum Computation, Graduate studies – 675 (1988).
in mathematics (American Mathematical Society, 2002). [31] Michel Duneau, “Approximants of quasiperiodic struc-
[11] Michael A Nielsen and Isaac L Chuang, Quantum compu- tures generated by the inflation mapping,” Journal of
tation and quantum information (Cambridge university Physics A: Mathematical and General 22, 4549 (1989).
press, 2010). [32] A. I. Goldman and R. F. Kelton, “Quasicrystals and
[12] A Yu Kitaev, “Fault-tolerant quantum computation by crystalline approximants,” Rev. Mod. Phys. 65, 213–230
anyons,” Annals of physics 303, 2–30 (2003). (1993).
[13] Sergey Bravyi, Matthew B Hastings, and Spyridon [33] S. Bravyi, M. B. Hastings, and F. Verstraete, “Lieb-
Michalakis, “Topological quantum order: stability under robinson bounds and the generation of correlations and
local perturbations,” Journal of mathematical physics topological quantum order,” Phys. Rev. Lett. 97, 050401
51, 093512 (2010). (2006).
[14] Bei Zeng, Xie Chen, Duan-Lu Zhou, Xiao-Gang Wen, [34] Latham Boyle, Madeline Dickens, and Felix Flicker,
et al., Quantum information meets quantum matter “Conformal quasicrystals and holography,” Phys. Rev.
(Springer, 2019). X 10, 011009 (2020).
[15] Juan Maldacena, “The large-N limit of superconformal [35] Nicholas David Birrell and Paul Charles William Davies,
field theories and supergravity,” International journal of Quantum fields in curved space (Cambridge university
theoretical physics 38, 1113–1133 (1999). press, 1984).
[16] Ahmed Almheiri, Xi Dong, and Daniel Harlow, “Bulk lo- [36] Viatcheslav Mukhanov and Sergei Winitzki, Introduc-
cality and quantum error correction in ads/cft,” Journal tion to quantum effects in gravity (Cambridge university
of High Energy Physics 2015, 1–34 (2015). press, 2007).
[17] Fernando Pastawski, Beni Yoshida, Daniel Harlow, and [37] Veit Elser and Neil JA Sloane, “A highly symmetric four-
John Preskill, “Holographic quantum error-correcting dimensional quasicrystal,” Journal of Physics A: Mathe-
codes: Toy models for the bulk/boundary correspon- matical and General 20, 6161 (1987).
dence,” Journal of High Energy Physics 2015, 1–55 [38] Hilary Carteret, “Quasi-topological quantum error cor-
(2015). rection codes,” PIRSA video archive (2017).
[18] Robert Ammann, Branko Grünbaum, and Geoffrey C [39] Marcelo Amaral, David Chester, Fang Fang, and Klee
Shephard, “Aperiodic tiles,” Discrete & Computational Irwin, “Exploiting anyonic behavior of quasicrystals for
Geometry 8, 1–25 (1992). topological quantum computing,” Symmetry 14, 1780
[19] F Beenker, “Algebraic theory of non-periodic tilings of (2022).
the plane by two simple building blocks: a square and a [40] Emanuel Knill and Raymond Laflamme, “Theory of
rhombus, eut report,” WSK, Dept. of Mathematics and quantum error-correcting codes,” Phys. Rev. A 55, 900–
Computing Science, Eindhoven University of Technology 911 (1997).
(1982). [41] Marston Morse and Gustav A. Hedlund, “Symbolic dy-
[20] Branko Grünbaum and Geoffrey Colin Shephard, Tilings namics,” American Journal of Mathematics 60, 815–866
and patterns (Courier Dover Publications, 1987). (1938).
[21] Marjorie Senechal, Quasicrystals and geometry (CUP [42] Monsieur Lothaire, Algebraic combinatorics on words,
Archive, 1996). Vol. 90 (Cambridge university press, 2002).
[22] Leonid S Levitov, “Local rules for quasicrystals,” Com-
munications in mathematical physics 119, 627–666
(1988).
[23] Joshua ES Socolar, “Locality constraints and 2d
quasicrystals,” Quasicrystals, eds. MV Jarifi and S.
9
Following Ref. [10], one way to formulate the defining PTs can be uniquely reconstructed from their Am-
property for a quantum code (by definition, a subspace mann lines. The reconstruction is based on the following
C ⊆ H) to correct arbitrary errors in a region K is that, observations:
for any operators O1 and O2 acting on K and any two
orthogonal states |ξ1 ⟩ , |ξ2 ⟩ ∈ C, we have: • Two Ammann lines intersect at angle π/5 if and
only if the intersection is the midpoint of a single-
O1 |ξ1 ⟩ ⊥ O2 |ξ2 ⟩ . (A1) arrow edge. This is because Ammann bars in the
interior of a tile never intersect at π/5.
Under this condition, two distinct (orthogonal) states are
still distinct (orthogonal) after errors, so that in principle • Two single-arrow edges meet at angle 4π/5 if and
the pre-error states can be identified and reconstructed only if they belong to the same thin rhombus.
from the post-error states, and hence the name quantum Hence, we can first bisect all π/5 angles and recover
error correcting code (QECC). Indeed, it is well known all single-arrow edges (their directions can also be recov-
that the above definition is equivalent to either of the ered via Ammann lines). Then we find all points where
following properties [40], as mentioned in the main text: two single-arrow edges meet at 4π/5 and recover all thin
• (quantum recoverability) there exists a quantum rhombi. Thick rhombi are then automatically recovered.
channel R such that R(TrK |ξ⟩ ⟨ξ|) = |ξ⟩ ⟨ξ| for
∀ |ξ⟩ ∈ C;
2. Ammann-Beenker tilings
• (quantum indistinguishability) TrK c |ξ⟩ ⟨ξ| is inde-
pendent of |ξ⟩ ∈ C. Similarly, AB tilings can also be reconstructed from
their Ammann lines. Indeed, in an AB tiling, rhombi are
Colloquially speaking, the erasure of a certain region is in one-to-one correspondence with intersections of Am-
correctable if and only if the region contains no logical mann lines at angle π/4 such that there are no more in-
quantum information. tersections within a distance of 1/2 (in units of the side
Now we prove the criteria Eq. (2) used in the main text length of the rhombi). To reconstruct, one first finds all
– namely, a subspace C spanned by vectors |ψi ⟩ (possi- such intersections and recovers all rhombi. All squares
bly unnormalized, non-orthogonal, or over-complete) is a then automatically appear, and their orientations may
QECC capable of correcting erasure of K if and only if also be determined from the Ammann lines.
The periodic version of the AB tiling in Sec. V can be
TrK c |ψi ⟩ ⟨ψj | = ⟨ψj |ψi ⟩ ρK , ∀i, j. (A2) reconstructed in a similar fashion.
Proof. It is clear that Eq. (A1) is equivalent to:
3. Fibonacci Quasicrystals
⟨ξ1 |O|ξ2 ⟩ = 0 (A3)
for ∀ |ξ1 ⟩ ⊥ |ξ2 ⟩ and ∀O acting on K. Equivalently, A 1D Fibonacci quasicrystal, represented as a bit
string {an }, is generated (given a γ ∈ R\Z) by √
calcu-
TrK c |ξ2 ⟩ ⟨ξ1 | = 0, ∀ |ξ1 ⟩ ⊥ |ξ2 ⟩ . (A4) 5−1
lating the decimal part of τ n + γ (here τ = 2 ) as
follows [41]:
To show Eq. (A4) from Eq. (A2), we just expand |ξ1 ⟩ (
and |ξ2 ⟩ using the basis {|ψi ⟩}. For the opposite direc- 1, if τ n + γ ∈ [1 − τ, 1) (mod1)
tion, picking an orthonormal basis {|ξm ⟩} for C and ap- an = (B1)
0, if τ n + γ ∈ [0, 1 − τ ) (mod1),
plying Eq. (A4) to |ξm ⟩±|ξn ⟩, we find that TrK c |ξm ⟩ ⟨ξm |
must be m-independent, denoted by ρK . Eq. (A2) is then or
proved from Eq. (A4) and the above fact by decomposing (
|ψi ⟩ and |ψj ⟩ in the {|ξm ⟩} basis. 1, if τ n + γ ∈ (1 − τ, 1] (mod1)
an = (B2)
0, if τ n + γ ∈ (0, 1 − τ ] (mod1).
Appendix B: Local Recoverability
The two cases of γ ≡ τ n (mod1) (n ∈ Z) are singular,
which we exclude. For the nonsingular case, Eq. (B1)
In this section, we show that Penrose tilings and and Eq. (B2) coincide.
Ammann-Beenker tilings can be uniquely recovered from
their Ammann lines, and nonsingular Fibonacci qua- Lemma 1. If the set {τ ni (mod1)} is dense in the unit
sicrystals can be uniquely recovered from the complement circle R/Z for a subset of integers {ni }, then {ani } de-
of any finite region. termines γ (mod1).
10
Proof. Suppose γ ̸= γ ′ . By the density of {τ ni (mod1)}, of inflation, the number of “L”s and “S”s are given by
we can find an ni such that 1−τ ∈ (τ ni +γ, τ ni +γ ′ ) (also (xn , yn )T = M1n (x0 , y0 )T . In the n → ∞ limit, the rel-
mod 1). This implies ani ̸= a′ni , a contradiction. ative frequencies are determined by the eigenvector of
M (1) corresponding to the unique largest eigenvalue (the
Now, for any {ni } that is the complement of a finite “Perron-Frobenius eigenvector”):
subset, {τ ni (mod1)} is always dense. Hence any finite
√ √
region (finite substring) of the 1D Fibonacci quasicrystal 5−1 3− 5
can be uniquely determined from its complement. ν1 (L) = , ν1 (S) = . (C2)
2 2
There is another, more algorithmic proof. The basic
idea is that, if we are given a 1D Fibonacci quasicrystal To calculate the relative frequencies of length-2 sub-
except for a finite “hole,” we can use the deflation process strings, we construct the induced substitution matrix as
to “repair” the hole: we perform the deflation operation follows. For each legal length-2 string ω ∈ {LL, LS, SL}
on as much of the tiling as we can (i.e. everywhere except (no SS), we construct the inflation ω ′ of ω (so ω ′ is
in the immediate vicinity of the hole); and then iterate LSLS, LSL or LLS, respectively), and then we list the
this deflation process. After a finite number of deflations, first k (overlapping) length-2 strings in ω ′ , where k is the
the “hole” has become comparable to (or smaller than) number of symbols in the inflation of the first digit of
the size of the new supertiles produced by the deflation, ω (so k is 2, 2 and 1, respectively). This gives us the
and may be repaired (uniquely recovered) from knowl- induced inflation rule:
edge of its neighborhood. For more details, see appendix
E 3 b (while the proof there is for a finite version, it can (LL) → {(LS), (SL)}
be modified straightforwardly for the infinite case). (LS) → {(LS), (SL)} (C3)
(SL) → {(LL)},
bonacci inflation rule (1, 0) → (10, 1) n successive times, Geometrically, such a construction amounts to taking the
we obtain a cyclic bit string F (n) . The length of F (n) is Cartesian product of two 1D point sets (each living on a
|F (n) |= k0 fn + k1 fn+1 , where k0 and k1 are the number circle) to construct a 2D point set (living on a torus).
of 0s and 1s in F (0) , and fn is the nth Fibonacci num- Now simply taking the Cartesian product of two wave-
ber (defined by the recurrence fn = fn−1 + fn−2 and the functions in Eq. (E1), we get a qudit wavefunction in 2D,
initial values f0 = f1 = 1). where for example
Such finite strings share similar properties as the fi-
nite AB tilings in Sec. V. They locally resemble genuine 1 3 2 3
× |101⟩ = . (E3)
infinite Fibonacci strings and are mutually locally indis- 0 1 0 1
tinguishable:
Local indistinguishability and local recoverability for 1D
• any length fn+1 substring of F (n) is also a substring bit strings guarantee that such 2D states span a quan-
of a genuine infinite Fibonacci string and vice versa; tum error-correcting code space such that errors in any
squares of side length fn + 1 can be corrected.
• the number of appearances of any length fn+1 sub-
string K in F (n) only depends on k0 , k1 and K (in
other words, it is independent of the details of F (0) 3. Proofs
once k0 and k1 are fixed).
Moreover, there is also a remnant of local recoverability: a. Indistinguishability
given the knowledge of k0 and k1 , an erased contiguous
region K of F (n) such that |K|≤ fn + 1 can be recovered Proposition 2. For a string K of length fn+1 , its num-
from F (n) \K, up to a single 01 swapping in K, which ber of occurrences in F (n) only depends on K, k0 , k1 .
corresponds to7 a single 01 swapping in F (0) .
Now we can construct a QECC as follows. We fix This claim is parallel to Prop.1 and a similar proof
(k0 , k1 , n) and pick a set of cyclic strings F, such that also works here. Here, we give an alternative proof that
(1) each F (0) ∈ F contains k0 0s and k1 1s; (2) swapping gives a better constant, and also motivates the recovery
any adjacent 1 and 0 in any string F (0) , the new string is algorithm in appendix E 3 b.
no longer in the set F. For any F (0) ∈ F, define the state
(n) Proof. We prove the claim by induction. The case of
|ΨF (0) ⟩ as the superposition of all translations of F (n) : n = 0 is obvious: f0+1 = 1, so we only consider single
digits. The number of appearance of K = 0 (or K = 1)
|F (n) |
(n)
X in F (0) is exactly k0 (or k1 ) by definition.
|ΨF (0) ⟩ ∝ |x + F (n) ⟩ . (E1) For n ≥ 1, we can relate the number of appearances
x=1
of K in F (n) to the number of appearance of another
Local indistinguishability and local recoverability substring in F (n−1) . More precisely, we define its “parent
(proved below) again guarantee that the above states string” D(K), so that for any F (0) the multiplicity of K
span the code space C of a QECC such that errors in in F (n) equals the multiplicity of D(K) in F (n−1) :
any contiguous region |K|≤ fn + 1 can be corrected.
#K in F (n) = #D(K) in F (n−1) (∀F (0) ). (E4)
(4)
b. Recoverability
FIG. 7. Proof of |D(K)|≤ fn when |K|= fn+1 . The blue Proposition 3. If k0 , k1 and n are known, a string F (n)
/green/orange intervals denote Qn+1 , Qn , K respectively.
can be recovered after erasing a contiguous region K ⊂
|K|= |Qn+1 |= fn+1 , |Qn |= fn . Depending on the position
F (n) of length |K|= fn + 1, up to a single 01 swap in K,
of K in F (n) , there are four cases.
corresponding to a single 01 swap in F (0) .
This claim is a finite version of the one in Sec. B 3.
is evident by construction that the above defined D(K) Here, we give an algorithmic proof, which complements
satisfies Eq. (E4). the existence proof there. The main idea is to perform lo-
From Eq. (E4), the desired property for string K at cal deflation as much as possible, trying to recover digits
level n is equivalent to the same property for its parent in the “initial layer” F (0) .
string D(K) at level (n − 1). Therefore, the induction is
concluded by the following lemma. Lemma 4 (single digit recovery by deflation). To recover
a digit in F (0) by deflation, it is enough to know fn+2 − 1
Lemma 3. For any string K of length fn+1 that could digits starting from the left endpoint of its descendant
appear in F (n) (here n ≥ 1), its parent string satisfies substring (supercell) in F (n) .
|D(K)|≤ fn .
Proof of lemma 4. By induction. The case of n = 1 is ob-
th vious: fn+2 − 1 = 2, and indeed knowing 2 digits start-
Proof. We denote the n inflation of 0 as Qn , which is
ing from the left endpoint of its inflation is enough to
also the (n − 1)th inflation of 1. |Qn |= fn . By consid-
determine the parent digit. For larger n, by the above
ering the length, we know |K|= fn+1 implies that K ⊂
n = 1 case, to determine a single digit F (0) , it is enough
Qn+1 Qn+1 or Qn+1 Qn or Qn Qn+1 or Qn+1 Qn Qn+1 . Re-
if we have determined 2 digits in F (1) starting from the
call that to find D(K) from K, one just needs one step
left endpoint of its inflation. A sufficient condition is to
of deflation, which is a local procedure.
know the fn digits in F (n) corresponding to the descen-
1. Case Qn+1 Qn+1 . Following the notation in Fig. 7, dant of the first digit (must be 1), as well as fn+1 − 1
we decompose K as ab. If we move b to the left of a, digits (by induction) to determine the second digit. Note
then ba = Qn+1 . Deflation is locally well-defined, that fn + fn+1 − 1 = fn+2 − 1, so we are done.
hence performing deflation on ab is equivalent to
that on Qn+1 8 . So |D(K)|≤ |Qn |= fn . Proof of Prop.3. Let ai denote the ith digit in F (0) , so
F (0) = [· · · a0 a1 a2 · · ·], and let Pi denote the descendant9
2. Case Qn+1 Qn . Note that Qn can be regarded as the of ai in F (n) . |Pi |= fn if ai = 0 and |Pi |= fn+1 if
initial fn digits of Qn+1 , so the problem is reduced ai = 1. The assumption |K|≤ fn + 1 implies that K
to the case Qn+1 Qn+1 . at most intersects two pieces, say K ⊂ P1 ∪ P2 . Since
3fn ≥ fn+2 − 1, Lemma 4 implies that all digits can be
3. Case Qn Qn+1 . Note that Qn Qn+1 is exactly the determined by deflation except a−1 , a0 , a1 , a2 . Moreover,
same as Qn+1 Qn except the last two digits (where the relative position of K in P−1 ∪ P0 ∪ P1 ∪ P2 can also
0 and 1 are swapped). If K does not include any be determined.
of the two digits, or if K includes both digits, then If K does not include the rightmost digit of P2 , then
we are in the case of Qn+1 Qn . If K only includes a2 can be determined (simply by looking at the last digit
one of the two digits, then the start and end of K of P2 ), and we are left with a−1 , a0 , a1 and K\P2 ⊂ P1 .
are the same. One can check that, regardless of If K includes the rightmost digit of P2 , then since fn+2 −
whether it is 0 or 1, we always have |D(K)|= |Qn |. 1 + fn + 1 ≤ 4fn for n ≥ 1, lemma 4 implies that a−1 can
also be determined by deflation. Therefore, in any case,
we are always left with at most three unknown digits
8
(we redefine them as a0 , a1 , a2 ) and an unknown region
More precisely: if a starts with 1 and b ends with 0, or if a starts
with 0(which implies that b ends with 1), then D(ab) and Qn are
related by the same move; if a starts with 1 and b ends with 1,
then D(ab) is 1 digit less that Qn . Also note that D(Qn+1 ) does
not always equals Qn . For example, when n = 2, Qn+1 = 101, 9 Someone reconstructing F (0) does not know the locations of the
Qn = 10, but D(K) = 1. Pi a priori, but learns their locations via the recovery process.
14
K ⊂ P1 P2 , |K|≤ fn + 1, where K includes the rightmost n, then the entropy of ρK , which equals the entanglement
digit of P2 . entropy between K and K c , is bounded by:
If a0 = 1, then |P0 |+|P1 |+|P2 |≥ fn+1 + 2fn = fn+2 −
1 + fn + 1, hence lemma 4 implies that we can actually S(n) ≤ log p(n). (F1)
determine a0 by deflation. Therefore, a0 can be deter-
mined in any case: either directly by deflation, or if this It turns out that p(n) = n + 1 for 1D Fibonacci qua-
simple method fails, it must be 0. sicrystals [3], hence
Now we are left with only two unknown digits a2 , a3 in
F (0) . With the knowledge of k0 and k1 , we can determine S(n) = O(log n). (F2)
the set {a2 , a3 }. If {a2 , a3 } = {0} or {1}, we are done. If
{a2 , a3 } = {0, 1}, then we have an ambiguity of a single Actually, the substring frequencies of 1D Fibonacci
01 swap. quasicrystals can be calculated exactly. Based on an
observation in Ref. [42], we can inductively (full proof
omitted) prove that
Appendix F: Entanglement Entropy
Proposition 4. If n ∈ [fk−1 , fk − 1], then among the
It is standard in condensed matter physics and high (n + 1) possible substrings, (n − fk−1 + 1) of them have
energy physics to consider the entanglement entropy of frequency τ k , (n − fk−2 + 1) have frequency√ τ k−1 , and
many-body systems, defined as the von Neumann en- (fk − n − 1) have frequency τ k−2 (here τ = 5−1 2 ).
tropy of the reduced density matrix of subsystems. In
this Appendix, we comment on the entanglement entropy Therefore,
of the states in the code space of our QECCs, and their h
relation to the complexity function. S(n) = (n − fk−1 + 1)kτ k + (n − fk−2 + 1)(k − 1)τ k−1
We take the discrete wavefunction Eq. (9) as an exam-
ple. (Calculating the entanglement entropy for systems
i 1
+ (fk − n − 1)(k − 2)τ k−2 log( ).
with continuum degrees of freedom generally requires a τ
cut-off, or regularization.) For a subregion K of length (F3)
n, the reduced state ρK is a classical mixture of possible Hence indeed
substrings, where the coefficients are frequencies of ap-
pearance (similar to Eq. (6)). Define the complexity func- S(n) = log(n) + Θ(1). (F4)
tion p(n) as the number of possible substrings of length