Quantum (Aug 2021)

Optimal local unitary encoding circuits for the surface code

  • Oscar Higgott,
  • Matthew Wilson,
  • James Hefford,
  • James Dborin,
  • Farhan Hanif,
  • Simon Burton,
  • Dan E. Browne

DOI
https://doi.org/10.22331/q-2021-08-05-517
Journal volume & issue
Vol. 5
p. 517

Abstract

Read online

The surface code is a leading candidate quantum error correcting code, owing to its high threshold, and compatibility with existing experimental architectures. Bravyi {et al.} \cite{bravyi2006lieb} showed that encoding a state in the surface code using local unitary operations requires time at least linear in the lattice size $L$, however the most efficient known method for encoding an unknown state, introduced by Dennis {et al.} \cite{dennis2002topological}, has $O(L^2)$ time complexity. Here, we present an optimal local unitary encoding circuit for the planar surface code that uses exactly $2L$ time steps to encode an unknown state in a distance $L$ planar code. We further show how an $O(L)$ complexity local unitary encoder for the toric code can be found by enforcing locality in the $O(\log L)$-depth non-local renormalisation encoder. We relate these techniques by providing an $O(L)$ local unitary circuit to convert between a toric code and a planar code, and also provide optimal encoders for the rectangular, rotated and 3D surface codes. Furthermore, we show how our encoding circuit for the planar code can be used to prepare fermionic states in the compact mapping, a recently introduced fermion to qubit mapping that has a stabiliser structure similar to that of the surface code and is particularly efficient for simulating the Fermi-Hubbard model.