Introduction

The idea of measurement-based quantum computation (MQC), where computation is carried out solely through single-qubit measurements on a fixed many-body resource state and classical feed-forward of measurement outcomes,13 is quite surprising. This is because it highlights the origins of quantum advantage in terms of entanglement and non-commutative measurements, uniquely quantum effects without counterparts in classical mechanics. In particular, so-called universal resource states, the states that are capable of efficiently implementing universal MQC, represent a class of maximal entanglement in the classification of many-body entanglement,4 so that the structure and complexity of their entanglement is of great interest for advancing the understanding of quantum computation. Following the canonical example of the two-dimensional (2D) cluster state,5 many other universal resource states have been found, including cluster states defined on various lattices,4 some tensor network states,4,610 and model ground states in condensed matter physics such as 2D Affleck-Kennedy-Lieb-Tasaki (AKLT) states.1015

Given the existence of these various known universal resource states, a natural question is whether we might be able to find any common key feature, so as to explore more their variety in fundamental structures as well as in practical applications. Although the earliest resource states for MQC were found in short-range correlated states described as somewhat artificial tensor network states,4,610 a new insight has been that a class of short-ranged entangled states structured by symmetry, endowed with so-called symmetry-protected topological order (SPTO),1624 make excellent candidate resource states systematically. Indeed, in the setting of 1D spin chains, the ground states of several SPTO phases have already been shown to possess entanglement that can be leveraged to achieve various quantum computational tasks.2531

Here, in adopting the concept of SPTO, we carry out such an investigation for the first time in 2D MQC, and discover a completely new kind of MQC universal resource state. Specifically, we first examine the 2D cluster state as well as a wide range of other universal resource states, and show that their 2D SPTO is trivial, of the same nature as that of unentangled product states. Looking more closely, we find that these previously known resource states do possess some ‘weaker’ SPTO, but essentially of a type closer to that of 1D spin chains. Our discovery is made possible owing to the recent progress of research into SPTO, which has revealed a hierarchy of SPTO as representing different levels of nonlocality of quantum information (see the next section for details). We then introduce our ‘Union Jack’ state, which in contrast possesses SPTO entirely of a 2D nature, and demonstrate that it is not only a universal resource state but additionally is ‘Pauli universal,’ in that it can implement arbitrary quantum computation using only single-qubit measurements in the Pauli bases. As elaborated later, this feature is forbidden in the 2D cluster state on account of the Gottesman-Knill theorem,32 which proves the efficient classical simulability of certain quantum gates. We will conclude with the outlook that our proof of principle result about Pauli universality may be true for more general 2D SPTO resource states, which we connect to a possible deep connection between a hierarchy of SPTO in condensed matter physics and the so-called Clifford hierarchy of quantum computation.

Results

Measurement-based quantum computation and the Clifford hierarchy

MQC is a means of utilising an entangled resource state to perform computation using (generally adaptive) single-qubit measurements. Given a particular resource state, we specify our computational process by choosing a specific pattern of single-qubit measurements. Owing to the probabilistic nature of measurement, different measurement outcomes will generally implement different computations. However, rather than attempting to correct for unintended measurement outcomes at every step, we can instead represent the effect of such outcomes as the product of our intended operation with a so-called byproduct operator. When these byproduct operators are sufficiently simple (e.g., Pauli operators), we can commute them through much of our computation, allowing disjoint measurements to be performed in parallel without adaptation of our measurement settings.

The canonical MQC resource state is the 2D cluster state,5 which is a universal resource state, in which arbitrary quantum circuits can be simulated efficiently using an appropriate sequence of arbitrary single-spin measurements.13 The 2D cluster state is formed by preparing qubit states | + X = 1 2 ( | 0 + | 1 ) on the vertices of a square lattice (with open boundary conditions), and applying entangling controlled-Z (CZ) operations, defined in the computational basis by CZ | α , β = ( 1 ) α β | α , β , between nearest-neighbour qubits. It is described by stabiliser generators,

(1) S C ( i ) = X ( i ) j neigh ( i ) Z ( j ) ,

where neigh (i) is the set of nearest neighbours of site i. An n-qubit cluster state | ψ C is the unique state satisfying S C ( i ) | ψ C = | ψ C for i=1, 2, …, n.

The Clifford hierarchy is an ordered collection of unitary gates of increasing computational generality.33 The unitary gates in the d’th level of the Clifford hierarchy C d are defined inductively, with C 1 consisting of tensor products of Pauli operators, and C d + 1 = { U | P C 1 , U P U C d } . Each level of the Clifford hierarchy represents a greater degree of quantum gate complexity in which, intuitively speaking, higher levels contain gates that are more ‘quantum’ than those in lower levels. The gates in C 2 form a group, known as the Clifford group, that preserves the group of Pauli operators under conjugation. Exploiting this fact, the Gottesman–Knill theorem32 gives an efficient means of classically simulating any poly-sized circuit composed of gates in C 2 , provided that initialisation and measurement occur in the single-qubit Pauli bases. By contrast, the gates in C 3 form a universal gate set for quantum computation.

In MQC, a stronger notion of universality for resource states is Pauli universality, where the measurements used to carry out MQC are only of single-qubit Pauli operators X, Y or Z. Although the 2D cluster state is a universal resource state, it is formed from CZ gates in C 2 and therefore can be efficiently classically simulated when only Pauli measurements are used, making the cluster state not Pauli universal.

Symmetry-protected topological order

Symmetry-protected topological order (SPTO)1624 is a many-body phenomenon arising from many-body entanglement present in quantum states invariant under a symmetry group G. Given a state defined in d spatial dimensions with a finite correlation length, we say that this state has nontrivial d-dimensional SPTO precisely when it cannot be reduced to a product state using a finite-depth quantum circuit whose gates are of constant size and commute with G. In this sense, nontrivial SPTO can be thought of as an indicator of persistent entanglement, protected by G. More generally, two d-dimensional states are said to be in different (d-dimensional) SPTO phases when they cannot be transformed into each other using such a finite-depth, symmetry-respecting quantum circuit.

Mathematically, d-dimensional SPTO phases are classified by elements of H d + 1 ( G , U ( 1 ) ) , the (d+1)’th cohomology group of G, with the identity element of the group corresponding to the trivial phase of G-invariant product states (see the Supplementary Information Section A for an introduction to group cohomology theory). For example, when G= Z 2 there is only one (trivial) 1D SPTO phase, but there are two 2D SPTO phases, one trivial and one nontrivial. Nontrivial SPTO can be detected and characterised by examining the manner in which G acts on edge degrees of freedom when a state is prepared on a manifold with boundaries.3437 Nontrivial 1D SPTO manifests as a product of individual ‘fractionalised’ degrees of freedom on the edge, which transform under projective representations of G. On the other hand, nontrivial 2D SPTO manifests in the form of long-range correlated edge modes, which transform under non-separable matrix product unitary representations of G.34 Concrete examples of this distinctive behaviour of 1D and 2D SPTO are shown in Figure 1.

Figure 1
figure 1

Manifestation of 1D and 2D SPTO in boundary symmetry operators, where X, Y, Z and CZ represent the application of the corresponding unitary operation. The transversal application of X is only a symmetry when each state is prepared on closed boundaries. Near edges of the system, the symmetry operator must be augmented with additional boundary terms that reflect the distinct nature of 1D versus 2D SPTO. (a) The cluster state is invariant under the application of X to all sites within a region with closed boundaries. When X is instead applied to a region with open boundaries (boxed area), we must add additional Z (and hence Y, whenever X and Z overlap) gates near the edges to obtain a genuine symmetry. (b) The Union Jack state is invariant under the application of X to a region with closed boundaries. When X is instead applied to a region with open boundaries (boxed area), we must add additional CZ gates near the edges to obtain a genuine symmetry. The higher-dimensional SPTO manifests here as a symmetry representation which does not factorise into disjoint unitaries, and is built from gates at a higher level of the Clifford hierarchy.

An important—and often neglected—fact is that states in d spatial dimensions can be classified not only by a label specifying its d-dimensional SPTO phase but also by other labels associated with k-dimensional SPTO, for 0≤k<d.18 We call this collection of SPTO labels the SPTO signature of a state, denoted by Ωd in d dimensions. For d=2, Ω2 has the form Ω 2 = θ 2 ; θ 1 ( x ) , θ 1 ( y ) ; θ 0 , with Θk denoting a k-dimensional SPTO label. For general d, Ωd contains ( d k ) k-dimensional SPTO labels, corresponding to the ( d k ) independent k-dimensional surfaces in d-dimensional space. When classifying phases, the Θk labels are chosen from H k + 1 ( G , U ( 1 ) ) , the collection of k-dimensional SPTO phases for symmetry G. However, as we are concerned here mainly with the existence of nontrivial SPTO, we will use an abbreviated notation where Θk=0 or 1 indicates trivial or nontrivial k-dimensional SPTO, respectively. Unlike d-dimensional labels, the lower-dimensional components of a state’s SPTO signature can be altered by a local G-symmetric quantum circuit. However, these labels are unchanged by quantum circuits that respect both on-site and lattice translational symmetries. See the Supplementary Information Section A for details about SPTO signatures.

Trivial 2D SPTO of the 2D cluster state

In this section, we determine the SPTO signature of the 2D cluster state, stated in Theorem 1.

Theorem 1. The SPTO signature of the 2D cluster state with respect to on-site ( Z 2 ) 4 symmetry is Ω 2 ( C ) = 0 ; 1 , 1 ; 0 , corresponding to trivial 2D SPTO and nontrivial 1D SPTO.

The on-site ( Z 2 ) 4 symmetry of the cluster state comes from treating a 2×2 unit cell as a single site, as shown in Figure 2a. We refer to the four qubits within a unit cell by the labels NW, NE, SE and SW. From Equation (1) , we see that the global application of X to any of these four classes of qubits preserves the cluster state stabilisers, giving the system ( Z 2 ) 4 on-site symmetry. This is the largest on-site symmetry group of the cluster state, and its SPTO phase with respect to this group sets its SPTO phase with respect to any on-site symmetry subgroup. We do not discuss SPTO of the 2D cluster state with respect to time reversal, inversion, or lattice rotations, as these symmetries would not alter Theorem 1.

Figure 2
figure 2

(a) Part of the 2D cluster state on a square lattice, with 2×2 unit cells shown. The four generators of the ( Z 2 ) 4 on-site symmetry are labelled. (b) Part of the circuit which disentangles the 2D cluster state. Solid lines indicate a CZ applied between two sites. The gate VE is shown in centre, which is the product of 6 CZ operations between sites (4, 8), (8, 12), (12, 14), (14, 10), (10, 6) and (6, 4). Also shown are portions of the VE gates directly above and below. Because of the ‘diagonal’ CZ’s of adjacent VE’s cancelling, a global tiling of these gates applies CZ between all adjacent NE and SE sites. This tiling is done in two layers, so that the gates in each layer do not overlap. By applying displaced and rotated versions of these gates, we arrive at a symmetry-respecting circuit of depth 8, which disentangles the 2D cluster state to a trivial product state.

We prove the 2D part of Theorem 1 by constructing a finite-depth quantum circuit, shown in Figure 2b, whose gates each respect the on-site symmetry of the cluster state, but which disentangles the state to a trivial product state. As the 2D component of a state’s SPTO signature is invariant under local symmetric quantum circuits,18 this suffices to prove our claim. A more careful analysis of the 2D cluster state is needed in order to prove its nontrivial 1D SPTO. In the Supplementary Information Section C, we study a projected entangled pair state (PEPS)38 representation of the cluster state, which lets us characterise the transformation of its boundary under the ( Z 2 ) 4 symmetry.37 We find that individual sites along both horizontal and vertical boundaries transform under a projective representation of ( Z 2 ) 4 , giving us a ‘smoking gun’ indication of nontrivial 1D SPTO. This fact, demonstrated rigorously in the Supplementary Information Section C, completes our proof of Theorem 1.

Importantly, a similar analysis of edge modes can be used to prove results analogous to Theorem 1 for many other known universal resource states, including cluster states defined on various lattices4 and certain 2D AKLT states.1015 In this sense, the impact of Theorem 1 is that not just the cluster state, but in fact the majority of commonly studied universal resource states, are characterised by the absence of 2D SPTO, with at most nontrivial 1D SPTO.

The resource state with nontrivial 2D SPTO

In this section, we present a new MQC resource state that is both Pauli universal and possesses nontrivial 2D SPTO, as summarised in Theorem 2. This is in contrast to the 2D cluster state, which is universal but not Pauli universal, and only possesses 1D SPTO. Our ‘Union Jack’ resource state is composed of qubits, each of which is located at a vertex of the Union Jack lattice shown in Figure 3a. It is constructed by preparing a | + X state at every vertex, and then applying a three-body doubly controlled-Z unitary operation, CCZ, to every triangular cell in the lattice. CCZ is diagonal in the qubits’ computational basis with non-zero matrix elements

(2) i 1 i 2 i 3 | CCZ | i 1 i 2 i 3 = { 1 , if ( i 1 , i 2 , i 3 ) = ( 1 , 1 , 1 ) , + 1 , otherwise ,

and belongs to the 3rd level of the Clifford hierarchy C 3 . The stabilisers generated by these gates are

(3) S U J ( i ) = X ( i ) ( j , k ) tri ( i ) CZ ( j , k ) ,

where (j, k)tri (i) refers to all pairs of sites (j, k) that, together with i, form a triangle in the lattice of Figure 3a. Our resource state | ψ U J is the unique state satisfying S U J ( i ) | ψ U J = | ψ U J for i=1, 2, …, n. Note, however, that it is not a so-called stabiliser state because its stabiliser group is not contained in the n-qubit Pauli group.

Figure 3
figure 3

(a) The Union Jack lattice on which our resource state is defined. Every vertex represents a qubit initialised in a | + X state, and every triangular cell represents an applied three-body unitary CCZ. A 2×2 unit cell is shown, with respect to which our system has ( Z 2 ) 3 symmetry generated by X applied to sites a,b or c. The Z 2 symmetry of this state is a subgroup of ( Z 2 ) 3 generated by applying X to all sites. (b) Measuring the control sites (red) in the computational basis collapses the remaining system into a random graph state. The edges of the graph lie on the ‘domain walls’ between different control site outcomes.

Our resource state is an example of a ‘renormalisation group fixed point’ state used previously to study properties of Z 2 SPTO,18 and consequently has Z 2 symmetry. However, if we redefine a single site of our system to be a particular 2×2 unit cell (shown in Figure 3a), then our system in fact has ( Z 2 ) 3 symmetry. With respect to this latter group, our resource state can be seen as an example of a d=2 decorated domain wall state,39 a method for creating systems with d-dimensional Z 2 ×G SPTO in terms of systems with (d−1)-dimensional G SPTO (here G= ( Z 2 ) 2 ). We should, however, emphasise the importance of our state being defined on the Union Jack lattice for proving Theorem 2, as the 2D state in refs 18,39 is essentially defined on a triangular lattice, so that it disallows the intersection of domain walls under the procedure we use below for locally converting to a graph state,40,41 and thus may not be a universal resource state. On the other hand, our state is also an example of a generalisation of graph states, called hypergraph states in the quantum information community,42,43 although their application for MQC has not been studied previously.

Theorem 2. The Union Jack state is a Pauli universal resource state for MQC, meaning that arbitrary quantum circuits can be efficiently simulated using only measurements of single-qubit Pauli operators and feed-forward of measurement outcomes. Furthermore, its SPTO signature with respect to on-site ( Z 2 ) 3 symmetry is Ω 2 ( U J ) = 1 ; 0 , 0 ; 0 , corresponding to nontrivial 2D SPTO and trivial 1D SPTO.

Note that although we phrase Theorem 2 in terms of our state’s ( Z 2 ) 3 SPTO for generality, the same statement holds true if we replace ( Z 2 ) 3 with Z 2 . Here we demonstrate the Pauli universality of our state by efficiently simulating quantum circuits composed of Hadamard (H) and Toffoli (TOFF) gates—a universal set of gates for quantum computation44—using only measurements of single-qubit Pauli operators. Our means of simulating these circuits using the Union Jack state are divided into two parts. We first show that portions of our state can be converted into ‘cluster regions’, regions that are locally identical to the 2D cluster state. These cluster regions are used to prepare and readout qubit states, teleport these states over arbitrarily long distances, and apply Clifford gates (which include H gates) to them, all with the use of only Pauli measurements. We then demonstrate that we can implement CCZ using certain ‘interaction gadgets’, which are prepared using Pauli measurements. As we can implement both H and CCZ gates, and because TOFF and CCZ are related by TOFF(123)=H(3)CCZ(123)H(3), the combination of cluster regions and interaction gadgets lets us implement H and TOFF gates, and therefore arbitrary quantum circuits.

Our technique for creating cluster regions within the Union Jack state is to induce a symmetry-breaking phase transition from 2D to 1D SPTO. This involves first performing a computational basis measurement of all the Union Jack control qubits, shown in Figure 3b. This symmetry-breaking measurement forces the remaining part of our system, which lives on a regular square lattice, into a random graph state whose edges (associated with nontrivial 1D SPTO) appear along the domain walls in our measurement outcomes. In particular, we obtain an edge (CZ gate) in our graph whenever two adjacent measurement outcomes differ, and no edge whenever they agree. We can then use the exact same protocol as in ref. 45 to reduce this random graph state to a state that is locally identical to the regular 2D cluster state. This protocol succeeds with a probability that converges exponentially fast to either 0 or 1 in the limit of large cluster regions, depending on whether our random graph state percolates and has a macroscopic spanning cluster of connected vertices. We perform numerical simulations of this percolation problem for different system sizes, and conclude (Figure 4) that our Union Jack system is in a supercritical percolation phase and thus can be used to efficiently prepare connected cluster regions.

Figure 4
figure 4

A simulation of our percolation problem with increasing linear size, L. The exponential decay of the non-spanning probability is characteristic of the percolation supercritical phase, demonstrating that portions of our Union Jack state can be locally reduced to a 2D cluster state with arbitrarily high probability. These cluster regions are used to perform Clifford operations upon our computational qubits, as well as to shuttle these qubits between spatially separated interaction gadgets, which can be connected together to produce logical CCZ gates.

Our technique for preparing interaction gadgets involves taking a small area of the Union Jack state and applying an appropriate pattern of Pauli measurements to it (Figure 5a). When embedded within a cluster region, these gadgets implement a three-body non-Clifford logical gate UI, defined by U I ( 123 ) = CCZ ( 123 ) CZ ( 12 ) CZ ( 23 ) , where CZ acts as CZ | α , β = ( i ) α β | α , β Using UI, we can obtain CCZ by applying UI three times to the same triple of qubits, but with the qubits cyclically permuted each time. This permutation involves crossing adjacent wires, something that is forbidden in a strictly planar graph structure, but we can simulate a nonplanar wire crossing using a SWAP operation within our cluster regions (Figure 5b). The identity U I ( 123 ) U I ( 231 ) U I ( 312 ) = CCZ ( 123 ) CZ ( 12 ) CZ ( 13 ) CZ ( 23 ) shows that this gives the desired operation of CCZ, up to byproduct CZ gates. These byproduct gates, as well as other byproduct Clifford gates that appear in our protocol, are adaptively eliminated within cluster regions by applying the appropriate inverse Clifford operations. This adaptive cancellation of byproduct operators is generally necessary before the application of subsequent H or CCZ logical gates, as attempting to commute them through these gates would lead to a byproduct group which does not close at any level of the Clifford hierarchy. Additional information about our protocol for establishing Pauli universality of the Union Jack state is given in the Supplementary Information Section D.

Figure 5
figure 5

(a) Our ‘interaction gadget’ implements the non-Clifford operation UI, and is formed by measuring X and Z on seven logical sites, Y on one control site, and Z on the surrounding control sites. Postselection on 13 of the latter Z measurement outcomes is required in order for us to connect our gadget to the surrounding cluster region; however, this only introduces a constant overhead to the number of sites measured in our protocol, as shown in the Supplementary Information Section D. (b) A gadget for implementing SWAP within a cluster region. This allows us to implement nonplanar wire crossings that are necessary for simulating arbitrary circuits composed of H and TOFF gates. (c) A protocol for implementing a logical CCZ gate, where solid lines indicate teleportation of logical qubits. The majority of the sites involved have been converted to an extended cluster region, with the exception of the sites used to construct interaction gadgets. Our diagram only reflects the topology of the relevant logical connections, whereas a realistic implementation would involve a detailed measurement pattern to perform teleportation throughout the cluster region, as well as a significantly greater distance between neighbouring gadgets. More explicit details of our protocol can be found in the Supplementary Information Section D.

Looking at the proof just given, we see that the disparity between the universality of the cluster state and the Pauli universality of the Union Jack state arises from the difference in gates implementable by each state under Pauli measurements, C 2 for the former and C 3 for the latter. Some insight can be gained by comparing this computational difference to the fact that the cluster state and Union Jack state, respectively, possess 1D and 2D SPTO, as summarised in Table 1. Generalising from these examples, we might expect this correspondence between SPTO and the Clifford hierarchy to extend to a wider class of SPTO states, providing a general link between types of SPTO and degrees of quantum gate complexity. Such a correspondence was demonstrated in refs 46,47 for topological quantum-error-correcting codes, but proving this in the setting of MQC would give a means of directly associating computational characteristics to SPTO states, without the need for an auxiliary higher-dimensional topologically ordered system.

Table 1 A summary of the SPTO present in our representative resource states, the quantum circuit used to form each state, the logical byproduct operators appearing during a computation, and the single-qubit operators whose eigenbasis we need to measure to achieve universal MQC.

Discussion

Although pertaining most immediately to MQC, our main results can be fruitfully interpreted as general statements about the interplay of two intrinsically quantum ingredients, entanglement and measurement, which have a leading role in quantum information science. Our Theorem 1 demonstrates that previously studied resource states, despite differing in their microscopic details, possess identical forms of macroscopic entanglement, namely 1D SPTO. Although such entanglement is sufficient for universal quantum computation using arbitrary single-qubit measurements, our Theorem 2 demonstrates that the use of more complex forms of entanglement, namely 2D SPTO, lets us achieve the same results using simpler Pauli measurements. As argued in the previous section, we expect that this tradeoff between entanglement and measurement is not only true of more general quantum systems, but in fact is evidence of a deep connection between the hierarchies of SPTO and the Clifford hierarchy of quantum computation. Such a connection between the computational complexity of many-body systems and their emergent macroscopic behaviour would give a means of converting canonical condensed matter tools, such as order parameters, into interesting indicators of computational behaviour, as was done with 1D spin chains in ref. 30. The natural connection we demonstrate between the computational complexity of many-body systems and emergent macroscopic order may find applications for better understanding the emergence of classically intractable complexity within quantum many-body simulation.48,49

Methods

Additional information regarding SPTO and the proofs of our Theorems 1 and 2 can be found in the Supplementary Information.