Phase space simulation method for quantum computation with magic states on qubits
Robert Raussendorf, Juani Bermejo-Vega, Emily Tyhurst, Cihan Okay, and, Michael Zurel

TL;DR
This paper introduces a classical simulation method for qubit quantum systems using quasiprobability distributions, enabling efficient simulation of certain quantum computations and extending previous results to all finite dimensions.
Contribution
It generalizes simulation techniques to all finite dimensions, including qubits, and introduces a robustness measure for simulation cost, surpassing stabilizer-based methods.
Findings
Efficient classical simulation for non-negative quasiprobability states.
Extension of simulation to negative quasiprobability distributions with amplitude estimation.
Identification of states outside the stabilizer polytope that are still efficiently simulable.
Abstract
We propose a method for classical simulation of finite-dimensional quantum systems, based on sampling from a quasiprobability distribution, i.e., a generalized Wigner function. Our construction applies to all finite dimensions, with the most interesting case being that of qubits. For multiple qubits, we find that quantum computation by Clifford gates and Pauli measurements on magic states can be efficiently classically simulated if the quasiprobability distribution of the magic states is non-negative. This provides the so far missing qubit counterpart of the corresponding result [V. Veitch et al., New J. Phys. 14, 113011 (2012)] applying only to odd dimension. Our approach is more general than previous ones based on mixtures of stabilizer states. Namely, all mixtures of stabilizer states can be efficiently simulated, but for any number of qubits there also exist efficiently simulable…
Click any figure to enlarge with its caption.
Figure 1
Figure 2
Figure 3
Figure 4
Figure 5
Figure 6
Figure 7
Figure 8
Figure 9
Figure 10
Figure 11
Figure 12
Figure 13
Figure 14
Figure 15
Figure 16| 2 rebits | 24 | 72 | 120 |
|---|---|---|---|
| 2 qubits | 60 | 240 | 432 |
| hy.oct. | ||||
|---|---|---|---|---|
| [pure] | 0 | 1 | 1 | 0 |
| [mixed] | 0.144 | 1 | 1 | 0.924 |
| state | ||
|---|---|---|
| 1.0 | 1.7472 | |
| 1.0 | 2.23205 | |
| 1.283 | 2.2189 | |
| 1.385 | 3.09807 | |
| 1.80 | 3.8000 |
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Phase space simulation method for quantum computation with magic states on qubits
, , , , and
1: Department of Physics & Astronomy, University of British Columbia, Vancouver, BC V6T1Z1, Canada
2: Stewart Blusson Quantum Matter Institute, University of British Columbia, Vancouver, BC, Canada
3: Freie Universität Berlin, Berlin, Germany
4: Department of Physics, University of Toronto, Toronto, ON, Canada
Abstract
We propose a method for classical simulation of finite-dimensional quantum systems, based on sampling from a quasiprobability distribution, i.e., a generalized Wigner function. Our construction applies to all finite dimensions, with the most interesting case being that of qubits. For multiple qubits, we find that quantum computation by Clifford gates and Pauli measurements on magic states can be efficiently classically simulated if the quasiprobability distribution of the magic states is non-negative. This provides the so far missing qubit counterpart of the corresponding result [V. Veitch et al., New J. Phys. 14, 113011 (2012)] applying only to odd dimension. Our approach is more general than previous ones based on mixtures of stabilizer states. Namely, all mixtures of stabilizer states can be efficiently simulated, but for any number of qubits there also exist efficiently simulable states outside the stabilizer polytope. Further, our simulation method extends to negative quasiprobability distributions, where it provides probability estimation. The simulation cost is then proportional to a robustness measure squared. For all quantum states, this robustness is smaller than or equal to robustness of magic.
I Introduction
How to mark the classical-to-quantum boundary is a question that dates back almost to the beginning of quantum theory. Ehrenfest’s theorem Ehrenfest provides an early insight, and the Einstein-Podolsky-Rosen paradox EPR and Schrödinger’s cat Scat are two early puzzles. The advent of quantum computation Feyn –Deutsch added a computational angle: When does it become hard to simulate a quantum mechanical computing device on a classical computer? Which quantum mechanical resource do quantum computers harness to generate a computational speedup?
One instructive computational model is quantum computation with magic states (QCM) BK . In QCM, both “traditional” indicators of quantumness (developed in the fields of quantum optics and foundations of quantum mechanics) and a computational indicator can be applied. From quantum optics and foundations, the indicators are the negativity of a Wigner function Wig –Buz , and the breakdown of non-contextual hidden variable models Bell –Merm . Computer science is concerned with the breakdown of efficient classical simulation.
In the particular setting of QCM, an important distinction arises between the cases of even and odd local Hilbert space dimension . If is odd, then all three of the above indicators for the classical-to-quantum boundary align NegWi –Howard . This is a very satisfying situation: the physicist, the philosopher and the computer scientist can have compatible notions of what is “quantum”.
In even local dimension, the situation differs starkly. Non-contextual hidden variable models for QCM are not viable regardless of computational power Howard , which voids the foundational indicator, and furthermore obstructs the view of contextuality as a computational resource. Also, the multi-qubit Wigner functions constructed to date do not support efficient classical simulation of QCM by sampling over phase space. Thus, the physics and computer-science based criteria for classicality differ, which is an unsatisfactory state of affairs compared to odd . The purpose of this paper is to align the perspectives of the physicist and the computer scientist on the classical-to-quantum transition in QCM on qubits.
To prepare for the subsequent discussion, we provide a short summary of QCM, and the role of the Wigner function in it. Quantum computation with magic states operates with a restricted set of instructions, the Clifford gates. These are unitary operations defined by the property that they map all Pauli operators onto Pauli operators under conjugation. Clifford gates are not universal, and, in fact, can be efficiently classically simulated Goma . This operational restriction is compensated for by invoking the “magic” states, which are special quantum states that cannot be created by Clifford gates and Pauli measurements. Suitable magic states restore quantum computational universality; and in fact QCM is a leading paradigm for fault-tolerant universal quantum computation. In sum, computational power is transferred from the quantum gates to the magic states, and one is thus led to ask: Which quantum properties give the magic states their computational power?
One such property is, for odd at least, negativity in the Wigner function. A quantum speedup can arise only if the Wigner function of the magic states assumes negative values. If, to the contrary, the Wigner function is positive, then the whole quantum computation can be efficiently classically simulated NegWi ,Mari . Further, a positive Wigner function is, for quantum systems, equivalent to the existence of a non-contextual hidden variable model Howard , Delf2 . Both Wigner function negativity and contextuality of the magic states are therefore necessary quantum computational resources.
As we noted, this picture only applies if the local Hilbert space dimension is odd. This excludes the full multi-qubit case, which arguably is the most important. Approaches to the qubit case have been made, e.g. through the rebit scenario ReWi and multi-qubit settings with operational restrictions QuWi , Bermejo , or by invoking a Wigner function over Grassmann variables Love , or multiple Wigner functions at once Galvao . Common to these approaches is that, unlike for odd NegWi , they do not efficiently simulate the evolution under general Clifford gates and Pauli measurements by sampling, a.k.a. weak simulation VdN1 –BT .
An alternative approach to weak simulation is by defining a quasiprobability function over stabilizer states BK , RoM , Pashayan , bypassing Wigner functions. It has the advantage of efficiently simulating all Clifford circuits on positively represented states. For multi-qubit systems, it has so far been unknown how the stabilizer method relates to Wigner functions, but we clarify the relation here.
In this paper, we provide the thus far missing phase space picture for QCM on multi-qubit systems. Central to our discussion is a new quasi-probability function defined for all local Hilbert space dimensions and all numbers of subsystems . When applied to odd , it reproduces the known finite-dimensional adaptation Gross –Woott of the original Wigner function Wig ; but for even , in particular , it is different. Then, this quasiprobability function requires a phase space of increased size, in accordance with KarWalBart . Even in , the positivity of this quasiprobability is preserved under all Pauli measurements. This property is crucial for the efficient classical simulation of QCM on positively represented states. Also, this simulation contains the efficient classical simulation BK of stabilizer mixtures as a special case. We thus reproduce the essential features of the odd-dimensional scenario in .
Starting from the definition of the quasiprobability function , we treat the following subjects: characterization of phase space for , preservation of positivity of under Pauli measurements, covariance of under all Clifford unitaries, efficient classical simulation of QCM for , relation to the qubit stabilizer formalism, hardness of classical simulation for , and a monotone under the free operations.
In summary, we arrive at a description that resembles the corresponding scenario in odd local dimension. Namely, negativity in the quasiprobability distribution for the initial magic state is a necessary precondition for quantum speedup. However, one difference between even and odd remains. In odd , every positive Wigner function is also a non-contextual hidden variable model. This is not so for even , due to the phenomenon of state-independent contextuality among Pauli observables.
II Results and outline
II.1 Summary of results
This paper addresses the full -qubit case of quantum computation with magic states, from the perspectives of the classical-to-quantum transition and quantum computational resources. For the case of local dimension we closely reproduce the relations between Wigner function and efficient classical simulation existing in odd . Central to our discussion is a novel quasiprobability function defined for all local Hilbert space dimensions . It has the following general properties:
(i) For all and , is Clifford-covariant and positivity-preserving under Pauli measurements.
(ii) If the local Hilbert space dimension is even, is non-unique for any given quantum state . The set of phase point operators corresponding to is over-complete.
(iii) If is odd and , then reduces to the standard Wigner function Gross , Gross2 for odd finite dimension.
(iv) For all and , the stabilizer formalism is contained as a special case. All stabilizer states can be positively represented by , and efficiently updated under Clifford operations.
(v) The present description goes beyond the stabilizer formalism. In particular, for , for every number of qubits there exist non-mixtures of stabilizer states which are positively represented by . Furthermore, for any quantum state , the 1-norm of the optimal is smaller than or equal to the robustness of magic . (Both robustness measures are instances of sum negativity Pashayan .)
The following properties of for special values of (and ) are also worth noting. (a) The Eight-state model EightState is a special case of , namely for . (b) For Mermin’s square Merm , the present simulation algorithm saturates the lower bound MemCo on the memory cost of classical simulation. (c) Up to two copies of magic and states are positively represented by .
We establish the following main results: (I) The set of states positively represented by is closed under Pauli measurement (Theorem 2 in Section V). (II) If a quantum state has a non-negative function , and can be efficiently sampled, then, for every Clifford circuit applied to , the corresponding measurement statistics can be efficiently sampled (Theorem 3 in Section VI). In this sense, leads to efficient classical simulation of the corresponding quantum computation. (III) For , the -system phase space has a more complicated structure than in the case of odd , reflecting the fact that the phase point operators are dependent. The points in generalized multi-qubit phase space are classified (Theorem 1 in Section IV). (IV) There exists a robustness measure which bounds the hardness of classical simulation of quantum computation with magic states, when for the initial state . is less than or equal to the robustness of magic (Lemma 9), and a monotone under Clifford unitaries and Pauli measurements (Theorem 4 in Section VII).
II.2 Outline
The remainder of this paper is organized as follows. In Section III we define a quasiprobability function . We show that it reduces to Gross’ Wigner function Gross whenever the local Hilbert space dimension is odd, but, more importantly, is different in even dimension. Specifically, represents all quantum states redundantly for even , which enables Clifford covariance and positivity preservation under Pauli measurement. In Section IV we analyze the structure of the phase space on which lives, for the case of multiple qubits. In particular, we classify the points of phase space. We also clarify the relation to the qubit stabilizer states and their mixtures.
In Sections V and VI we turn to dynamics. In Section V we discuss the update of under Pauli measurement, and in Section VI the efficient classical simulation of QCM for positive .
In Section VII we address the case of . We discuss hardness of classical simulation, as well as the elements of a resource theory based on .
In Section VIII we discuss the extent to which the quasiprobility function satisfies the Stratonovich-Weyl criteria, and its relation to hidden variable models. We conclude in Section IX.
III The quasiprobability function
In this section we introduce the generalized -qudit phase space , for any local Hilbert space dimension , and a quasi-probability distribution living on it. In Section III.1 we define the phase point operators corresponding to , and in Section III.2 identify a minimal set of them. Section III.3 reveals the cohomological underpinning of our construction, which links the present subject to parity proofs of quantum contextuality Coho and contextuality in measurement-based quantum computation CohoMBQC .
III.1 Generalized phase space
We choose a phase convention for the Pauli operators,
[TABLE]
Therein, the function has to satisfy the constraint that , for all . As a consequence of this condition, all eigenvalues of the operators are of the form , , with .
We now proceed to the definition of the phase point operators. We consider a subset of , and a function , both subject to additional constraints that will be specified in Definitions 2–4 below. The pair specifies a corresponding phase point operator ,
[TABLE]
with the constraint that
[TABLE]
When comparing Eq. (2) to the phase point operators of the previously discussed qudit NegWi , rebit ReWi and restricted qubit QuWi cases, we note that the overall structure remains the same. In this case, the sets are an additional varying parameter, and the phase space thereby becomes larger.
Based on the phase point operators of Eq. (2), we introduce the counterpart to the Wigner function that applies to our setting. The generalized phase space consists of all admissible pairs , to be specified below. Any -system quantum state can be expanded in terms of a function ,
[TABLE]
The reason for imposing Eq. (3) is that it implies , for all . Hence, defined in Eq. (4) is a quasiprobability distribution. As we see shortly, it generalizes the Wigner function Gross for odd-dimensional qudits to qubits.
We note that when is even, the quasiprobability distribution is non-unique because the set of phase point operators of Eq. (2) is overcomplete.
Definition 1
An -qudit quantum state is positively representable if it can be expanded in the form of Eq. (4), with , for all .
The efficient classical simulation algorithm described in Section VI applies to positively representable quantum states . The non-uniqueness of allows for more positively representable states than prior quasiprobability representations.
We now turn to the properties of admissible sets and functions that define points in the phase space . To begin, we define a function which encodes how translation operators on phase space compose,
[TABLE]
We further define the symplectic product
[TABLE]
and hence .
The function satisfies the relation
[TABLE]
for . We state this relation for later reference. It is a consequence of the associativity of operator multiplication. Consider the operator product , and expand , . Comparing the two equivalent expressions yields Eq. (7).
Then, it follows straightforwardly from the definition Eq. (5) of that
[TABLE]
We constrain by the following definitions:
Definition 2
A set is closed under inference if it holds that
[TABLE]
The motivation for this definition is that if and can be simultaneously measured, then the value of can be inferred from the measurement outcomes, through relation (5). A consequence of the closedness under inference is that for all closed sets .
Definition 3
A set is non-contextual if there exists a value assignment that satisfies the condition
[TABLE]
for all , and .
To motivate the nomenclature, if the set is non-contextual per the above definition, then it does not admit a parity-based contextuality proof Coho . Namely, Eq. (10) represents the constraints on non-contextual value assignments that result from the operator constraints Eq. (5). If these constraints can be satisfied, then there is no parity-based contextuality proof.
Definition 4
The generalized phase space consists of all pairs such that (i) is closed under inference, (ii) is non-contextual, (iii) satisfies the relation Eq. (10), and (iv) Eq. (3) holds.
Thus, for the generalized phase space , the only sets that matter are simultaneously closed and non-contextual. For short, we call such sets “cnc”.
III.2 Maximal sets
The cnc sets partially specify the points in phase space, and it is thus desirable to eliminate possible redundancies among them. It turns out that only the “maximal” sets need to be considered for .
Definition 5
A cnc set is maximal if there is no cnc set such that .
We denote by the subset of constructed only from the maximal cnc sets . Then, any quantum state has expansions like Eq. (4), but with replaced by . If one of those expansions is non-negative, then we say that is positively representable w.r.t. .
Lemma 1
For any and , a quantum state is positively representable w.r.t. if and only if it is positively representable w.r.t. .
From the perspective of positive representability, we may therefore shrink to without loss. We make use of this property when discussing the case of odd in Section IV.1 right below, and in the classification of cnc sets for the multi-qubit case in Section IV.3. The proof of Lemma 1 is given in Appendix A.
III.3 The cohomological viewpoint
The above Definitions 3 and 4 have a cohomological underpinning, which connects the subject of the present paper to the topological treatment of parity-based contextuality proofs Coho , and of contextuality in measurement-based quantum computation CohoMBQC .
The cohomological picture arises as follows. The partial value assignments and the function are cochains in a chain complex, with Eqs. (7) and (10) constraining them. Eq. (7) says that is a special cochain, namely a cocycle. Now, the basic reason for why the case of even is so much more involved than the case of odd is that, for even , the cocycle is non-trivial whereas for odd it is trivial Coho .
Eqs. (7) and (10) are frequently used in this paper, for example in the update rules of the phase point operators under Pauli measurements (proof of Lemma 5), the closedness of the generalized phase space under update by Pauli measurement (proof of Lemma 7), and covariance of the quasiprobability function under Clifford unitaries (proof of Lemma 10). These are central properties for the phase-space description of quantum computation with magic states. and they are all matters of cohomology.
The cohomological formulation is based on a chain complex constructed from the -qubit Pauli operators . The operator labels define the edges of this complex; the faces of correspond to commuting pairs and volumes to commuting triples. For details, the interested reader is referred to Coho . Here, we only state two basic topological properties of the present scenario.
As already noted, the cochain defined in Eq. (5) is in fact a 2-cocycle, with the cocycle condition enforced by Eq. (7). For any given volume , the coboundary evaluates on to
[TABLE]
Thus, Eq. (7) says that , for all volumes .
Eq. (10) in Definition 3 also has a cohomological interpretation, namely , with
[TABLE]
for any face spanned by commuting edges .
Subsequently, we use evaluations of and , defined in Eqs. (11) and (12), as a short-hand to express Eqs. (7) and (10). As outlined above, it is conceptually helpful to remember that and denote coboundaries, but it is not required for the technical results presented in this paper.
IV Properties of the phase space
In this section, we look at the structure of the phase space more closely, and make connections to previous phase space formulations. Namely, in Section IV.1 we address the relationship of this phase space to the usual qudit phase space, and in Section IV.2 we make clear the connections to the previously addressed rebit case. Further, in Section IV.3, we classify the cnc sets , and for every describe the sets of value assignments . In Section IV.4 we clarify the relation to the stabilizer formalism.
IV.1 Qudits of odd dimension
This is the only place in the present paper where we consider the case of odd . The purpose of this section is to show that if is odd then for qudits the generalized phase space reduces to the standard phase space . There, the quasiprobability function becomes the standard Wigner function Gross for odd finite-dimensional systems. Hence, the present quasiprobability function is a generalization of the finite odd dimensional Wigner function Gross , which in turn is a descendant of the original Wigner function Wig .
If is odd then the whole set is cnc. First, is closed under inference by definition. And second, it is known that in odd dimension Pauli observables have non-contextual deterministic value assignments Howard2 , QuWi . These yield the functions , satisfying the condition Eq. (10). is thus non-contextual.
is furthermore the single maximal set, and, with Lemma 1, the only cnc set that needs to be considered for the phase space. Hence, the phase point operators are
[TABLE]
with the functions satisfying Eqs. (3) and (10). The former condition ensures that the identity operator appears with weight in the expansion (real and positive). If , the latter condition has solutions for the functions if Delf2 . For a suitable choice of in Eq. (1), it holds that (odd only). The solutions for then form a vector space
[TABLE]
We note that the case of a single qudit, , is an exception to the above behaviour. In this case, the set has greater cardinality than Delf2 .
IV.2 Qubits and rebits
The remainder of this paper is about local Hilbert space dimension . This means mostly qubits, but we will occasionally also consider systems of rebits. The reason is that the major complication of the case stems from Mermin’s square and star Merm —two strikingly simple contextuality proofs. Those settings embed most efficiently in rebits rather than qubits, which warrants the inclusion of rebits here.
We remark that the present discussion of rebits is almost identical to the discussion of qubits, but very different from the earlier discussion of rebits in ReWi . In the latter, the physically measurable observables were restricted from real Pauli operators to CSS-type Pauli operators, and the real Clifford unitaries to CSS-ness preserving Clifford unitaries. No such restrictions are imposed here. If the restriction to CSS-ness preserving operations is imposed, then Mermin’s square and star, along with all other state-independent contextuality proofs based on Pauli observables, are effectively excised ReWi . Here, we retain those contextuality proofs, and consequently have to adjust to their presence. Notably, these contextuality proofs constrain quasiprobability distributions that preserve positivity under Pauli measurement.
We start the exploration of the case with two examples that illustrate the concept of generalized phases space . The second example also illustrates the differences between contextuality, negative quasiprobability and quantum computational power for two-level systems.
Example 1: Eight-state model. It is known that every one-qubit quantum state can be positively represented by the so-called Eight-state-model EightState , which consists of two standard 1-qubit Wigner functions tagged together. The Eight-state-model is an instance of the state expansion Eq. (4), namely for , , and it contains only one set ,
[TABLE]
with , , and . It is easily checked that is non-contextual and closed under inference (no inference possible). The value assignments are constrained by Eq. (3), hence , and no constraints arise from Eq. (7) due to the lack of non-trivial commuting elements in . Thus, , and can be freely chosen. There are eight resulting functions, and they define the eight states of the model.
All one-qubit quantum states can be positively represented by this model, which is strictly more than all mixtures of one-qubit stabilizer states.
Example 2: Mermin’s square. Mermin’s square is at the very root of the complications that arise for Wigner functions in even dimension. In particular, no -qubit Wigner function for which the corresponding phase point operators form an operator basis can preserve positivity under all Pauli measurements QuWi .
All observables appearing in Mermin’s star are real, and can thus be embedded in two rebits. Our formalism is easily adaptable to this slightly simpler scenario. Fig. 1 shows three distinct types of cnc sets . Type (a) is the union of two non-trivially intersecting isotropic subspaces (9 sets), type (b) is isotropic subspaces (6 sets), and type (c) is triples of anti-commuting elements, i.e., one from each row and column of the square (6 sets). For each cnc set of type (a), (b) and (c) of Fig. 1, the constraint Eq. (10) allows for , , functions , respectively. The number of phase space points of each type therefore is 72, 24, 48.
We make the following numerical observations about the two-rebit case: (i) Random sampling suggests that all 2-rebit states are positively representable; see Table 3. (ii) In Fig. 2 the region of positively representable density matrices of the form
[TABLE]
for , is displayed for three different methods; namely the stabilizer method RoM , the hyper-octrahedral method Rall , and the present phase space method. We find that all quantum states in the plane spanned by the parameters , are positively represented by the present phase space method, and this is not the case for the stabilizer and hyper-octahedral methods.
Example 3: 2 qubits. Numerical analysis shows that two copies of the state
[TABLE]
can be positively represented, for all angles .
IV.3 Classification of multi-qubit phase space points
Denote by the set of functions that satisfy the constraints Eqs. (3) and (10). Then, the following statement holds.
Lemma 2
For all sets of Def. 4, is the coset of a vector space .
Proof of Lemma 2. Write , where is some reference function. Then, the only condition on the functions is . Thus, if then , for all .
Lemma 2 reproduces a familiar feature. In infinite and finite odd dimension, the whole phase space is an orbit under the vector space of translations. There is an origin 0 of phase space, and all other phase space points are obtained from it by translation. In our present case of , the phase space splinters into many fragments, each of which corresponds to a vector space attached to a cnc set .
At this point, one question about the structure of remains: Can the cnc sets be classified? It is resolved by Lemma 3 and Theorem 1 below.
Lemma 3
For qubits, consider an isotropic subspace of dimension , with , and elements that pairwise anti-commute but all commute with . Denote for . For any number of qubits, the sets
[TABLE]
are non-contextual and closed under inference.
Proof of Lemma 3. Existence. The sets of Eq. (15) exist for all , . To see this, consider the -qubit Jordan-Wigner transforms of the Majorana fermion operators acting on qubits 1 to ,
[TABLE]
for , and, if , the further observable
[TABLE]
Further, be the isotropic subspace corresponding to a stabilizer state supported on the qubits numbered . Define via as in Eqs. (16),(17), for all . These and have the commutation relations required.
Closedness. Consider a pair such that . There are two cases. (i) , for some . Then, , hence .
(ii) and , . We may write , , for some and . The commutation relation then implies that , hence either or . Wlog. assume that . Then, , hence . Thus, .
In both cases, and implies that . Hence, is closed under inference.
Non-contextuality. There exists a function that satisfies Eq. (10) on . We now extend this function to as follows. The values , for can be freely chosen, and for all and all , . This fully defines . All commuting triples lie within one of the isotropic spaces forming , and thus holds.
This establishes that the sets of Eq. (15) exist for the maximum value of , . One may always choose smaller, which neither affects closedness nor non-contextuality.
Theorem 1
All maximal cnc sets are of the form Eq. (15), with and .
Proof of Theorem 1. Let be closed under inference and non-contextual. We can partition the elements of into two subsets, , where are the elements of which commute with the whole set. is an isotropic subspace since if two elements, and , commute with , then clearly their sum, , also commutes with , and is isotropic by definition.
If all elements of pair-wise commute then is an isotropic subspace. Isotropic subspaces are not maximal cnc sets because they are always contained in Eq. (15) sets with parameter . If is not an isotropic subspace then it can be written compactly as
[TABLE]
where , the cosets are distinct and are in the cosets . Note that in this form, there can be no element which commutes with all of because is defined to contain all such elements. Now we consider the possible commutation relations that can have if is non-contextual.
The Mermin square is generated by products of commuting pairs of the two qubit Pauli operators . This is a contextual set. Therefore, any set which is closed under inference and contains four elements with the commutation relations like those of :
[TABLE]
will necessarily contain the full Mermin square and therefore be contextual.
Another sufficient condition for a closed under inference set to be contextual is that it contains four elements with the commutation relations
[TABLE]
The reason is that since the set is closed under inference, it will necessarily contain the elements and , and the elements have the commutation relations of Eq. (19). Thus, it must contain a Mermin square.
A similar argument shows that another sufficient condition for a closed under inference set to be contextual is that it contains four elements with the commutation relations
[TABLE]
In this case, since the set is closed under inference, it must also contain the elements and and the elements have the commutation relations of Eq. (19).
To determine the possible commutation relations of the elements , we will look at their commutativity graph . That is the undirected graph with a vertex for each of and an edge connecting each pair of commuting vertices. Since is non-contextual, the commutation relations of Eq. (19), Eq. (20) and Eq. (21) provide restrictions on the possible commutation relations of the elements of . In terms of the commutativity graph , these are forbidden induced subgraphs111An induced subgraph of a graph is the graph obtained by taking a subset of the vertices of the original graph and all of the edges connecting pairs of vertices in the subset.
The restriction of Eq. (19) says that cannot have a four vertex chordless cycle () as an induced subgraph and the restriction from Eq. (20) says that cannot have a four vertex path () as an induced subgraph. These two forbidden induced subgraphs characterize the trivially perfect graphs Golumbic77 . I.e. must be a trivially perfect graph.
Connected trivially perfect graphs have the the property that they contain a universal vertex Golumbic77 222A universal vertex is a vertex that is adjacent to every other vertex in the graph.. If the commutativity graph were connected then there would be an element which commutes with all other elements of . This is also forbidden. Therefore, the graph is disconnected.
Given that is disconnected, Eq. (21) provides another restriction. Namely that each connected component of cannot have a three vertex path () as an induced subgraph. I.e. each connected component of is a clique.
This means we can partition the elements into disjoint subsets
[TABLE]
where two elements commute if and only if they are in the same subset in the partition. Since the set is closed under inference, each subset in the partition must be closed under inference. Now suppose a subset in the partition contained at least two elements. Then since the subset is closed under inference it must also contain their sum. But each of the two elements anticommutes with the elements of all other subsets in the partition so their sum must commute with the elements of all other subsets in the partition. This is a contradiction. Therefore, each subset in the partition contains a single element. Thus, the elements of Eq. (18) pair-wise anticommute.
Maximal cnc sets are sets of the form Eq. (18) for which is maximal for a given isotropic subspace . If the isotropic subspace has dimension where is the number of qubits and , then the pair-wise anticommuting elements which complete the set are elements of the symplectic complement . This is a dimensional symplectic subspace, therefore the maximal value of is the largest number of pair-wise anticommuting Pauli operators on qubits. The largest sets of pair-wise anticommuting Pauli operators on qubits have elements. This can be seen as follows. Consider the elements given by , with defined in Eq. (16). The set consists of pairwise anticommuting elements. There is an element , with , cf. Eq. (17) that anticommutes with each one of the elements in this set. It is the only element in to do so, since the set of equations
[TABLE]
has a unique solution. Therefore together with this element we can construct a set of size .
We would like to show any other set of pairwise anticommuting elements whose size is can be mapped bijectively to the set we constructed. Suppose is such a set. By Witt’s lemma (Asch, , §20) the function that sends to extends to a linear map that satisfies for all (symplectic transformation). Therefore there is a unique element that anticommutes with all the , and it is given by . In particular, is the maximal number.
To complete the proof we must show that maximal sets of pair-wise anticommuting elements on qubits with size less than do not lead to maximal cnc sets. To see this note that by Witt’s lemma, for any maximal anticommuting set of size (), there is a bijection which maps the set to one of the form Eq. (16,17). Therefore, we can find independent elements which commute with the set. For example, if are the vectors corresponding to Pauli operators , then we could take . Therefore, the dimensional isotropic subspace can be extended to one with dimension .
This completes the proof. Therefore, all maximal cnc sets have the form Eq. (15), with .
A result equivalent to the characterization of Eq. (22) is given in Theorem 3 of KirbyLove .
Tensor products of phase point operators are not typically phase point operators. Consider, for example, two phase point operators with and . Their tensor product does not appear in the classification provided by Theorem 1, as the commutativity graph shows. Physically, such tensor products are not closed under inference, violating Def. 4. Upon closure, they cease to be non-contextual as they then contain a Mermin square. Hence the closures also violate Def. 4.
But there is an exception. If one of the two phase point operators in the tensor product corresponds to an isotropic subspace, i.e., has , then the tensor product is a valid phase point operator. See Appendix D for details.
IV.4 Relation to the stabilizer formalism
The purpose of this section is to describe the relation between positive representability by the quasiprobability distribution and qubit stabilizer states. We demonstrate that, for all , the set of positively -representable states contains the stabilizer mixtures as a strict subset. This is the content of Lemma 4 below. The lemma is based on two examples.
Example 4. Be an -qubit stabilizer state, with isotropic subspace corresponding to its stabilizer. Then, it is easily verified that is non-contextual and closed under inference. Namely, is of form Eq. (15), with , .
The next example generalizes Example 1 to -qubit states.
Example 5. Every -qubit state of the form , with a general one-qubit state and an -qubit pure stabilizer state, is positively representable.
To prove this statement, for any number of qubits, consider an isotropic subspace of rank representing the stabilizer state , and three elements , such that , and . Define the three isotropic subspaces ,
[TABLE]
and . is of form Eq. (15), with , and , hence cnc by Lemma 3.
We now apply this result to the state above. We can write the constitutents as , with (cf. Example 1), and (cf. Example 2). We observe that
[TABLE]
with . To see this, recall that , and note that the set can also be written as , where the coset , etc. Thus, . Since by Example 1, the states are all positively representable. Yet not all these states are mixtures of stabilizer states. Stabilizer mixedness is preserved under partial trace. Now assume that is a stabilizer mixture for all . Then is also a stabilizer mixture. Contradiction.
We cast the combined conclusion of Examples 4 and 5 as a Lemma.
Lemma 4
For all , all mixtures of -qubit stabilizer states are positively representable, and furthermore there exist positively representable states that are not mixtures of stabilizer states.
V Quantum mechanical rules for state update under measurement
In the previous sections we have analyzed the generalized phase space on which the quasiprobability function is defined. We now turn to dynamics.
For our setting of QCM this concerns evolution under the free operations, i.e., the Clifford unitaries and Pauli measurements. As already noted in ReWi and QuWi , the situation simplifies even further. If the goal is to sample from the joint probability distribution of measurement outcomes—which is the case in quantum computation—then only the update under Pauli measurements needs to be considered.
The Clifford unitaries can be propagated forward in time, thereby conjugating the Pauli measurements into other such measurements, past the final measurement and then discarded. (This redundancy notwithstanding, we will visit the update of under Clifford unitaries in Section VII.3, where we prove covariance.) The main results of this section are Theorem 2 and Lemma 5.
Theorem 2
For any , the set of positively representable -qubit quantum states is closed under Pauli measurement.
To describe the dynamics under measurement, we need to set up some further notation. For every set we introduce the derived set . Denoting and ,
[TABLE]
Likewise, we define an update on functions invoking the measurement outcome of an observable , namely . We define this update only for , and only for 333The definitions of and can without modification be extended to . However, in that case the function values can be determined both through Eq. (25a) and (25b), and we need to check consistency. These inferences are indeed consistent, as a consequence of Eq. (10). Since we do not need the case of subsequently, we skip the details of the argument.. The updated function is given by
[TABLE]
The rules of Eq. (25) are used to formulate the update rule for phase point operators of Eq. (2) under Pauli measurement.
Remark. Update rules similar to Eq. (25) have been used previously Lilly to construct a -epistemic model of the multi-qubit stabilizer formalism. Those rules update the value assignments in the same way but are applied under different conditions. Specifically, the update in Lilly does not refer to general sets satisfying the conditions of Def 4.
Lemma 5
Denote the projectors , and be a phase point operator defined through Eq. (2), with satisfying the conditions of Definition 4. Then, the effect of a measurement of the Pauli observable with outcome on is
[TABLE]
Example 2, continued. Eq. (26) entails the update of both the sets and the functions . Here we only consider the former. Fig. 5 displays the update of the set shown in Fig. 1 a, under the measurement of (a) the observable , with , and (b) the observable , with .
In preparation for the proof of Lemma 5 it is useful to state two relations of the function for . With the definition Eq. (5) of and Eq. (3), the operator identities and imply that
[TABLE]
Furthermore, evaluating (see Eqs. (7) and (11)), and using Eq. (27) yields
[TABLE]
To prove Lemma 5 we also need the following result.
Lemma 6
If is non-contextual and closed under inference, then so is , for all .
Proof of Lemma 6. First consider closure. Assume that and . Then, , and also , since is closed by assumption. Further, implies , and hence . is thus closed.
Now consider non-contextuality. Since is non-contextual, there exists a function such that on . Since is closed, can be properly restricted to , and so can . Hence, . Thus, is non-contextual.
Proof of Lemma 5. Under the measurement of with outcome we have
[TABLE]
From hereon we need to distinguish two cases, and .
Case I: . Focusing on the second term in the expansion Eq. (29),
[TABLE]
Therein, in the first line we have used Eq. (5), in the second line Eq. (10), in the third line the completeness of under inference (Lemma 6), and the fourth line is just a relabeling of the elements in . Inserting this result in the above expansion Eq. (29), we find
[TABLE]
and Eq. (26a) follows.
Case II: . Substituting in Eq. (25b) gives , for . With Eq. (28) we obtain
[TABLE]
With this, we now look at the second term in the expansion Eq. (29),
[TABLE]
The first line above follows with Eq. (5), and the second with Eq. (31).
Considering the first term in the expansion Eq. (29), with Eq. (25a) we have
[TABLE]
Inserting the above expressions for the two terms in Eq. (29), and using the definition Eq. (24) of , we obtain Eq. (26b).
We have so far shown how the phase point operators can be updated under measurement once. We still need to show that this update can be iterated. This requires that the new phase point operators appearing on the r.h.s. of Eq. (26) satisfy the consistency constraints of Definition 4.
Lemma 7
If then , for all , and , for all and .
The proof of Lemma 7 is given in Appendix B.
Proof of Theorem 2. Consider a state , and a measurement of the Pauli observable on it. Assume that the measurement outcome can occur, . We have to show that under these conditions, the post-measurement state
[TABLE]
is also contained in the set .
Denote . Then, with Lemma 5 and the state expansion Eq. (4) of , we have
[TABLE]
Thus, can be represented by a quasiprobability distribution with elements
[TABLE]
The are thus linear combinations of with non-negative coefficients (0 or ). Since the are non-negative by assumption, it follows that , for all .
VI Classical simulation for
VI.1 Simulation algorithm
We now turn to the question of how hard it is to classically simulate the outcome statistics for a sequence of Pauli measurements on an initial quantum state. In this regard, we show that if the initial quantum state is positively represented and the corresponding probability distribution can be efficiently sampled from, then the statistics of the measurement outcomes can be efficiently simulated.
The classical simulation procedure in Table 1 describes weak simulation VdN1 –VdN2 , i.e., it outputs one sample from the joint probability distribution of outcomes corresponding to a sequence of measurements of Pauli operators ( is measured first, last). If more than one sample are desired, the procedure is just repeated. We note that the measurement can be adaptive. I.e., it is not necessary for the simulation algorithm that a measurement sequence is committed to at the beginning. As a special case of this, the measured observables may depend on earlier measurement outcomes.
We have the following result.
Theorem 3
If for an initial quantum state it holds that and furthermore can be efficiently sampled from, then the output distribution of all sequences of Pauli measurements, possibly interspersed with Clifford gates, on can be classically efficiently sampled from.
As a first application of Theorem 3, we return to Example 2, Mermin’s square.
Example 2 continued. How much memory capacity is needed to classically simulate measurements of the observables in Mermin’s square? We first turn to the state-independent case, which was previously discussed in MemCo . The task is to devise a classical algorithm that outputs an outcome sequence for any given sequence of Pauli measurements, which can occur according to quantum mechanics. The measurement sequence can be of any length and the measurements therein may be commuting or anti-commuting. In MemCo , a lower bound on the memory cost of any such simulation was established, bits; and a specific model was constructed that attains it.
The classical simulation algorithm of Table 1 also saturates this limit. To show this, we use as cnc sets the six maximal isotropic subspaces of two rebits, cf. Fig. 1 b. This set of sets is closed under update by Pauli measurement, as described by Eq. (26). For each such set , each value assignment is specified by two evaluations (the other evaluations then follow via Eq. (10)). There are thus four functions for each cnc set , hence 24 combinations in total, which is the same as in MemCo .
We now turn to the state-dependent version of the problem. How much memory is needed to sample from the correct outcome statistics for arbitrary measurement sequences, for any two-rebit state with , and given the capability to sample from ? This problem is harder than the former: Not only must the sequence of outcomes be internally consistent for all measurement sequences, but also it needs to represent the state .
Memory cost now depends on the state . If is a mixture of stabilizer states, i.e., the sets can be limited to , then the classical simulation algorithm of Table 1 can still run on bits.
If sets with are included in the expansion, then more two-rebit states can be positively represented (among them, for example, ) but on the other hand, memory consumption goes up. For , there are pairs , cf. Fig. 1a. Hence the memory consumption for configurations with is bits. (Note that the sets for are not maximal. If sets with are included, then sets with can be omitted without loss.) The size of the phase space vs. the maximum value of is displayed in Table 2. The memory cost is . The volume fraction of positively representable two-rebit and two-qubit states is displayed in Table. 3, for various sets .
VI.2 Correctness and efficiency of the classical simulation
In preparation for the proof of correctness of the classical simulation algorithm, we introduce the following notation. Given a probability distribution , there are two objects that the classical simulation algorithm needs to reproduce correctly, namely the probability for the outcomes of the measurement of any Pauli observable , and the post-measurement state . There are two ways of obtaining these quantities, a quantum-mechanical one and a classical one using the simulation algorithm of Section VI.1.
Regarding the outcome probability given , the quantum mechanical way first obtains the corresponding quantum state from through Eq. (4). This is represented by a map . Second, from , the outcome probability is obtained via the Born rule, . This is represented by a map . The classical way uses the algorithm of Section VI.1 to obtain . This is represented by a map .
Likewise, the quantum mechanical way of obtaining the post-measurement state from proceeds by first applying the map (Eq. (4)) to obtain , and second by obtaining from through the Dirac projection postulate. The second step is represented by a map .
The classical way of obtaining from proceeds by first using the simulation algorithm to obtain , and second by mapping to using the map . The first step in this procedure is represented by the map .
The classical simulation algorithm of Section VI.1 is correct only if the quantum and the classical ways of computing and agree. That is, we require the diagrams in Fig. 6 to commute.
Lemma 8
The diagrams of Fig. 6 commute.
Proof of Lemma 8. We discuss the outcome probability and the post-measurement state separately.
Outcome probability . Then, the quantum mechanical expression for is
[TABLE]
The classical expression for obtained through the algorithm of Section VI.1 is as follows. If , then the conditional probability for the outcome given the state is . If then the conditional probability for the outcome is 1/2. Thus,
[TABLE]
By comparing the two expressions, we find that for all , , and the left diagram of Eq. (6) thus commutes.
Post-measurement state . The quantum mechanical expression for the post-measurement state has already been given in Eq. (32), and we now derive the corresponding expression that follows from the classical simulation algorithm.
We consider the joint probability of obtaining the outcome in the measurement of and ending up in the state . We may invoke conditional probabilities in two ways,
[TABLE]
Noting that , and equating the two above expressions we find
[TABLE]
We now infer the conditional probabilities from the classical simulation algorithm of Section VI.1,
[TABLE]
Inserting this into Eq. (35), and using the resulting expression in Eq. (4), i.e. applying the map , we obtain
[TABLE]
Comparing the last expression with Eq. (32), we find that for all , , and the right diagram in Fig. 6 thus commutes.
Proof of Theorem 3. As explained in Section V, we only need to discuss sequences of Pauli measurements. For those, we show that the algorithm of Table 1 is correct, and, if the initial can be efficiently sampled from, it is also computationally efficient. (i) Correctness. Denote by the state before the -th measurement. With Lemma 8, by induction on the right diagram in Eq. (6), if represents the initial state , then represents for all time steps . Then, by the left diagram in Eq. (6), the outcome probabilities , with the measurement record prior to time , are also correct. Thus the joint outcome probability sampled from
[TABLE]
is also correct.
(ii) Efficiency. We recall that all cnc sets are unions of isotropic spaces (Theorem 1). Further, each defines a stabilizer group
[TABLE]
This allows us to describe using polynomial memory by storing stabilizer tables of size Goma ; Gottesman99Heisenberg . Indeed, by Defs. 2-3 and Lemma 3, is a closed commutative group. Furthermore, with Def. 3, it holds that . This implies the existence of a non-trivial stabilized subspace: is a common +1-eigenprojector of every as , which also implies .
We now note that the update rules in algorithm 1, namely (i) checking whether , (ii) evaluating on , (iii) updating , (iv) and (v) , implement tasks that admit efficient classical algorithms in the stabilizer formalism Goma ; Gottesman99Heisenberg . Rules (i) and (ii): To test , we check whether . If for some value of , then is computed as the bit determining the phase of the stabilizer operator . Both tasks can be solved classically efficiently via Gaussian elimination given the stabilizer table data Goma ; Gottesman99Heisenberg . Rule (iii): is updated to by (classically efficiently) evaluating on the generators of every . Rules (iv) and (v): For all , is the stabilizer group resulting from the measurement of with outcome on a state with stabilizer group . This update can be efficiently performed using the standard measurement update-rule of Ref. Goma ; Gottesman99Heisenberg to every stabilizer table in the description of . Thus, all steps of the algorithm run in polynomial time.
VII The case of
As we have established in the previous sections, is a precondition for quantum speedup. When the initial state is represented by a quasiprobability rather than a true probability function, a standard problem of interest is estimating outcome probabilities for sequences of measurements. An established method for probability estimation is Pashayan , utilizing the Hoeffding bound. Note that probability estimation is a different problem than weak simulation VdN1 , and is not efficiently adaptive.
VII.1 Robustness
In close analogy to the “robustness of magic” RoM (the subscript is for “stabilizer”), we define a phase space robustness , through
[TABLE]
with .
Since the definitions of the robustness and of the robustness of magic RoM are so similar, one may wonder if there is a relation between them. This is indeed the case; namely, we have the following result.
Lemma 9
For all quantum states , of any number of qubits, the phase space robustness and the robustness of magic are related via
[TABLE]
Thus, the phase space robustness is never larger than the robustness of magic, but can only be moderately smaller. The proof of Lemma 9 is given in Appendix C.
VII.2 Hardness of classical simulation
The Hoeffding bound says that the number of samples required to estimate the output probability distribution up to an error scales as , where is a measure of the negativity contained in the quantum process. In our case, the operations are positivity-preserving, and all negativity comes from the initial state. The algorithm of Pashayan et al. Pashayan , when applied to our setting, says that the number of samples required to estimate the output probability scales as
[TABLE]
Thus, the robustness of the initial state is the critical parameter determining the classical hardness of probability estimation.
The same relation, with the robustness replaced by the robustness of magic holds for the classical simulation based on quasiprobability distributions over stabilizer states RoM . Lemma 9 above is therefore of interest for relating the operational costs of the two simulation methods.
Classical simulation also requires a quasiprobability function for copies of the magic state . Since the -qubit phase space is large, the numerical optimization to obtain the least-negative expansion is computationally costly. However, we can apply a similar splitting into smaller blocks of magic states as in the stabilizer case RoM . The computational cost for providing the expansion is then a function of block size rather than total number of copies . The 1-norm of the resulting expansion is smaller than of the stabilizer expansion, by a factor that is constant in . Details are given in Appendix D.
VII.3 Elements of a resource theory based on
It is illuminating to discuss QCM within the framework of resource theories. Every resource theory has three main operational components BG15 , (i) the resource(s), (ii) the non-resources, or free states, (iii) the free operations.
In the physical setting of our interest, the resources are quantum states which cannot be positively represented by (cf. Theorem 3). The free operations are Clifford unitaries and Pauli measurements. The free states are those that can be created from the free operations from a completely mixed state, i.e., all mixtures of stabilizer states.
We observe that there is a third class of states which are neither resources nor free, namely the positively representable states which are not mixtures of stabilizer states. Such states are called (iv) bound magic states. We have seen an example of them in Section IV.4, the general 1-qubit states tensored with a stabilizer state on arbitrarily many qubits.
The reason for calling those states “bound magic” is that they cannot be distilled into computationally useful ones by free operations. In our setting, by Theorem 2, positive representability is an invariant under the free operations. Hence, bound states can only be converted into other bound states or into free states by the free operations, but never into a resource.
The question of inter-convertibility may more generally be asked for resource states. To facilitate this discussion, one may identify monotones, i.e., real-valued functions on the state space that never increase under the free operations. The main result of this section is that the robustness , defined in Eq. (37) and already known to measure hardness of classical simulation by sampling, is a monotone.
Theorem 4
The robustness is a monotone under all Clifford unitaries and Pauli measurements.
As part of the proof of Theorem 4, we now discuss an important structural property of the quasiprobability function , namely its covariance under Clifford unitaries. Be the -qubit Clifford group. It acts on the -qubit Pauli operators via
[TABLE]
This relation simultaneously defines the phase function and the action of on . It implies an action of the Clifford group on the phase point operators , which in turn induces an action on the sets and the functions , via
[TABLE]
Therein, the set is defined as , and the function is given by
[TABLE]
Henceforth we denote as and as , to emphasize the dependence on .
For use in the proof below we quote Lemma 3 from Coho which says that, for any face ,
[TABLE]
We then have the following result.
Lemma 10
* is mapped to itself under , and the quasiprobability function transforms covariantly. That is, if the state can be described by through Eq. (4), then for any the state can be described by a quasiprobability function defined by*
[TABLE]
Remark 3: We say “the state can be described by ” rather than “is described” because is not unique.
Proof of Lemma 10. First, we show that the phase space is closed under the action of , i.e., if then . The four items in Definition 4 need to be checked. (i) Closedness under inference. Assume that and . Then there exist such that , and . Then, , since by the assumption of closedness. Hence is closed under inference.
(iii) * satisfies Eq. (10).* With the definition of we have (all addition mod 2)
[TABLE]
Therein, in the second line we have used Eq. (10). Thus, satisfies Eq. (10) on its domain.
(ii) * is non-contextual.* With we have just proved the existence of a function on that satisfies Eq. (10).
(iv) * satisfies Eq. (3).* Since satisfies Eq. (3), it follows . Eq. (3) is thus satisfied for .
Hence, if then , as claimed.
Next we turn to the covariance of under . We have
[TABLE]
Comparing the last expression with the expansion Eq. (4) for , we find that for all , the quasiprobability distribution defined by
[TABLE]
describes the state . This is the covariance condition.
We are now ready to prove the monotonicity of , as stated in Theorem 4.
Proof of Theorem 4. (a) Clifford unitaries. With Lemma 10, we have that for any -qubit Clifford gate applied to any -qubit state , the quasiprobability distribution can be related to via the covariance condition Eq. (39). Since is non-unique, there may a priori be a representation with smaller 1-norm, and thus it holds that
[TABLE]
(b) Pauli measurements. We consider the measurement of a Pauli observable on a quantum state . Denote by the normalized post-measurement states for the outcomes , respectively. We have to show that, for all , for all and all -qubit states it holds that
[TABLE]
With Eq. (33), we can write , and , where
[TABLE]
From now on, denote by the optimal representation for w.r.t. 1-norm, i.e., . With the triangle inequality, and the fact that the functions induced from the optimal through Eq. (42) need not be optimal for the states w.r.t. their 1-norm, it holds that , and , hence
[TABLE]
With Eq. (42) we find that
[TABLE]
where in the second line we used the triangle inequality again. Furthermore, performing the summation over all first, we obtain
[TABLE]
Inserting the last two relations into Ineq. (43), we arrive at
[TABLE]
Since by assumption, Eq. (41) follows.
VII.4 Numerical results
In Table 4 and Fig. 7 we present numerical values 444Our calculations use the software packages CVXPY cvxpy and GUROBI gurobi . for the robustness of various magic states, and compare them to robustness of magic as defined by Howard and Campbell RoM . Table 4 summarizes the robustness comparisons for the common magic states, as well as the maximal-robustness Hoggar state RoM . In Fig. 7 we plot the robustness against the stabilizer state robustness for three qubits, as a function of rotation angle. Note the wide and almost flat—though not perfectly flat—plateaus of robustness in the vicinity of stabilizer states.
VII.5 Curious resurgence of -dimensional phase space
Numerical calculations of robustness for various quantum states revealed an unexpected feature. Namely, the optimal quasiprobability distribution w.r.t. Eq. (37) for a given -qubit state always was non-zero only on phase space points, or fewer. is only a tiny fraction of the whole phase space , and furthermore the naive expectation if one were completely oblivious of the differences between even and odd . However, the support of the optimal depends on the state . We can now explain the initially puzzling upper bound on the size of the support, .
The robustness of a state defined in Eq. (37) is the solution to the convex optimization problem
[TABLE]
where , , is an enumeration of the phase points and are the -qubit Pauli operators. For each variable in Eq. (44), define two new variables and . Then the convex optimization problem of Eq. (44) is equivalent to the standard form linear program
[TABLE]
where and . This doubles the number of variables but does not change the number of equality constraints. Since we know this problem is feasible (any physical state can be written as an affine combination of phase point operators) and bounded (no physical state can have robustness less than 1), by the fundamental theorem of linear programming, for any physical state, Eq. (45) has a solution at a vertex of the feasible polytope opt .
Since Eq. (45) has an equality constraint for each -qubit Pauli operator (including the identity), this means any state has a robustness-minimizing expansion in phase point operators with no more than non-zero coefficients.
VIII Discussion
VIII.1 Stratonovich-Weyl correspondence
In the field of quantum optics, an important set of criteria for a proper quasiprobability distribution over a phase space is given by the Stratonovich-Weyl (SW) correspondence. Denote by the quasiprobability distribution corresponding to the operator , with the phase space and a real parameter in the interval . In the standard formalism for infinite-dimensional Hilbert spaces, correspond to the Glauber-Sudarshan , Wigner, and Husimi function, respectively. The SW correspondence is the following set of criteria on the Strato ; also see Brif ,
- (0)
Linearity: is a one-to-one linear map. 2. (1)
Reality:
[TABLE] 3. (2)
Standardization:
[TABLE] 4. (3)
Covariance:
[TABLE]
with the dynamical symmetry group. 5. (4)
Traciality:
[TABLE]
We now investigate to which extent these SW criteria apply to the present quasiprobability function . There are two deviations. First, the present quasiprobability function does not come with a parameter ; there is only a single function . This will affect the formulation of traciality. Second, the present mapping is one-to-many, as we have noted in Section III.1. The mapping is nonetheless linear, can be represented as .
The remaining SW conditions do apply. (1) Reality of follows directly from the definition Eq. (4), since all are Hermitian. (2) Standardization: The definition Eq. (2) and property Eq. (3) of the phase point operators imply , for all and ; and standardization then follows from Eq. (4).
(3) Covariance holds for the entire Clifford group, as stated in Lemma 10. In fact, insisting on Clifford covariance leads to the non-uniqueness of . Namely, an over-complete set of phase point operators is necessary to achieve Clifford covariance Zhu .
(4) Traciality. In the absence of a continuously varying parameter , we define a dual quasiprobability function in addition to , to stand in for . For all Pauli operators we have
[TABLE]
Since the -qubit Pauli operators form an operator basis, can be extended to all qubit operators by linearity. With Eq. (34) we then have
[TABLE]
We thus satisfy the SW criteria (1) - (4).
To conclude, we reiterate that for the present purpose of classically simulating QCM, a crucial property of is positivity preservation under Pauli measurement. This property has no counterpart in the Stratonovich-Weyl correspondence.
VIII.2 Probabilistic hidden variable model
In the case of odd NegWi , there is a third equivalent indicator of classicality, next to positivity of the initial Wigner function and the efficiency of classical simulation of QCM by sampling. Namely, a positive Wigner function is equivalent to a non-contextual hidden variable model (HVM) with deterministic value assignments Howard . This triple coincidence cannot be replicated in , because, for all quantum states—even the completely mixed state—are contextual Howard .
One interpretation of this situation is that contextuality, i.e., the unviability of non-contextual HVMs, is not sufficiently tight a criterion to reveal genuine quantumness. A more stringent marker is required, which (i) classifies the present HVM as classical, and (ii) for QCM in odd reduces to contextuality. At present, we have no suggestion for this more restrictive notion of quantumness. However, we point to a hidden variable model that is illustrative of the shifted quantum-to-classical boundary in the multi-qubit case, and we propose it for further study.
Namely, when positive, the quasiprobability distribution can be considered an HVM. While classified as contextual by the common definitions, it shares many features with non-contextual HVMs.
This HVM consists of a triple where or , is a compatible family of distributions on the set of outcomes on contexts and is a probability distribution on the set of hidden variables. For each we define by
[TABLE]
Therein, is any isotropic subspace, is a function, and is the projector corresponding to the outcome. Note that if .
It is useful to state the probability distributions in their explicit form. Let denote the projector corresponding to the non-contextual value assignment . Then we have
[TABLE]
From Eq. (47) we see that the value assignments in our HVM are generally probabilistic; only in the special case of they become deterministic. Further, the form compatible families,
[TABLE]
When applicable, this HVM reproduces the predictions of quantum mechanics (cf. Theorem 3) for measurements of Pauli observables, in single contexts or arbitrary measurement sequences.
We argue that the HVM of Eq. (46) is classical. It is an HVM with partial value assignments, with deterministic values for some observables and random values for others. The only resource this HVM uses beyond those required by non-contextual HVMs with deterministic value assignments is that of classical uniform randomness (in the evaluation of value assignments). Such use of randomness should not render the present HVM genuinely quantum.
And yet, the HVM of Eq. (46) is (a) contextual in the sense of Abramsky and Brandenburger AB11 , (b) preparation and transformation contextual, as well as measurement-non-contextual, in the sense of Spekkens Spekkens , and (c) contextual for sequences of transformations in the recently-introduced sense of Mansfield and Kashefi Mansfield18 .
To summarize, we have described a hidden variable model corresponding to positive quasiprobabilities . By this correspondence, the HVM is considered classical from the quantum optics perspective. It is also classical from the computational perspective, as it leads to efficient classical simulation of QCM (for applicable magic states). And yet this HVM is contextual, per the definitions commonly applied. As such, the present HVM may serve as a reference point for a refined foundational notion of quantumness that goes beyond contextuality.
IX Conclusion
We have introduced a quasiprobability distribution over generalized phase space, which is defined for any number of qudits with any number of levels. For multi-qudit systems with odd local dimension , reduces to the familiar Wigner function for finite-dimensional systems defined by Gross Gross . For even , the phase space is enlarged and becomes non-unique. Importantly, also for (the multi-qubit case), has the property that a positive quasiprobability function remains positive under all Pauli measurements. This property is crucial for classical simulation algorithms of quantum computation with magic states (QCM) by sampling.
Once this fundamental property is established, it is natural investigate the efficiency (or non-efficiency) of classical simulation in the various regimes, and resource theories characterizing QCM. Here we have treated the canonical questions that arise in this context: we have devised an efficient classical simulation of QCM for , and clarified the relation to the qubit stabilizer formalism. Namely, the present method for efficient classical simulation of QCM strictly contains the stabilizer method. It applies to all mixtures of stabilizer states, but in addition to certain states outside the stabilizer polytope. We have further characterized the hardness of classical simulation for in terms of a robustness measure, and established this robustness is a monotone under the free operations of QCM.
In summary, we arrive at a resource perspective of QCM on qubits that closely resembles the corresponding picture for odd dimension . However, there are two deviations. First, the phase space on which the quasiprobability function is defined has a far more intricate structure for than for odd . Second, for the hidden variable model (HVM) induced by any non-negative quasiprobability function is contextual, as a consequence of Mermin’s square.
The latter observation leads to a puzzle. The HVM induced for positively representable states is classified as “classical” from the perspectives of quantum optics () and computer science (classical simulation is efficient), but it is classified as “quantum” from the perspective of contextuality.
In this regard, we have argued (also see Howard ) that in multi-qubit QCM, contextuality is not suitable as an indicator of genuine quantumness. We have proposed the notion of “HVM with partial non-contextual value assignments” in which is classicality and contextuality coexist.
Acknowledgments. We thank Piers Lillystone (JBV, CO, RR, ET) and Shane Mansfield (JBV) for discussion. This work is funded by NSERC (CO, RR, ET, MZ), Cifar (RR) and ERC (JBV).
Appendix A Proof of Lemma 1
Recall that, unlike most material in this paper, Lemma 1 holds for all local dimensions .
Proof of Lemma 1. Consider two sets, , such that , and the phase point operator according to Eq. (2). Furthermore, denote by the set of value assignments that satisfy the constraint
[TABLE]
Then, is the coset of a vector space . This is the first fact we prove. Write , where is some reference function, and the functions all satisfy
[TABLE]
The condition of Eq. (48a) need only be satisfied for commuting pairs of elements in . From Eq. (48) it follows that if then , for all . Hence is indeed a vector space, as claimed.
Key is the relation
[TABLE]
which we now prove, armed with the previous observation. Using the definition of the phase point operators, we start expanding the r.h.s. of Eq. (49).
[TABLE]
Now we consider two cases. (i) . Then, with property Eq. (48b),
[TABLE]
Furthermore, note .
(ii) . There is at least one with . Since is a vector space, it follows by character orthogonality that
[TABLE]
Inserting Eqs. (50) and (51) in the above expansion, and furthermore using property Eq. (48b), we find
[TABLE]
This proves Eq. (49). Now, wlog. we may choose to be maximal. Since by definition any set is contained in some maximal set , we may convert any positive state expansion over into a positive state expansion over ,
[TABLE]
If the expansion coefficients on the l.h.s. are positive, so they are on the r.h.s.
Appendix B Proof of Lemma 7
Proof of Lemma 7. Statement (A): , . The set does not change, and we only need to check the properties in Def. 4 that concern the function update, i.e., Eqs. (10), (3).
Assume that satisfies on , i.e. for all faces . Consider any such face, with its boundary consisting of the edges , and . By definition of it holds that . Then, with all addition mod 2,
[TABLE]
Thus, satisfies Eq. (10).
Furthermore, assume that satisfies Eq. (3). Then, . Hence, satisfies Eq. (3).
Statement (B): , and . There are four items to check in Def. 4, namely (I) is closed under inference, (II) is non-contextual, (III) satisfies Eq. (10), and (IV) satisfies Eq. (3).
(I): Consider , with , and denote , . There are three sub-cases. (i) . Then, , since is closed under inference by Lemma 6. Thus, .
(ii) , . By construction of , . Thus, . Now, since by assumption and ( it follows that . Since is closed by Lemma 6, it holds that . By construction of , .
(iii) . By construction of , . Thus, , and further . Since is closed under inference by Lemma 6, . Thus, .
Thus in all three cases, , with , implies . Hence, is closed under inference.
(III): Assume that on , and consider a triple of edges with . Then, either (i) all or (ii) one of these edges are in the component .
(i) . Since and with Eq. (25a), it holds that .
(ii) W.l.o.g. assume that and , and denote , as before. Then, for the face with boundary consisting of the edges , and ,
[TABLE]
Therein, in the second line we have used Eq. (25), in the third line Eq. (10), in the fourth line Eq. (28), and in the fourth line , cf. Eqs. (7) and (11).
(II): Per Def. (3), is non-contextual if there is a function that satisfies . We have explicitly constructed such a function in (III) above, .
(IV): Assume that satisfies Eq. (3). Since for all cnc sets , with Eq. (25a) it follows that , and hence also satisfies Eq. (3).
Appendix C Proof of Lemma 9
Proof of Lemma 9. Recall from Lemma 3 that each set can be written in the form , where each is an isotropic subspace, , . Therefore, for all , it holds that
[TABLE]
Therein, the phase point operators appearing on the r.h.s. are all of the type , i.e., they correspond to stabilizer states. The Wigner function representing the operator can thus be expanded as
[TABLE]
Denote by the 1-norm of the expansion in terms of phase point operators , and by the 1-norm of the expansion in terms of (density matrices of) stabilizer states. With the last equation, the triangle inequality, , and for all cnc sets (cf. Lemma 3), it follows that
[TABLE]
Now, for any given state consider the optimal representation , i.e., the one with minimal norm . Then,
[TABLE]
Therein, in the first line we have an inequality because the representation of is optimized for , not necessarily for . The third line follows by the triangle inequality and Eq. (52), and the fifth line holds as an equality because , per assumption, was chosen to minimize .
This proves the right half of Eq. (38). The left half, , follows from the fact that all stabilizer states correspond to phase point operators of type . Hence, an expansion in terms of stabilizer states induces an expansion in terms of phase point operators , with the same non-zero coefficients.
Appendix D Computing -representations of many copies of magic states
Here we describe how to construct valid quasiprobabilities for copies of a magic state , at bounded computational cost. As with robustness of magic RoM , we merge expansions for small numbers of magic states into valid expansions for larger numbers of copies.
Denote by cnc sets with parameters , , and choose the phases in Eq. (1) such that
[TABLE]
Here we identified and as elements of by writing and , respectively. We then have the following result.
Lemma 11
Be and two cnc sets with parameters , , and , , respectively. Then, , with the function defined by
[TABLE]
for all , is a valid phase point operator on qubits.
Proof of Lemma 11. We need to verify the properties of Def. 4, namely (a) that is cnc, and (b) that the function defined in Lemma 11 satisfies Eq. (10), i.e., .
Regarding (a), with Eq. (15), , and , with , isotropic subspaces. Then,
[TABLE]
and is also an isotropic subspace. Hence the set is cnc by Lemma 3.
Regarding (b), we need to show that for all with it holds that . To this end, for any given commuting pair , , we split
[TABLE]
with , . The decompositions are unique. Since and commute, . Furthermore, commutes with , since is an isotropic subspace. Thus,
[TABLE]
Further, Eq. (53) implies that
[TABLE]
Now we rewrite
[TABLE]
Therein, in the second line we have used the definition of in Lemma 11. In the third line Eq. (55), and in the fourth line the definition of again. In the fifth line we have used Eq. (11), Eq. (8), and Eq. (56) on . In the last line we used Eq. (7) ().
Denote by an expansion Eq. (4) of the state , but only containing phase point operators with parameter , i.e., an expansion into stabilizer states. is a valid expansion of , according to Eq. (4). Then, it follows from Lemma 11 that
[TABLE]
is a valid expansion of .
Let be the largest integer for which decompositions and are obtainable. Then, with Eq. (57), , and the second factor may be further decomposed as , if divides . Thus, we arrive at an explicit decomposition for , with 1-norm
[TABLE]
Thus the reduction to blocks of magic states familiar from the stabilizer case RoM can be applied in the present setting as well. By Lemma 9, the resulting 1-norm is lower by a constant factor than of the corresponding expansion into stabilizer states.
The reference list from the paper itself. Each links out to its DOI / PubMed record.
- 1(1) P. Ehrenfest, Bemerkung über die angenäherte Gültigkeit der klassichen Mechanik innerhalb der Quanatenmechanik , Z. Physik 45 , 455 (1927).
- 2(2) A. Einstein, B. Podolsky, and N. Rosen, Can Quantum-Mechanical Description of Physical Reality be Considered Complete? . Phys. Rev. 47 , 777 (1935).
- 3(3) E. Schrödinger, Die gegenwärtige Situation in der Quantenmechanik , Naturwissenschaften 23 , 807 (1935).
- 4(4) R. Feynman, Simulating Physics with Computers , Int. J. Theor. Phys. 21 , 467 (1982).
- 5(5) E. Bernstein and U. Vazirani, Quantum complexity theory . SIAM J. Comput., 26(5):1411–1473, (1997). First appeared in ACM STOC 1993.
- 6(6) D. Deutsch, Quantum Theory, the Church-Turing Principle and the Universal Quantum Computer , Proc. Roy. Soc. London A 400, 97 (1985).
- 7(7) S. Bravyi and A. Kitaev, Universal Quantum Computation with Ideal Clifford Gates and Noisy Ancillas , Phys. Rev. A 71 , 022316 (2005).
- 8(8) E. Wigner, On the Quantum Correction For Thermodynamic Equilibrium , Phys. Rev. 40 , 749 (1932).
