This paper was converted on www.awesomepapers.org from LaTeX by an anonymous user.
Want to know more? Visit the Converter page.

Robust universal Hamiltonian quantum computing using two-body interactions

Milad Marvian Research Laboratory of Electronics, Massachusetts Institute of Technology, Cambridge, MA 02139, USA    Seth Lloyd Department of Mechanical Engineering, Massachusetts Institute of Technology, Cambridge MA 02139, USA Research Laboratory of Electronics, Massachusetts Institute of Technology, Cambridge, MA 02139, USA
(July 30, 2025)
Abstract

We present a new scheme to perform noise resilient universal adiabatic quantum computation using two-body interactions. To achieve this, we introduce a new family of error detecting subsystem codes whose gauge generators and a set of their logical operators — capable of encoding universal Hamiltonian computations — can be implemented using two-body interactions. Logical operators of the code are used to encode any given computational Hamiltonian, and the gauge operators are used to construct a penalty Hamiltonian whose ground subspace is protected against local-errors. In contrast to previous approaches, the constructed penalty Hamiltonian does not necessarily commute with the encoded computational Hamiltonians, but for our construction the undesirable effect of the penalty Hamiltonian on the computation can be compensated by a simple modification of the implemented Hamiltonians.

We also investigate whether a similar scheme can be constructed by encoding the computational Hamiltonian using only bare-logical operators of subsystem codes, to guarantee that computational Hamiltonian commutes with the penalty Hamiltonian. We prove a no-go theorem showing that restricting to two-body interactions and using any general CSS-type subsystem codes, such a construction cannot encode systems beyond an Ising chain in a transverse field. We point out that such a chain is universal for Hamiltonian-based quantum computation, but it is not universal for ground-state quantum computation.

I Introduction

A general approach to reducing the effect of noise on any system is to introduce redundancy, in such a way that the larger system is more protected against the noise. Quantum codes capable of detecting the presence of a targeted set of errors provide a systematic way of encoding an arbitrary system into a larger system which is protected against errors.

A scheme to use quantum codes to protect a Hamiltonian-based quantum computation aharonov_adiabatic_2007 ; albash2018adiabatic was introduced by Jordan, Farhi, and Shor jordan2006error . In this scheme, a quantum code that can detect the action of the system-bath interaction Hamiltonian on the system is chosen. Then, using the stabilizers of the code a penalty Hamiltonian whose ground subspace is protected against the induced errors is constructed. By construction, logical operators of any stabilizer quantum code commute with the stabilizer operators and hence with the penalty Hamiltonian. Therefore the structure of the code allows using logical operators of the code to perform arbitrary computation in the ground subspace of the penalty Hamiltonian, which penalizes any excitation out of the codespace. This approach has been generalized and its performance in non-Markovian Bookatz:2014uq and Markovian marvian2017error ; lidar2019arbitrary environments have been studied.

However, the experimental feasibility of any such scheme is heavily dependent on the required extra resources. In addition to the extra qubits, an important consideration is the type of interactions, such as locality of the interactions that need to be implemented. Even if the dominant errors on the system are one-local, a penalty Hamiltonian that is constructed using any (subspace) stabilizer codes requires at least four-local interactions jordan2006error . More generally, any commuting Hamiltonian with a ground subspace protected against one-local errors cannot be implemented using two-body interactions Marvian:2014nr . As strong controllable high-weight interactions are hard to engineer, it is important to know whether error suppression is possible using lower-weight interactions.

Going beyond commuting Hamiltonians, recently it has been shown that using subsystem codes one can construct a non-commuting two-body Hamiltonian capable of suppressing general one-local errors Jiang:2015kx ; Marvian-Lidar:16 . This reduction in the locality of the penalty Hamiltonian makes them experimentally more feasible. For example, using Josephson phase-slip qubits implementation of such a penalty Hamiltonians, with strong static two-body interactions and no local fields, can increase the effective coherence time of qubits considerably kerman2019superconducting . Keeping the penalty Hamiltonian two-local, we can ask what is the minimum locality of an encoded computational Hamiltonian. Any logical operator has to be at least two-local to be different from one-local errors. Therefore, encoding a Hamiltonian by individually replacing each qubit with its logical counterpart (block encoding), would encode a two-local interaction into a four-local interaction. Two-local constructions to embed Hamiltonians while suppressing general one-local errors have been found for limited Hamiltonians, such as an Ising chain in a transverse field Marvian-Lidar:16 .

The ground-state computation using the Ising chain in a transverse field is unlikely to be universal, but with a fast control of local fields, and therefore going out of the ground space, the chain is already powerful enough to simulate any other Hamiltonian and hence is computationally universal Benjamin:01 ; lloyd2018quantum . Until now, it has been left open whether a non-perturbative two-local construction that can encode a universal adiabatic quantum computation while suppressing one-local errors is possible. Here we answer this question affirmatively.

Here we present a subsystem code whose gauge operators, single qubit logical operators, and products of two logical operators of the same type (up to a gauge operator) are all two-local operators. Then we show how this code can be used to encode universal adiabatic quantum computations while suppressing one-local errors. Unlike previous constructions, the penalty Hamiltonians and the encoded Hamiltonians do not necessarily commute, but we will show that for our construction the undesirable effect of the penalty Hamiltonian on the computation can be compensated by a simple modification of the implemented Hamiltonians. In addition, in a no-go theorem, we show that requiring the penalty Hamiltonian to commute with the encoded Hamiltonian limits the geometry of the Hamiltonians that can be protected. In particular, we show that, using general all-two-local CSS-type subsystem codes, it is not possible to protect Hamiltonians beyond an Ising chain in a transverse field.

Introduction to subsystem codes– We first briefly review subsystem stabilizer codes poulin_stabilizer_2005 which are the generalization of subspace stabilizer codes Gottesman:1996fk . In short, subsystem stabilizer codes can be thought as subspace stabilizer codes where some of the logical qubits are not used to store information, ignoring the errors that occur on these logical qubits.

More formally, any subspace stabilizer code is defined by an Abelian group 𝒮\mathcal{S} of Pauli operators, where the codespace is the simultaneous +1 eigenstates of the group elements. The set of operators that are included in 𝒮\mathcal{S} determine the error-detecting properties of the code. Any Pauli error that anti-commutes with at least one element of 𝒮\mathcal{S} takes a codestate to a state out of the codespace and hence is a detectable error. The set of Pauli operators that are not in 𝒮\mathcal{S} but keep it invariant, 𝒞(𝒮)/𝒮\mathcal{C}(\mathcal{S})/\mathcal{S}, perform logical operations in the codespace. In subsystem codes, these operators are partitioned into two commuting set of Pauli operators: set of gauge operators 𝒜\mathcal{A} and set of logical operators \mathcal{L}. This partitioning induces a subsystem structure in the codespace ZLL:04 .

The (non-Abelian) gauge group is defined as 𝒢=𝒮,𝒜\mathcal{G}=\braket{\mathcal{S},\mathcal{A}}. Logical operators that preserve the codespace and act trivially on the gauge subsystem are called bare-logical operators, as opposed to dressed-logical operators that also preserve the codespace but can act non-trivially in the gauge subsystem.

The relaxed criterion, allowing errors to act on the gauge subsystem in the codespace, makes subsystem codes more powerful in some cases. Subsystem codes such as the Bacon-Shor code bacon2006operator ; shor1995scheme require simpler syndrome measurements, leading to surprisingly good error correction performances aliferis2007subsystem ; Napp:2013 ; li2018direct . Furthermore, it has been shown that under the locality constraint, subsystem codes can encode more information comparing to subspace codes PhysRevA.83.012320 .

To protect a given computational Hamiltonian HsH_{s} against a set of errors, we choose a subsystem code that can detect the errors. Then a (non-commuting) penalty Hamiltonian is constructed using the elements of the gauge group of the code:

Hp=gi𝒢gi.\displaystyle H_{p}=-\sum_{g_{i}\in\mathcal{G}}g_{i}\,. (1)

By construction, the ground subspace of HpH_{p} is protected against the targeted set of errors. To perform the desired computation, an encoded computational Hamiltonian H¯s\bar{H}_{s} is constructed by replacing each operator in HsH_{s} with the corresponding logical operator of the code. H¯s\bar{H}_{s} performs the desired computation in the ground subspace of the penalty Hamiltonians, which is a protected subspace against errors.

Encoding H¯s\bar{H}_{s} using bare-logical operators of a code guarantees that it commutes with the penalty Hamiltonian HpH_{p}, and hence the penalty Hamiltonian does not interfere with the computation. Constructing H¯s+EpHp\bar{H}_{s}+E_{p}H_{p} using subsystem codes, in Ref. Marvian-Lidar:16 general conditions guaranteeing protection against errors and also performance bounds have been derived. In addition, some examples of two-local Hamiltonians capable of suppressing one-local errors were introduced. One of the examples is Ising chain (without local field) in a transverse field. It was left open whether it is possible to extend such a two-local construction to encode universal Hamiltonian computation while suppressing local errors.

We first show that using bare-logical operators of any CSS subsystem code whose gauge group can be generated using two-local interactions, including the generalized Bacon-Shor subsystem codes PhysRevA.83.012320 ; yoder2019optimal , one cannot encode systems beyond the transverse field Ising chain introduced in Ref. Marvian-Lidar:16 .

Theorem 1.

Consider any nontrivial (with distance at least two) stabilizer subsystem code of CSS type with a gauge group that can be generated using XXXX and ZZZZ interactions. Then the weight of an X-type (Z-type) single-qubit bare-logical operator is lower-bounded by the number of Z-type (X-type) bare-logical operators acting on its supporting logical qubits.

Proof.

See the Supplementary Material (SM). ∎

For example, consider a subsystem code which has a set of weight-two gauge group generators, and has weight-two bare-logical operators {Z¯1,Z¯1Z¯2,Z¯1Z¯3}\{\bar{Z}_{1},\bar{Z}_{1}\bar{Z}_{2},\bar{Z}_{1}\bar{Z}_{3}\}. Then X¯1\bar{X}_{1} has to be at least three-local. Therefore even to generate bare-logical operations equivalent to a simple set of interactions such as {Z¯1,Z¯1Z¯2,Z¯1Z¯3,X¯1}\{\bar{Z}_{1},\bar{Z}_{1}\bar{Z}_{2},\bar{Z}_{1}\bar{Z}_{3},\bar{X}_{1}\} or {Z¯1Z¯2,Z¯1Z¯3,Z¯1Z¯4,X¯1}\{\bar{Z}_{1}\bar{Z}_{2},\bar{Z}_{1}\bar{Z}_{3},\bar{Z}_{1}\bar{Z}_{4},\bar{X}_{1}\}, physical interactions with a weight larger than two are required. From this we conclude that using this scheme with bare-logical encoding, one cannot go beyond the encoding of an Ising chain in a transverse field as constructed in Ref. Marvian-Lidar:16 .

Ising chain in a transverse field, with fast control on the transverse field, is already powerful enough to simulate any other Hamiltonian and hence is computationally universal Benjamin:01 ; lloyd2018quantum . But ground-state computation using the Ising chain in a transverse field is unlikely to be universal Cubitt:2016vl .111Since, for example, any Ising chain with transverse field can be efficiently converted to a stoquastic Hamiltonian.

To circumvent this limitation, we consider encoding using dressed logical operators.

A fully two-local code– Here we present a [[6k,2k,2]][[6k,2k,2]] quantum subsystem code (it encodes 2k2k logical qubits into 6k6k physical qubits and can detect arbitrary 1-local errors) with the property that a complete set of its gauge group generators, single qubit logical operators {X¯i,Z¯i}\{\bar{X}_{i},\bar{Z}_{i}\}, and also the product of any two logical operators of the same type {X¯iX¯j,Z¯iZ¯j,Y¯iY¯j}\{\bar{X}_{i}\bar{X}_{j},\bar{Z}_{i}\bar{Z}_{j},\bar{Y}_{i}\bar{Y}_{j}\} (up to a gauge operator) can all be implemented using two-body interactions. In Figure 1, the defining properties of this code are presented. In particular, the gauge group of the code is the group generated by

𝒢=XBiXRi,XLiXLi+1,ZBiZLi,ZRiZRi+1,\displaystyle\mathcal{G}=\braket{X_{B_{i}}X_{R_{i}},X_{L_{i}}X_{L_{i+1}},Z_{B_{i}}Z_{L_{i}},Z_{R_{i}}Z_{R_{i+1}}},

where 1i2k1\leq i\leq 2k. Single-qubit logical operators can be defined as X¯i=XBiXLi\bar{X}_{i}=X_{B_{i}}X_{L_{i}} and Z¯i=ZBiZRi\bar{Z}_{i}=Z_{B_{i}}Z_{R_{i}}. Product of two logical operators X¯i\bar{X}_{i} and X¯j\bar{X}_{j} becomes XBiXLiXBjXLjX_{B_{i}}X_{L_{i}}X_{B_{j}}X_{L_{j}}. Since XLiXLjX_{L_{i}}X_{L_{j}} is an element of the gauge group, the two-body interaction XBiXBjX_{B_{i}}X_{B_{j}} implements X¯iX¯j\bar{X}_{i}\bar{X}_{j} up-to a gauge operator. Similarly Z¯iZ¯j\bar{Z}_{i}\bar{Z}_{j} and Y¯iY¯j\bar{Y}_{i}\bar{Y}_{j} can be implemented using two-body interactions, up-to a gauge operator. This code can be understood as an example of Bravyi’s generalization of Bacon-Shor code  PhysRevA.83.012320 (see the SM for details), also it can be interpreted as a subsystem version of the code introduced in Ref. ganti2014family .

Refer to caption
Figure 1: Description of the [[6k,2k,2]][[6k,2k,2]] subsystem code: Blue lines represent XXXX interactions and orange lines represent ZZZZ interactions. A set of generators of the gauge group of the code are presented in right panel. A set of logical operators are presented in the left panel.

Encoding– Suppose we want to encode the following universal Hamiltonian:

Hs(t)=iaiXi+ibiZi+ijcijXiXj+ijdijZiZj.H_{s}(t)=\sum_{i}a_{i}X_{i}+\sum_{i}b_{i}Z_{i}+\sum_{ij}c_{ij}X_{i}X_{j}+\sum_{ij}d_{ij}Z_{i}Z_{j}. (2)

If we replace each operator in this Hamiltonian with the corresponding bare-logical operators of the introduced code, the resulting Hamiltonian,

H¯s(t)=iaiX¯i+ibiZ¯i+ijcijX¯iX¯j+ijdijZ¯iZ¯j,\bar{H}_{s}(t)=\sum_{i}a_{i}\bar{X}_{i}+\sum_{i}b_{i}\bar{Z}_{i}+\sum_{ij}c_{ij}\bar{X}_{i}\bar{X}_{j}+\sum_{ij}d_{ij}\bar{Z}_{i}\bar{Z}_{j}, (3)

would be at least four-local. (Implementing X¯iX¯j\bar{X}_{i}\bar{X}_{j} and Z¯iZ¯j\bar{Z}_{i}\bar{Z}_{j} require at least four-body interactions.) Instead, we implement the following two-body physical Hamiltonian:

H^s(t)\displaystyle\hat{H}_{s}(t) =\displaystyle= iaiXLiXBi+ibiZBiZRi\displaystyle\sum_{i}a_{i}X_{L_{i}}X_{B_{i}}+\sum_{i}b_{i}Z_{B_{i}}Z_{R_{i}} (4)
+\displaystyle+ ijcijXBiXBj+ijdijZBiZBj,\displaystyle\sum_{ij}c^{\prime}_{ij}X_{B_{i}}X_{B_{j}}+\sum_{ij}d^{\prime}_{ij}Z_{B_{i}}Z_{B_{j}},

where the notation of Fig. 1 is used. Later, we discuss how to choose cijc^{\prime}_{ij} and dijd^{\prime}_{ij}. Re-writing this Hamiltonian using the logical and gauge operators, we have

H^s(t)\displaystyle\hat{H}_{s}(t) =\displaystyle= iaiX¯i+ibiZ¯i\displaystyle\sum_{i}a_{i}\bar{X}_{i}+\sum_{i}b_{i}\bar{Z}_{i} (5)
+\displaystyle+ ijcijX¯iX¯jgijx+ijdijZ¯iZ¯jgijz.\displaystyle\sum_{ij}c^{\prime}_{ij}\bar{X}_{i}\bar{X}_{j}g^{x}_{ij}+\sum_{ij}d^{\prime}_{ij}\bar{Z}_{i}\bar{Z}_{j}g^{z}_{ij}.

In other words, this physical two-local Hamiltonian implements our desired computational Hamiltonian (up to some gauge operators) using dressed-logical operators of the code. Using dressed-logical operators, as opposed to bare-logical operators, we can avoid the no-go theorem.

In general, the dressed-logical operators Z¯iZ¯jgijz\bar{Z}_{i}\bar{Z}_{j}g^{z}_{ij} and X¯iX¯jgijx\bar{X}_{i}\bar{X}_{j}g^{x}_{ij} can couple the gauge subsystem and the information subsystem. Since [H^s(t),Hp]0[\hat{H}_{s}(t),H_{p}]\neq 0, the penalty Hamiltonian can interfere with our desired computation. But surprisingly, in what follows we show that in the large penalty limit this coupling effect can be easily compensated with a simple rescaling of the coefficients cijc_{ij} and dijd_{ij}.

Although in Figure 1 the qubits appear to be on a chain, the encoding described here works for Hamiltonians on a 2D lattice (see the SM). It is important to note that this scheme encodes a geometrically local Hamiltonian into geometrically local Hamiltonian.

Also note that all the constructions and derivations presented here can be extended to the case where HsH_{s} in Eq. 2, the Hamiltonian we want to protect, includes YiYjY_{i}Y_{j} interactions as well. This is a result of the fact that a logical Y¯iY¯j\bar{Y}_{i}\bar{Y}_{j} interaction can be implemented using YBiYBjY_{B_{i}}Y_{B_{j}} physical interactions.

Large penalty limit– In this section, we prove that in the large energy penalty limit, not only the system becomes decoupled from the bath, but it also faithfully performs the computation we encode. More precisely, in the Supplementary Material –without using perturbation theory– we prove that by increasing the energy penalty EpE_{p} the evolution generated by H^s(t)+EpHp+HB+HSB\hat{H}_{s}(t)+E_{p}H_{p}+H_{B}+H_{SB} becomes arbitrary close to the decoupled evolution generated by H¯s(t)+HB+EpHp\bar{H}_{s}(t)+H_{B}+E_{p}H_{p}. But here it is instructive to study the effective Hamiltonian in the limit of large EpE_{p}, using first order perturbation theory. Denoting the ground subspace of the penalty Hamiltonians HpH_{p} by Π0\Pi_{0}, and assuming that the initial state is prepared in this subspace, H^s(t)+EpHp+HB+HSB\hat{H}_{s}(t)+E_{p}H_{p}+H_{B}+H_{SB} in the large EpE_{p} limit effectively becomes Π0(H^s(t)+HB+HSB)Π0\Pi_{0}(\hat{H}_{s}(t)+H_{B}+H_{SB})\Pi_{0}.

Since HpH_{p} acts non-trivially only on the system, clearly the bath Hamiltonian HBH_{B} commutes with Π0\Pi_{0}. In what follows we will show that Π0HSBΠ0=0\Pi_{0}H_{SB}\Pi_{0}=0 and Π0H^s(t)Π0=Π0H¯s(t)Π0=Π0H¯s(t)\Pi_{0}\hat{H}_{s}(t)\Pi_{0}=\Pi_{0}\bar{H}_{s}(t)\Pi_{0}=\Pi_{0}\bar{H}_{s}(t). Combing these confirms that the effective Hamiltonian becomes Π0(H¯s(t)+HB)\Pi_{0}(\bar{H}_{s}(t)+H_{B}) which is the desired computation decoupled from the environment.

The rest of this section is devoted to prove that Π0HSBΠ0=0\Pi_{0}H_{SB}\Pi_{0}=0 and Π0H^s(t)Π0=Π0H¯s(t)\Pi_{0}\hat{H}_{s}(t)\Pi_{0}=\Pi_{0}\bar{H}_{s}(t). These two properties are consequences of the specific form of the penalty Hamiltonian, i.e., the fact that the penalty Hamiltonian does not have positive off-diagonal elements and also includes a complete set of gauge group generators.

Lemma 1.1.

Let Hp=giGgiH_{p}=-\sum_{g_{i}\in G^{\prime}}g_{i}, where GG^{\prime} is a set of X-type and Z-type gauge operators that can generate the gauge group GG. Denote the projector to ground subspace of HpH_{p} by Π0\Pi_{0}. Then

  1. 1.

    Any ground state of HpH_{p} is stabilized by the stabilizers of the subsystem code, defined as S=GCentralizer(G)S=G\cap Centralizer(G) burton2018spectra ; Bravyipriv .

  2. 2.

    Π0giΠ0\Pi_{0}g_{i}\Pi_{0} is proportional to Π0\Pi_{0}, i.e. Π0giΠ0=αiΠ0\Pi_{0}g_{i}\Pi_{0}=\alpha_{i}\Pi_{0}.

Proof.

See the Supplementary Material. ∎

The first part of the Lemma guarantees that the ground subspace of the penalty Hamiltonian is in the codespace and hence can detect any local error σα\sigma_{\alpha}, i.e. Π0σαΠ0=0\Pi_{0}\sigma_{\alpha}\Pi_{0}=0. By assumption, the system part of the interaction Hamiltonian is one-local, i.e. HSB=σαBαH_{SB}=\sum\sigma_{\alpha}\otimes B_{\alpha}, and therefore

Π0HSBΠ0=0.\displaystyle\Pi_{0}H_{SB}\Pi_{0}=0. (6)

To simplify Π0H^s(t)Π0\Pi_{0}\hat{H}_{s}(t)\Pi_{0}, we note that by definition, bare-logical operators leave the ground subspace of the penalty Hamiltonian invariant, i.e., we have [X¯i,Π0]=[Z¯i,Π0]=0[\bar{X}_{i},\Pi_{0}]=[\bar{Z}_{i},\Pi_{0}]=0, and therefore

Π0H^s(t)Π0=Π0[iaiX¯i\displaystyle\Pi_{0}\hat{H}_{s}(t)\Pi_{0}=\Pi_{0}[\sum_{i}a_{i}\bar{X}_{i} +\displaystyle+ ibiZ¯i\displaystyle\sum_{i}b_{i}\bar{Z}_{i}
+ijcijX¯iX¯jΠ0gijxΠ0\displaystyle+\sum_{ij}c^{\prime}_{ij}\bar{X}_{i}\bar{X}_{j}\Pi_{0}g^{x}_{ij}\Pi_{0} +\displaystyle+ ijdijZ¯iZ¯jΠ0gijzΠ0].\displaystyle\sum_{ij}d^{\prime}_{ij}\bar{Z}_{i}\bar{Z}_{j}\Pi_{0}g^{z}_{ij}\Pi_{0}]. (7)

The second part of Lemma 1.1 states that the effect of gauge operators in ground subspace of the penalty Hamiltonian is just a trivial energy shift: Π0gijΠ0=αijΠ0\Pi_{0}g_{ij}\Pi_{0}=\alpha_{ij}\Pi_{0}, where αij\alpha_{ij} is a scalar. Therefore, we have

Π0H^s(t)Π0\displaystyle\Pi_{0}\hat{H}_{s}(t)\Pi_{0} =\displaystyle= Π0[iaiX¯i+ibiZ¯i\displaystyle\Pi_{0}[\sum_{i}a_{i}\bar{X}_{i}+\sum_{i}b_{i}\bar{Z}_{i} (8)
+\displaystyle+ ijαijxcijX¯iX¯j+ijαijzdijZ¯iZ¯j].\displaystyle\sum_{ij}\alpha^{x}_{ij}c^{\prime}_{ij}\bar{X}_{i}\bar{X}_{j}+\sum_{ij}\alpha^{z}_{ij}d^{\prime}_{ij}\bar{Z}_{i}\bar{Z}_{j}].

Choosing cij=cijαijxc^{\prime}_{ij}=\frac{c_{ij}}{\alpha^{x}_{ij}} and dij=dijαijzd^{\prime}_{ij}=\frac{d_{ij}}{\alpha^{z}_{ij}} we get Π0H^s(t)Π0=Π0H¯s(t)Π0\Pi_{0}\hat{H}_{s}(t)\Pi_{0}=\Pi_{0}\bar{H}_{s}(t)\Pi_{0}, i.e., the effective Hamiltonian is identical to the desired Hamiltonian of Equation 3.

It is crucial that the rescaling ratios αij\alpha_{ij} are independent of the computation; they only depend on the penalty Hamiltonian. For any penalty Hamiltonian these rescaling ratios can be measured (and stored) as part of a one-time calibration process. Also these coefficient are expected to be non-vanishing (see the SM), for example for the symmetric compass model, a quantum model closely related to the Bacon-Shor code li20192d , this ratio is around 0.5 brzezicki2013symmetry .

Note that the penalty Hamiltonian can be gapless, i.e., energy gap protection against errors decreases with increasing the system size. Therefore to maintain the same level of protection, we have to scale up the interactions of the penalty Hamiltonian. For the transverse field Ising spin Chain, the gap decreases linearly with the number of qubits Marvian-Lidar:16 and for the full compass model it exhibits a power-law behavior brzezicki2013symmetry . Nevertheless, in general, the minimum gap of the computational Hamiltonian can decrease exponentially. (For example, for an adiabatic quantum optimizer with a final Hamiltonian that encodes an NP-hard problem farhi_quantum_2000 .) Therefore the polynomially decreasing gap of the penalty Hamiltonian can provide significant protection against error for a large range of system sizes.

Discussions.– Adiabatic quantum computation offers some intrinsic robustness against noise due to the energy gap in the system childs_robustness_2001 ; aharonov_adiabatic_2007 ; Lloyd:2008zr . The Hamiltonians constructed to solve NP-hard problems, such as the quantum adiabatic optimization algorithms farhi_quantum_2000 , have exponentially decreasing gaps and therefore additional methods of error suppression are desirable. In this work, we have shown how to embed and protect universal Hamiltonians against local errors, using two-body interactions. For this purpose, we introduced a new error detecting code whose logical operators capable of universal AQC have a minimum weight. Since stable two-body interactions are experimentally more accessible than higher-local interactions, we expect an immediate application of our scheme in near-term quantum devices. Furthermore, our approach shows how to use simpler two-body interactions to effectively generate protected logical interactions with higher locality, and therefore we expect our approach to be useful in developing noise-resilient perturbative gadgets.

Note added: A result similar to Theorem 1, but limited to Bravyi’s generalization of Bacon-Shor code, has been independently derived by P. Lisonek, A. Roy, and S. Trandafir using a different approach.

Acknowledgments.– We thank Daniel Lidar and Andrew Kerman for their comments on earlier versions of this manuscript. We thank Sergey Bravyi and Theodore J. Yoder for useful discussions. The research is based upon work (partially) supported by the Office of the Director of National Intelligence (ODNI), Intelligence Advanced Re- search Projects Activity (IARPA), via the U.S. Army Research Office contract W911NF-17-C-0050. The views and conclusions contained herein are those of the authors and should not be interpreted as necessarily representing the official policies or endorsements, either expressed or implied, of the ODNI, IARPA, or the U.S. Government. The U.S. Government is authorized to reproduce and distribute reprints for Governmental purposes notwithstanding any copyright annotation thereon.

References

  • (1) D. Aharonov, W. van Dam, J. Kempe, Z. Landau, S. Lloyd, and O. Regev, “Adiabatic quantum computation is equivalent to standard quantum computation,” SIAM J. Comput., vol. 37, no. 1, pp. 166–194, Jan. 2007.
  • (2) T. Albash and D. A. Lidar, “Adiabatic quantum computation,” Reviews of Modern Physics, vol. 90, no. 1, p. 015002, 2018.
  • (3) S. P. Jordan, E. Farhi, and P. W. Shor, “Error-correcting codes for adiabatic quantum computation,” Phys. Rev. A, vol. 74, no. 5, p. 052322, 11 2006. [Online]. Available: http://link.aps.org/doi/10.1103/PhysRevA.74.052322
  • (4) A. D. Bookatz, E. Farhi, and L. Zhou, “Error suppression in hamiltonian-based quantum computation using energy penalties,” Physical Review A, vol. 92, no. 2, pp. 022 317–, 08 2015. [Online]. Available: http://link.aps.org/doi/10.1103/PhysRevA.92.022317
  • (5) M. Marvian and D. A. Lidar, “Error suppression for hamiltonian quantum computing in markovian environments,” Physical Review A, vol. 95, no. 3, p. 032302, 2017.
  • (6) D. A. Lidar, “Arbitrary-time error suppression for markovian adiabatic quantum computing using stabilizer subspace codes,” arXiv preprint arXiv:1904.12028, 2019.
  • (7) I. Marvian and D. A. Lidar, “Quantum error suppression with commuting hamiltonians: Two local is too local,” Phys. Rev. Lett., vol. 113, no. 26, pp. 260 504–, 12 2014. [Online]. Available: http://link.aps.org/doi/10.1103/PhysRevLett.113.260504
  • (8) Z. Jiang and E. G. Rieffel, “Non-commuting two-local hamiltonians for quantum error suppression,” Quantum Information Processing, vol. 16, no. 4, p. 89, 2017.
  • (9) M. Marvian and D. A. Lidar, “Error suppression for hamiltonian-based quantum computation using subsystem codes,” Physical review letters, vol. 118, no. 3, p. 030504, 2017.
  • (10) A. J. Kerman, “Superconducting qubit circuit emulation of a vector spin-1/2,” New Journal of Physics, vol. 21, no. 7, p. 073030, 2019.
  • (11) S.C. Benjamin, “Simple Pulses for Universal Quantum Computation with a Heisenberg ABAB Chain,” Phys. Rev. A, vol. 64, p. 054303, 2001.
  • (12) S. Lloyd, “Quantum approximate optimization is computationally universal,” arXiv preprint arXiv:1812.11075, 2018.
  • (13) D. Poulin, “Stabilizer formalism for operator quantum error correction,” Phys. Rev. Lett., vol. 95, p. 230504, Dec 2005. [Online]. Available: http://link.aps.org/doi/10.1103/PhysRevLett.95.230504
  • (14) D. Gottesman, “Class of quantum error-correcting codes saturating the quantum hamming bound,” Phys. Rev. A, vol. 54, no. 3, p. 1862, 09 1996.
  • (15) P. Zanardi, D. A. Lidar, and S. Lloyd, “Quantum tensor product structures are observable induced,” Phys. Rev. Lett., vol. 92, p. 060402, 2004.
  • (16) D. Bacon, “Operator quantum error-correcting subsystems for self-correcting quantum memories,” Physical Review A, vol. 73, no. 1, p. 012340, 2006.
  • (17) P. W. Shor, “Scheme for reducing decoherence in quantum computer memory,” Physical review A, vol. 52, no. 4, p. R2493, 1995.
  • (18) P. Aliferis and A. W. Cross, “Subsystem fault tolerance with the bacon-shor code,” Physical review letters, vol. 98, no. 22, p. 220502, 2007.
  • (19) J. Napp and J. Preskill, “Optimal bacon-shor codes,” Quantum Info. Comput., vol. 13, no. 5-6, pp. 490–510, May 2013. [Online]. Available: http://dl.acm.org/citation.cfm?id=2481614.2481623
  • (20) M. Li, D. Miller, and K. R. Brown, “Direct measurement of bacon-shor code stabilizers,” Physical Review A, vol. 98, no. 5, p. 050301, 2018.
  • (21) S. Bravyi, “Subsystem codes with spatially local generators,” Phys. Rev. A, vol. 83, p. 012320, Jan 2011. [Online]. Available: http://link.aps.org/doi/10.1103/PhysRevA.83.012320
  • (22) T. J. Yoder, “Optimal quantum subsystem codes in two dimensions,” Physical Review A, vol. 99, no. 5, p. 052333, 2019.
  • (23) T. Cubitt and A. Montanaro, “Complexity classification of local hamiltonian problems,” SIAM Journal on Computing, vol. 45, no. 2, pp. 268–316, 2016/08/31 2016. [Online]. Available: http://dx.doi.org/10.1137/140998287
  • (24) A. Ganti, U. Onunkwo, and K. Young, “Family of [[6 k, 2 k, 2]] codes for practical and scalable adiabatic quantum computation,” Physical Review A, vol. 89, no. 4, p. 042313, 2014.
  • (25) S. Burton, “Spectra of gauge code hamiltonians,” arXiv preprint arXiv:1801.03243, 2018.
  • (26) S. Bravyi, Private communications.
  • (27) M. Li, D. Miller, M. Newman, Y. Wu, and K. R. Brown, “2d compass codes,” Physical Review X, vol. 9, no. 2, p. 021041, 2019.
  • (28) W. Brzezicki and A. M. Oleś, “Symmetry properties and spectra of the two-dimensional quantum compass model,” Physical Review B, vol. 87, no. 21, p. 214421, 2013.
  • (29) E. Farhi, J. Goldstone, S. Gutmann, and M. Sipser, “Quantum Computation by Adiabatic Evolution,” arXiv:quant-ph/0001106, Jan. 2000. [Online]. Available: http://arxiv.org/abs/quant-ph/0001106
  • (30) A. M. Childs, E. Farhi, and J. Preskill, “Robustness of adiabatic quantum computation,” Phys. Rev. A, vol. 65, no. 1, p. 012322, Dec. 2001.
  • (31) S. Lloyd, “Robustness of adiabatic quantum computing,” arXiv:0805.2757, 2008. [Online]. Available: http://arXiv.org/abs/0805.2757

Appendix A Error bound

We prove that by increasing the energy penalty EpE_{p} the evolution generated by H^s(t)+EpHp+HB+HSB\hat{H}_{s}(t)+E_{p}H_{p}+H_{B}+H_{SB} becomes arbitrary close to the decoupled evolution generated by H¯s(t)+HB+EpHp\bar{H}_{s}(t)+H_{B}+E_{p}H_{p}. To do so, we invoke the following theorem of Ref. Marvian-Lidar:16 :

Theorem 2.

(Theorem 2 in Ref. Marvian-Lidar:16 ) Let Hp=iλiΠiH_{p}=\sum_{i}\lambda_{i}\Pi_{i} be the eigen-decomposition of HpH_{p}, and the projector to the initial state be P=iΠiP=\sum_{i\in\mathcal{I}}\Pi_{i}. Denote the unitary evolutions generated by HV=H0+EpHp+VH_{V}=H_{0}+E_{\mathrm{p}}H_{\mathrm{p}}+V and HW=H0+EpHp+WH_{W}=H_{0}+E_{\mathrm{p}}H_{\mathrm{p}}+W, where W=iΠiVΠiW=\sum_{i\in\mathcal{I}}\Pi_{i}V\Pi_{i}, respectively by UVU_{V} and UWU_{W}. Assume [H0,Hp]=[H0,P]=0[H_{0},H_{p}]=[H_{0},P]=0 and denote the final time by TT. Then:

UV(T)PUW(T)P\displaystyle\left\lVert U_{V}(T)P-U_{W}(T)P\right\rVert\leq (9)
K(T)+T(V+W)\displaystyle\left\lVert K(T)\right\rVert+T(\left\lVert V\right\rVert+\left\lVert W\right\rVert) suptK(t)+Tsupt[K(t),H0(t)],\displaystyle\sup_{t}{\left\lVert K(t)\right\rVert}+T\sup_{t}\left\lVert[K(t),H_{0}(t)]\right\rVert\ , (10)

where

K(t)2EpaaVW|λaλa|.\displaystyle\left\lVert K(t)\right\rVert\leq\frac{2}{E_{\mathrm{p}}}\sum_{a\neq a^{\prime}}\frac{\left\lVert V-W\right\rVert}{|\lambda_{a}-\lambda_{a^{\prime}}|}. (11)

Our desired bound can be derived by plugging in H0=aΠaH^s(t)Πa+HBH_{0}=\sum_{a}\Pi_{a}\hat{H}_{s}(t)\Pi_{a}+H_{B}, P=Π0P=\Pi_{0}, V=aaΠaH^s(t)Πa+HSBV=\sum_{a\neq a^{\prime}}\Pi_{a}\hat{H}_{s}(t)\Pi_{a^{\prime}}+H_{SB}, and W=Π0VΠ0=Π0HSBΠ0W=\Pi_{0}V\Pi_{0}=\Pi_{0}H_{SB}\Pi_{0}.

Since V||V|| and W||W|| are independent of EpE_{p}, in the large penalty limit the evolution generated by H0+EpHp+V=H^s(t)+EpHp+HB+HSBH_{0}+E_{\mathrm{p}}H_{\mathrm{p}}+V=\hat{H}_{s}(t)+E_{\mathrm{p}}H_{\mathrm{p}}+H_{B}+H_{SB} gets close to H0+EpHp+W=aΠaH^s(t)Πa+EpHp+HB+Π0HSBΠ0H_{0}+E_{\mathrm{p}}H_{\mathrm{p}}+W=\sum_{a}\Pi_{a}\hat{H}_{s}(t)\Pi_{a}+E_{\mathrm{p}}H_{\mathrm{p}}+H_{B}+\Pi_{0}H_{SB}\Pi_{0}. As discussed in the main text, using the error detecting property of the code, we have Π0HSBΠ0=0\Pi_{0}H_{SB}\Pi_{0}=0.

Since the remaining terms all commute with the projector to the initial state, we have 𝒯exp(0T(aΠaH^s(t)Πa+EpHp+HB)𝑑t)Π0=Texp(0T(Π0H^s(t)Π0+EpHp+HB)𝑑t)Π0\mathcal{T}exp\big{(}\int^{T}_{0}(\sum_{a}\Pi_{a}\hat{H}_{s}(t)\Pi_{a}+E_{p}H_{p}+H_{B})dt\big{)}\Pi_{0}=Texp\big{(}\int^{T}_{0}(\Pi_{0}\hat{H}_{s}(t)\Pi_{0}+E_{p}H_{p}+H_{B})dt\big{)}\Pi_{0}, and hence the effective Hamiltonian is equal to Π0H^s(t)Π0+EpHp+HB\Pi_{0}\hat{H}_{s}(t)\Pi_{0}+E_{\mathrm{p}}H_{\mathrm{p}}+H_{B}. As discussed in the main text, we have Π0H^s(t)Π0=Π0H¯s(t)Π0\Pi_{0}\hat{H}_{s}(t)\Pi_{0}=\Pi_{0}\bar{H}_{s}(t)\Pi_{0} which concludes the proof.

Appendix B Spectral properties of the penalty Hamiltonian

Lemma 2.1.

Let Hp=giGgiH_{p}=-\sum_{g_{i}\in G^{\prime}}g_{i}, where GG^{\prime} is a set of X-type and Z-type gauge operators that can generate the gauge group GG. Denote the projector to ground subspace of HpH_{p} by Π0\Pi_{0}. Then

  1. 1.

    Any ground state of HpH_{p} is stabilized by the stabilizers of the subsystem code, defined as S=GCentralizer(G)S=G\cap Centralizer(G).

  2. 2.

    The ground state of HpH_{p} is exactly 2k2^{k} degenerate, where kk is the number of logical qubits of the code.

  3. 3.

    Π0giΠ0\Pi_{0}g_{i}\Pi_{0} is proportional to Π0\Pi_{0}, i.e. Π0giΠ0=ciΠ0\Pi_{0}g_{i}\Pi_{0}=c_{i}\Pi_{0}.

The observation that the ground space of the penalty Hamiltonian is in the codespace has been pointed out in Refs. burton2018spectra ; Bravyipriv . The second and third statements are appearing for the first time but are related to Lemma 5 and Proposition 7 of Ref burton2018spectra .

Proof.

First note that all the bare-logical operators and stabilizers commute with all gig_{i} and hence with HpH_{p}. We denote the eigenvalues of the Z-type bare-logical operator Z¯i\bar{Z}_{i} by zi{1,1}z_{i}\in\{-1,1\}, and denote the eigenvalues of the Z-type stabilizers SizS^{z}_{i} by si{1,1}s_{i}\in\{-1,1\}. We collectively represent the values of ziz_{i} by 𝕫\mathbb{z}, and the values of sis_{i} by 𝕤\mathbb{s}. Therefore we have

Hp=𝕫𝕤H𝕫,𝕤.\displaystyle H_{p}=\bigoplus_{\mathbb{z}}\bigoplus_{\mathbb{s}}H_{\mathbb{z},\mathbb{s}}\,. (12)

Note that HpH_{p} is independent of the Z-type bare-logical operator. Therefore if we use the sectors indexed by 𝕫\mathbb{z} to represent HpH_{p}, it becomes a block-diagonal matrix with identical blocks of

H=𝕤H𝕫,𝕤\displaystyle H=\bigoplus_{\mathbb{s}}H_{\mathbb{z},\mathbb{s}} (13)

(hence omitting the 𝕫\mathbb{z} subscript from HH). To prove the second and third statements of the lemma, we prove that the ground state of HH is non-degenerate.

In every (𝕫,𝕤)(\mathbb{z},\mathbb{s})-subspace the restricted Hamiltonian H𝕫,𝕤H_{\mathbb{z},\mathbb{s}} is an irreducible symmetric matrix with non-positive off-diagonal elements in the computational basis. Non-positivity of the off-diagonal elements follows from the fact the only terms in HpH_{p} that generate off-diagonal elements are X-type operators with negative coefficients. Since a complete set of X-type generators are included in HpH_{p}, in each (𝕫,𝕤)(\mathbb{z},\mathbb{s})-sector we can transverse from any computational state to any other computational state using a sequence of X-type gauge operators. Therefore H𝕫,𝕤H_{\mathbb{z},\mathbb{s}} is irreducible.

By Perron-Frobenius theorem 1) H𝕫,𝕤H_{\mathbb{z},\mathbb{s}} has a unique ground state in the corresponding sector and 2) the amplitudes of the ground state in each sector are positive. Since XX-type stabilizers commute with H𝕫,𝕤H_{\mathbb{z},\mathbb{s}}, we conclude that the unique ground state of H𝕫,𝕤H_{\mathbb{z},\mathbb{s}} is also an eigenvector of all XX-type stabilizers. It is the eigenvector corresponding to eigenvalue +1+1 (and not the eigenvalue 1-1), as the amplitudes of the ground state are positive, and an XX-type operator can only shuffle the amplitudes but cannot change their sign.

The first statement can be proved as follows. Since HpH_{p} can be written as a direct sum of H𝕫,𝕤H_{\mathbb{z},\mathbb{s}} terms (Eq. 12), any ground state of HpH_{p} can be written as a linear sum of ground states of H𝕫,𝕤H_{\mathbb{z},\mathbb{s}} terms. As all the XX-type stabilizers stabilize the unique ground state of each H𝕫,𝕤H_{\mathbb{z},\mathbb{s}}, they also stabilize any ground state of HpH_{p}. Replacing the role of XX and ZZ operators, we can similarly prove that any ground state of HpH_{p} is stabilized by the ZZ-type stabilizers of the code. This proves the first statement.

To prove the second statement, we note that since any ground state of HpH_{p} is stabilized by the ZZ-type stabilizers of the code, we conclude that the ground state of HH has to be in i:si=+1\forall i:\,s_{i}=+1 sector (𝕤=+1\mathbb{s}=\overrightarrow{+1}). We already established that ground state of each H𝕫,𝕤H_{\mathbb{z},\mathbb{s}}, and in particular the sectors corresponding to 𝕤=+1\mathbb{s}=\overrightarrow{+1}, is unique. Therefore we conclude that the ground state of H=𝕤H𝕫,𝕤H=\bigoplus_{\mathbb{s}}H_{\mathbb{z},\mathbb{s}} is unique.

The third statement in the lemma is a direct consequence of the fact that Π0\Pi_{0} can be written as 𝕫|ψ~0ψ~0|\bigoplus_{\mathbb{z}}|{\tilde{\psi}_{0}}\rangle\langle\tilde{\psi}_{0}| (the second statement) and the fact that gauge operators commute with all the logical operators, hence can be written as gi=𝕫gi~g_{i}=\bigoplus_{\mathbb{z}}\tilde{g_{i}}. From this we conclude that:

Π0giΠ0=𝕫|ψ~0ψ~0|gi~|ψ~0ψ~0|=ψ~0|gi~|ψ~0𝕫|ψ~0ψ~0|=ψ~0|gi~|ψ~0Π0,\displaystyle\Pi_{0}g_{i}\Pi_{0}=\bigoplus_{\mathbb{z}}|{\tilde{\psi}_{0}}\rangle\langle\tilde{\psi}_{0}|\tilde{g_{i}}|{\tilde{\psi}_{0}}\rangle\langle\tilde{\psi}_{0}|=\braket{\tilde{\psi}_{0}|\tilde{g_{i}}|\tilde{\psi}_{0}}\bigoplus_{\mathbb{z}}|{\tilde{\psi}_{0}}\rangle\langle\tilde{\psi}_{0}|=\braket{\tilde{\psi}_{0}|\tilde{g_{i}}|\tilde{\psi}_{0}}\Pi_{0}, (14)

where we have used the crucial fact that both |ψ~0\ket{\tilde{\psi}_{0}} and gi~\tilde{g_{i}} are independent of 𝕫\mathbb{z}. ∎

B.1 Remarks

By definition, bare-logical operators of any subsystem code commute with all the elements of its gauge group. This commutation relation induces a tensor structure on the full Hilbert space logicalrest\mathcal{H}\cong\mathcal{H}_{logical}\otimes\mathcal{H}_{rest} ZLL:04 . Checking this property is easy for our introduced quantum code. In the left hand side of Fig. 1 bare-logical operators are presented in the canonical form: 2k2k pairs of Pauli operators that anti-commute if they have the same index, and commute otherwise. Hence the logical operators generate the full algebra on the 2k2k logical qubits. Therefore any gauge operator, e.g. operators in the right hand side of Fig. 1, can be written as gij=U(I2kg~ij)Ug_{ij}=U(I^{\otimes 2k}\otimes\tilde{g}_{ij})U^{\dagger} for some UU.

It follows that the penalty Hamiltonian or generally any operator that is only composed of gauge operators, can be written as Hp=U(I2kH~p)UH_{p}=U(I^{\otimes 2k}\otimes\tilde{H}_{p})U^{\dagger} and the projector to the ground subspace of HpH_{p} can be written as Π0=U(I2kΠ~0)U\Pi_{0}=U(I^{\otimes 2k}\otimes\tilde{\Pi}_{0})U^{\dagger}. In general there is no constraint on the rank of Π~0\tilde{\Pi}_{0}. As was shown in Lemma 1.1, if HpH_{p} includes of a complete set of generators of the gauge group then Π~0\tilde{\Pi}_{0} has rank one. Hence,

Π0gijΠ0\displaystyle\Pi_{0}g_{ij}\Pi_{0} =\displaystyle= U(I|ψ0ψ0|g^ij|ψ0ψ0|)U\displaystyle U(I\otimes\ket{\psi_{0}}\braket{\psi_{0}|\hat{g}_{ij}|\psi_{0}}\bra{\psi_{0}})U^{\dagger} (15)
=\displaystyle= ψ0|g^ij|ψ0Π0,\displaystyle\braket{\psi_{0}|\hat{g}_{ij}|\psi_{0}}\Pi_{0}, (16)

which is the third statement of the Lemma 1.1.

The re-scaling ratio ψ0|g^ij|ψ0\braket{\psi_{0}|\hat{g}_{ij}|\psi_{0}} is upper-bounded by 11 as g^ij\hat{g}_{ij} is a Pauli operator with eigenvalues ±1\pm 1. We do not expect these values to be vanishingly small because of the following observation:

By Perron-Frobenius theorem, the ground state |ψ\ket{\psi} has only positive amplitudes. Consider an XXXX gauge operator. XX|ψXX\ket{\psi} also only has positive amplitudes. Therefore ψ|XX|ψ\braket{\psi|XX|\psi} is a sum of positive numbers, and there is no cancelation by negative numbers. (HpH_{p} is symmetric with respect to switching the role of XXXX and ZZZZ and therefore the same observation holds for ψ|ZZ|ψ\braket{\psi|ZZ|\psi}.) Indeed for a full quantum compass model, the value of XX\braket{XX} is around 0.5 brzezicki2013symmetry . (See Figure 5 of Ref. brzezicki2013symmetry , where for the symmetric compass model XX\braket{XX} is around 0.5.)

Note that the exact value of the rescaling ratio depends on the architecture of HpH_{p}, for example, whether the architecture is 1D or 2D. But for a particular architecture capable of performing universal quantum computation one might be able to analytically evaluate the rescaling ratio by designing the penalty Hamiltonian. Even if the analytical calculation is not feasible for a particular architecture, for any penalty Hamiltonian these rescaling ratios can be easily measured (and stored) as part of a one-time calibration process (by setting the computational Hamiltonian to zero and measuring the energies of the gauge operators).

Appendix C 2D Layout

The quantum code described in the main text is capable of encoding any 2D Hamiltonian. Depicting XXXX interactions by blue lines and ZZZZ interactions by orange lines the penalty Hamiltonian and logical operators are presented in Figure 2.

Refer to caption
(a) The penalty Hamiltonian
Refer to caption
(b) Logical operators
Figure 2: Configuration of the code to encode Hamiltonians defined on a 2D lattice

Appendix D The proposed code in the form of generalized Bacon-Shor code of Ref. PhysRevA.83.012320

As introduced in Ref. PhysRevA.83.012320 , any square binary matrix AA defines a generalized Bacon-Shor code. Each non-zero elements of AA represents a physical qubit. The gauge group 𝒢\mathcal{G} is generated by XaXbX_{a}X_{b} operator for each pair of qubits a,ba,b in the same row and ZaZbZ_{a}Z_{b} operators for each pair of qubits a,ba,b in the same column.

All the properties of this code can be related to properties of the AA matrix. The number of logical qubits encoded is equal to the rank of AA over 𝔽2{\mathbb{F}}_{2} and the code distance is the minimum weight of the non-zero vectors in the row space and the non-zero vectors in the column space. So we have [[n,k,d]]=[[|A|,rank(A),min{drow,dcol}]][[n,k,d]]=[[|A|,\mathrm{rank}(A),\min\{d_{\mathrm{row}},d_{\mathrm{col}}\}]], where |A||A| denotes the Hamming weight of matrix AA.

In this notation, our proposed code can be represented using the following AA matrix:

A=[110000101000100100100010100001011111](2k+1)×(2k+1).\displaystyle A=\begin{bmatrix}1&1&0&0\dots&0&0\\ 1&0&1&0\dots&0&0\\ 1&0&0&1\dots&0&0\\ \vdots&\vdots\\ 1&0&0&0...&1&0\\ 1&0&0&0...&0&1\\ 0&1&1&1...&1&1\end{bmatrix}_{(2k+1)\times(2k+1)}. (17)

To relate this matrix to the arrangement of the qubits in Figure 1, we can associate the diagonal non-zero elements in the matrix with the black qubits in Figure 1, the elements in the first column with the red qubits and the elements in the last row with the lavender qubits.

It is straightforward to check that [[n,k,d]]=[[|A|,rank(A),min{drow,dcol}]]=[[6k,2k,2]][[n,k,d]]=[[|A|,\mathrm{rank}(A),\min\{d_{\mathrm{row}},d_{\mathrm{col}}\}]]=[[6k,2k,2]].

D.1 Gauge operators in the canonical form

The code uses 6k6k physical qubits and two stabilizers. Therefore, the dimension of the codespace is 26k/22=26k22^{6k}/2^{2}=2^{6k-2}. The logical interactions X¯i=XBiXLi\bar{X}_{i}=X_{B_{i}}X_{L_{i}} and Z¯i=ZBiZRi\bar{Z}_{i}=Z_{B_{i}}Z_{R_{i}} (the left-hand side of Figure 1) define 2k2k qubits in the information subsystem. A canonical representation of the remaining 4k24k-2 qubits in the gauge subsystem can be defined using the following pairs of operators:

1i2k1\displaystyle\forall 1\leq i\leq 2k-1 :\displaystyle: XLiXLi+1,j=1iZLjZBj\displaystyle\quad X_{L_{i}}X_{L_{i+1}},\prod_{j=1}^{i}Z_{L_{j}}Z_{B_{j}} (18)
1i2k1\displaystyle\forall 1\leq i\leq 2k-1 :\displaystyle: ZRiZRi+1,XL2kij=i+12kXLjXBjXRj,\displaystyle\quad Z_{R_{i}}Z_{R_{i+1}},X^{i}_{L_{2k}}\prod_{j=i+1}^{2k}X_{L_{j}}X_{B_{j}}X_{R_{j}}, (19)

These (8k4)(8k-4) operators plus the two stabilizers generate the gauge group. Another set of 8k28k-2 generators, consists of the two-body operators {XBiXRi,XLiXLi+1,ZBiZLi,ZRiZRi+1}\{X_{B_{i}}X_{R_{i}},X_{L_{i}}X_{L_{i+1}},Z_{B_{i}}Z_{L_{i}},Z_{R_{i}}Z_{R_{i+1}}\}, depicted in the right-hand side of Figure 1.

Appendix E Example: Penalty Hamiltonian for the [[6,2,2]][[6,2,2]] code

Refer to caption
Figure 3: Description of the [[6,2,2]][[6,2,2]] subsystem code
Hp=(XL1XL2+XB1XR1+XB2XR2+ZL1ZB1+ZL2ZB2+ZR1ZR2)\displaystyle H_{p}=-(X_{L_{1}}X_{L_{2}}+X_{B_{1}}X_{R_{1}}+X_{B_{2}}X_{R_{2}}+Z_{L_{1}}Z_{B_{1}}+Z_{L_{2}}Z_{B_{2}}+Z_{R_{1}}Z_{R_{2}}) (20)

First, we define a new set of operators as follows:

(X¯1=)XL1XB1X^1\displaystyle(\bar{X}_{1}=)X_{L_{1}}X_{B_{1}}\rightarrow\hat{X}_{1} (21)
(Z¯1=)ZB1ZR1Z^1\displaystyle(\bar{Z}_{1}=)Z_{B_{1}}Z_{R_{1}}\rightarrow\hat{Z}_{1} (22)
(X¯2=)XL2XB2X^2\displaystyle(\bar{X}_{2}=)X_{L_{2}}X_{B_{2}}\rightarrow\hat{X}_{2} (23)
(Z¯2=)ZB2ZR2Z^2\displaystyle(\bar{Z}_{2}=)Z_{B_{2}}Z_{R_{2}}\rightarrow\hat{Z}_{2} (24)

which correspond to logical qubits, and

XL1XL2X^3\displaystyle X_{L_{1}}X_{L_{2}}\rightarrow\hat{X}_{3} (25)
ZL1ZB1Z^3\displaystyle Z_{L_{1}}Z_{B_{1}}\rightarrow\hat{Z}_{3} (26)
XB2XR2X^4\displaystyle X_{B_{2}}X_{R_{2}}\rightarrow\hat{X}_{4} (27)
ZR1ZR2Z^4\displaystyle Z_{R_{1}}Z_{R_{2}}\rightarrow\hat{Z}_{4} (28)

which correspond to gauge qubits, and

XL1XL2XB1XR1XB2XR2X^5\displaystyle X_{L_{1}}X_{L_{2}}X_{B_{1}}X_{R_{1}}X_{B_{2}}X_{R_{2}}\rightarrow\hat{X}_{5} (30)
ZR1Z^5\displaystyle Z_{R_{1}}\rightarrow\hat{Z}_{5} (31)
XL2X^6\displaystyle X_{L_{2}}\rightarrow\hat{X}_{6} (32)
ZL1ZL2ZB1ZR1ZB2ZR2Z^6\displaystyle Z_{L_{1}}Z_{L_{2}}Z_{B_{1}}Z_{R_{1}}Z_{B_{2}}Z_{R_{2}}\rightarrow\hat{Z}_{6} (33)

corresponding to the stabilizers and error generators. (See the previous section for the mapping for any kk).

These 66 pairs of operators with a hat are in canonical form and generate the full algebra for a 66 qubit Hilbert space. This is basically the recipe for UU in Hp=U(I2kH~p)UH_{p}=U(I^{\otimes 2k}\otimes\tilde{H}_{p})U^{\dagger}.

We can rewrite the penalty Hamiltonian using these operators as:

Hp=II(X^3X^5X^3X^4X^4Z^3Z^6Z^3Z^4Z^4)\displaystyle H_{p}=I\otimes I\otimes(-\hat{X}_{3}-\hat{X}_{5}\hat{X}_{3}\hat{X}_{4}-\hat{X}_{4}-\hat{Z}_{3}-\hat{Z}_{6}\hat{Z}_{3}\hat{Z}_{4}-\hat{Z}_{4}) (34)

One can check that indeed the ground state of H~p\tilde{H}_{p} is unique, and α=0.6667\alpha=0.6667 in this case.

Appendix F Limitations on the the algebra generated by two-local bare-logical operations in Bravyi’s subsystem codes

Here we prove that the bare-logical operations that can be performed using weight-two operators in Bravyi’s generalization of Bacon-Shor subsystem codes Ref. PhysRevA.83.012320 are limited. In particular, we show that they require bare-logical operators with weight larger than two to be able to generate logical operations equivalent to a simple set of interactions such as {Z1,Z1Z2,Z1Z3,X1}\{Z_{1},Z_{1}Z_{2},Z_{1}Z_{3},X_{1}\} or {Z1Z2,Z1Z3,Z1Z4,X1}\{Z_{1}Z_{2},Z_{1}Z_{3},Z_{1}Z_{4},X_{1}\}. Therefore, using Bravyi’s subsystem code and only using two-local interactions (with bare-logical encoding) one cannot go beyond the encoding of an Ising chain in a transverse field as constructed in Ref. Marvian-Lidar:16 .

The proof goes as follows:

  1. 1.

    First a couple of reminders from Bravyi’s original paper PhysRevA.83.012320 :

    1. (a)

      X-type logical operators and X-type stabilizers are a combination of columns of matrix A (Eq. 8 of Ref. PhysRevA.83.012320 )

    2. (b)

      Z-type logical operators and Z-type stabilizers are a combination of rows of matrix A, (Eq. 9 of Ref. PhysRevA.83.012320 )

    3. (c)

      The distance of the code is the minimum weight of columns and rows in the space of columns and rows (Theorem 2 in Ref. PhysRevA.83.012320 ). Therefore to have d>1d>1, each column and row of A have at least two non-zero elements.

  2. 2.

    We require that the bare-logical operator Z1Z_{1} and also bare-logical operators Z1Z2Z_{1}Z_{2}, Z1Z3Z_{1}Z_{3} all can be implemented using two-body interactions (each up to a ZZ-type stabilizer freedom). As the weight of each rows of A is at least two, each of these three interactions has to be a distinct row of A. (Note that an interaction described by two rows of A requires at least 4-body interaction and so on.)

  3. 3.

    Similarly a bare-logical X1X_{1} (up to a XX-type stabilizer) has to be presentable with a single columns of A. But such an interaction has to anticommute with Z1,Z1Z2,Z1Z3Z_{1},Z_{1}Z_{2},Z_{1}Z_{3}. As these three interactions are distinct rows of A, this means that a bare logical X1X_{1} has to have at least three non-zero elements in the corresponding rows! Therefore X1X_{1} cannot be two-local.

Similar argument works for {Z1Z2,Z1Z3,Z1Z4,X1}\{Z_{1}Z_{2},Z_{1}Z_{3},Z_{1}Z_{4},X_{1}\}.

F.1 No-go theorem: General CSS codes

Theorem 3.

Consider any nontrivial (d>1d>1) stabilizer subsystem code of CSS type with a gauge group that can be generated using XXXX and ZZZZ interactions. Then the weight of an X-type (Z-type) single-qubit bare-logical operator is lower-bounded by the number of Z-type (X-type) bare-logical operators acting on its supporting logical qubits.

Proof.

First, note that for any code that can detect any single error, each physical qubit has to be acted upon with at least two gauge generators with different types. Therefore for each physical qubit, there are at least two gauge generators that their action anti-commute on this qubit.

Let L¯1\bar{L}_{1} and L¯2\bar{L}_{2} be two distinct two-local bare-logical operators of the same type. We show that the support of L¯1\bar{L}_{1} and L¯2\bar{L}_{2} cannot overlap, i.e., they act on a distinct set of physical qubits.

To see this, note that, clearly, any two distinct two-local operators of the same type can at most overlap on one physical qubit (otherwise, they are not distinct!) Assume that they overlap on only one physical qubit. By definition, bare-logical operators have to commute with all the gauge operators. But this is not possible since, as discussed earlier, there always exists a weight-two gauge operator that anti-commutes with either L¯1\bar{L}_{1} or L¯2\bar{L}_{2} (there always exists a gauge operator whose action on the overlapping qubit is different from the type of L¯1\bar{L}_{1} and L¯2\bar{L}_{2}.) This leads to a contradiction and we conclude that the supports of the two bare-logical operators of the same type cannot overlap.

Suppose L¯1\bar{L}_{1} to L¯m\bar{L}_{m} are distinct two-local bare-logical operators of the same type whose actions on logical qubit aa commutes. Then implementing the single logical operator that anti-commuted with the action of all these operators on the logical qubit aa requires mm-body interaction. This trivially follows from the fact that L¯1\bar{L}_{1} and L¯2\bar{L}_{2} are supported on a non-overlapping set of qubits and the support of any operator that anti-commutes with all of them has to overlap with their support.