Efficient classical simulation of Clifford circuits with nonstabilizer input states
Kaifeng Bu, Dax Enshan Koh

TL;DR
This paper presents efficient classical algorithms for approximating output probabilities of Clifford circuits with nonstabilizer inputs, especially when inputs are mixed or pure nonstabilizer states, under certain restrictions.
Contribution
It introduces new algorithms that efficiently approximate output probabilities for Clifford circuits with nonstabilizer inputs, expanding classical simulation capabilities.
Findings
Efficient approximation algorithms for mixed input states.
Approximation algorithms for pure nonstabilizer product states with restrictions.
Applications to Clifford circuits with magic states, PBC, and IQP circuits.
Abstract
We investigate the problem of evaluating the output probabilities of Clifford circuits with nonstabilizer product input states. First, we consider the case when the input state is mixed, and give an efficient classical algorithm to approximate the output probabilities, with respect to the norm, of a large fraction of Clifford circuits. The running time of our algorithm decreases as the inputs become more mixed. Second, we consider the case when the input state is a pure nonstabilizer product state, and show that a similar efficient algorithm exists to approximate the output probabilities, when a suitable restriction is placed on the number of qubits measured. This restriction depends on a magic monotone that we call the Pauli rank. We apply our results to give an efficient output probability approximation algorithm for some restricted quantum computation models, such as Clifford…
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.
Efficient classical simulation of Clifford circuits with nonstabilizer input states
Kaifeng Bu
School of Mathematical Sciences, Zhejiang University, Hangzhou, Zhejiang 310027, China
Department of Physics, Harvard University, Cambridge, Massachusetts 02138, USA
Dax Enshan Koh
Department of Mathematics, Massachusetts Institute of Technology, Cambridge, Massachusetts 02139, USA
Abstract
We investigate the problem of evaluating the output probabilities of Clifford circuits with nonstabilizer product input states. First, we consider the case when the input state is mixed, and give an efficient classical algorithm to approximate the output probabilities, with respect to the norm, of a large fraction of Clifford circuits. The running time of our algorithm decreases as the inputs become more mixed. Second, we consider the case when the input state is a pure nonstabilizer product state, and show that a similar efficient algorithm exists to approximate the output probabilities, when a suitable restriction is placed on the number of qubits measured. This restriction depends on a magic monotone that we call the Pauli rank. We apply our results to give an efficient output probability approximation algorithm for some restricted quantum computation models, such as Clifford circuits with solely magic state inputs (CM), Pauli-based computation (PBC) and instantaneous quantum polynomial time (IQP) circuits.
I Introduction
One of the main motivations behind the field of quantum computation is the expectation that quantum computers can solve certain problems much faster than classical computers. This expectation has been driven by the discovery of quantum algorithms which can solve certain problems believed to be intractable on a classical computer. A famous example of such a quantum algorithm is due to Shor, whose eponymous algorithm can solve the factoring problem exponentially faster than the best classical algorithms we know today Shor (1994, 1999).
With the advent of noisy intermediate-scale quantum (NISQ) devices Preskill (2018), an important near-term milestone in the field is to demonstrate that quantum computers are capable of performing computational tasks that classical computers cannot, a goal known as quantum supremacy Preskill ; Harrow and Montanaro (2017). Several restricted models of quantum computation have been proposed as candidates for demonstrating quantum supremacy. These include boson sampling Aaronson and Arkhipov (2011), the one clean qubit model (DQC1) Knill and Laflamme (1998); Fujii et al. (2018), instantaneous quantum polynomial-time (IQP) circuits Bremner et al. (2010), Hadamard-classical circuits with one qubit (HC1Q) Morimae et al. (2018), Clifford circuits with magic initial states and nonadaptive measurements Jozsa and Van den Nest (2014); Koh (2017); Yoganathan et al. , the random circuit sampling model Boixo et al. (2018); Bouland et al. (2018a), and conjugated Clifford circuits (CCC) Bouland et al. (2018b). These models are potentially good candidates for quantum supremacy because they can solve sampling problems that are conjectured to be intractable for classical computers, and are conceivably easier to implement in experimental settings.
In contrast to the above models, quantum circuits with Clifford gates and stabilizer input states are not a candidate for quantum supremacy, because they can be efficiently simulated on a classical computer using the Gottesman-Knill simulation algorithm Gottesman (1999). The Gottesman-Knill algorithm, however, breaks down and efficient classical simulability can be proved to be impossible (under plausible assumptions) when Clifford circuits are modified in various ways, under various notions of simulation Jozsa and Van den Nest (2014); Koh (2017); Bouland et al. (2018b); Yoganathan et al. . For example, it can be proved under plausible complexity assumptions that no efficient classical sampling algorithm exists that can sample from the output distributions of Clifford circuits with general product state inputs when the number of measurements made is of order Jozsa and Van den Nest (2014).
In this paper, we present two new efficient classical algorithms for approximately evaluating the output probabilities of Clifford circuits with nonstabilizer inputs. Our first algorithm shows that the output distribution of Clifford circuits with mixed product states can be efficiently approximated, with respect to the norm, for a large fraction of Clifford circuits. This algorithm explicitly reveals the role of mixedness of the input states in affecting the running time of the simulation, which decreases as the inputs become more mixed.
Our second algorithm shows that such an efficient approximation algorithm still exists in the case where the inputs are pure nonstabilizer states, as long as we impose a suitable restriction on the number of measured qubits. This restriction depends on a magic monotone called the Pauli rank that we introduce in this paper. This algorithm also explicitly links the simulation time to the amount of magic in the input states, and implies that for Clifford circuits with magic input states, it is possible in certain cases to achieve an efficient classical approximation of the output probability even when qubits are measured. This is in contrast to the hardness result in Jozsa and Van den Nest (2014), which shows that sampling from those output probabilities is hard. Finally, we apply our results to give an efficient approximation algorithm for some restricted quantum computation models, like Clifford circuits with solely magic state inputs (CM), Pauli-based computation (PBC) and instantaneous quantum polynomial time (IQP) circuits.
II Main results
Let be the set of all Hermitian Pauli operators on qubits, i.e., operators that can be written as the -fold tensor product of the single-qubit Pauli operators with sign . The Clifford unitaries on qubits are the unitaries that maps Pauli operators to Pauli operators, that is, . Stabilizer states are pure states of the form Aaronson and Gottesman (2004), where is some Clifford unitary.
Here, we consider Clifford circuits with product input states , and measurements on qubits. If either or is , the output probabilities can be efficiently simulated classically by the Gottesman-Knill theorem Gottesman (1999); Jozsa and Van den Nest (2014). However, if both and are greater than , we show that the output probability of such circuits can still be approximated efficiently with respect to the norm for a large fraction of Clifford circuits.
II.1 Mixed input states
We first consider the case where all are mixed states and give an efficient classical algorithm to approximate the output probabilities.
Theorem 1**.**
Given a Clifford circuit on qubits with input state and measurement on each qubit in the computational basis, there exists a classical algorithm to approximate the output probabilities of the circuit up to norm in time for at least fraction of circuits , where , with , is a measure of the mixedness of the input state .
The proof of the Theorem is presented in Appendix A. The theorem shows that the efficiency of the classical simulation increases with the mixedness of the input states.
Next, we show that the result in Theorem 1 can be easily generalized to quantum circuits which are slightly beyond Clifford circuits. To this end, we consider the Clifford hierarchy, a class of operations introduced by Gottesman and Chuang Gottesman and Chuang (1999) that has important applications in fault-tolerant quantum computation and teleportation-based state injection. Let be the third level of the Clifford Hierarchy, i.e., . There are several important gates in the third level of Clifford Hierarchy, such as the gate (which we denote ) and the gate Zeng et al. (2008). (Note that the set is not closed under multiplication. For example, , but .) The following corollary shows that adding gates in to the circuits in Theorem 1 does not change (up to polynomial overhead) the efficiency of the classical simulation.
Corollary 2**.**
Let be a quantum circuit with input states , where the gates in the circuit are taken from the set of Clifford gates on qubits and is taken from the third level of Clifford hierarchy acting on -th qubits. Assume that each each qubit is measured in the computational basis. Then, Theorem 1 stil holds if we replace in Theorem 1 with defined above.
The key property we use here is that the gates in the third level of the Clifford Hierarchy map Pauli operators to Clifford unitaries, which makes the proof of Theorem 1 still hold. (See a discussion of this in Appendix A. ) Although is not a group, the diagonal gates in , denoted as , forms a group Zeng et al. (2008); Cui et al. (2017). Since the gate and gate both belong to , the result in Theorem 1 still holds for the quantum circuits where gates in and are chosen from and respectively.
Since noise is inevitable in real physical experiments, it is important to consider the effects of noise in quantum computation. Recently, it has been demonstrated that if there is some noise on the random quantum gates Gao and Duan or measurements of IQP circuits Bremner et al. (2017), then there exists an efficient classical simulation of the output distribution of quantum circuits. In the rest of this subsection, we apply our results to two important subuniversal quantum circuits with noisy input states and give an efficient classical approximation algorithm for the output probabilities of the corresponding quantum circuits.
Example 1—First, we consider Clifford circuits with magic input states.
It is well known that the Clifford + gate set is universal for quantum computation. By magic state injection, circuits with this gate set can be efficiently simulated by Clifford circuits with magic state inputs, where . It has been shown that Yoganathan et al. , and thus output probabilities are -hard approximate up to some constant relative error Kuperberg (2015); Fujii and Morimae (2017); Hangleiter et al. (2018). However, if there is some independent depolarizing error acting on each input magic state, e.g., the input state on each register is , then Theorem 1 implies directly that there exists a classical algorithm to approximate the output probability up to norm in time for a large fraction of the CM circuits with noisy inputs.
Example 2—IQP circuits have a simple structure with input states and gates of the form , where the diagonal gates in are chosen from the gate set .
It has been shown that Bremner et al. (2010) and thus, the output probabilities are -hard to approximate up to some constant relative error Kuperberg (2015); Fujii and Morimae (2017); Hangleiter et al. (2018). Also, if there is some depolarizing noise acting on each input state , i.e., each input state is a mixed state , then Theorem 1 implies that there exists a classical algorithm to approximate the output probability up to norm in time for a large fraction of such IQP circuits. (The proof is presented in Appendix B in detail, which depends on the output distribution of IQP circuits in Appendix C. )
II.2 Pure nonstabilizer input states
As we can see, the running time in Theorem 1 blows up if the input state is pure. Here, we consider the case where all are pure nonstabilizer states, that is Clifford gates with the input state .
For pure states , the stabilizer fidelity Bravyi et al. is defined as follows
[TABLE]
where the maximization is taken over all stabilizer states. Here, we define
[TABLE]
It is easy to see that iff is a stabilizer state. Thus, quantifies the distance between a given state to the set of stabilizer states. Since each is not a stabilizer state, it follows that .
Next, let us introduce the Pauli rank for pure single qubit states . First, we write a pure state in terms of its Bloch sphere representation , where and . We define the Pauli rank to be the number of nonzero coefficients . By the definition of Pauli rank, it is easy to see that , and that is a stabilizer state iff . Since each input state is a nonstabilizer state, it follows that . For example, for the magic state , the corresponding Pauli rank . For -qubit systems, the Pauli rank serves as a good candidate for a magic monotone as it is easier to compute than other magic monotones which require a minimization over all stabilizer states Bravyi and Gosset (2016); Howard and Campbell (2017); Veitch et al. (2014). (See a discussion of Pauli rank for -qubit systems in Appendix D.)
Theorem 3**.**
Given a Clifford circuit on qubits with input state and measurements on qubits in the computational basis with and being the Pauli rank of , there exists a classical algorithm to approximate the output probability up to norm in time for at least a fraction of Clifford circuits , where and is defined as (2).
The proof is presented in Appendix D. The maximal number of allowed measured qubits in this algorithm decreases with the amount of the magic in the input states, which is quantified by the Pauli rank. Curiously, the running time of this algorithm scales with the decrease in the amount of magic of the input states quantified by fidelity. This is contrary to the intuition that quantum circuits with more magic are harder to simulate. Similarly, if the quantum circuits are slightly beyond the Clifford circuits, for example, where the gates in are Clifford gates in and is some unitary gate in the third level of the Clifford Hierarchy , then the result in Theorem 3 still holds.
Combining Theorem 1 and 3, we have the following corollary for any product input state:
Corollary 4**.**
Let be a Clifford circuit on qubits with input states , where each is a mixed state, and each is a pure nonstabilizer state. Assume that measurements are performed on qubits in the computational basis, where and is the Pauli rank of . Then, there exists a classical algorithm to approximate the output probability with respect to the norm in time for at least fraction of Clifford circuits , where and .
Now, let us apply our results to some restricted quantum computation models, such as Clifford circuits with solely magic state inputs (CM) and Pauli-based measurement (PBC), which gives an efficient simulation of measurement with high probability.
Example 3—Theorem 3 implies the following result: for Clifford circuit with input states and measurement on qubits in computational basis with , there exists a classical algorithm to approximate the output probability up to norm in time for at least fraction of Clifford circuits , where and . This may be contrasted with the hardness result ruling out efficient classical sampling from this class of circuits Yoganathan et al. .
Example 4—A Pauli-Based Computation (PBC) is defined as a sequence of measurement of some Pauli operators , where the measurement outcome is with and the Pauli operators are commuting with each other. Here, the initial state is (or , which is equivalent to up to Clifford unitary Bravyi et al. (2016).). After steps, the probability of outcome , where . Note that PBC was considered in the fault-tolerant implementation of quantum computation based on stabilizer codes, where the stabilizer codes provide a simple realization of nondestructive Pauli measurements Gottesman (1998); Steane (1997). Besides, it has been proved that the quantum computation based on Clifford+ circuits can be simulated by PBC Bravyi et al. (2016). Thus, this implies that the output probability is -hard to simulate. It has been shown that any PBC on qubits can be classically simulated in time with Bravyi et al. (2016). Here, Theorem 3 implies that if the measurement steps , then there exists a classical algorithm to approximate the output probability up to norm in time for a large fraction of PBC.
III Conclusion
In this work, we investigated the problem of evaluating the output probabilities of Clifford circuits with nonstabilizer input states. First, we provided an efficient classical algorithm to approximate the output probability of the Clifford circuits with mixed input states and showed that the running time scales with the increase in the purity of input states. Second, we showed that a modification of this algorithm gives an efficient classical simulation for pure nonstabilizer states, under some restriction on the number of measured qubits that is determined by the Pauli rank of the input states. The Pauli rank we introduced in this work can be regarded as a good candidate for a magic monotone. We showed that these two results have several implications in other restricted quantum computation models such as Clifford circuits with magic input states, Pauli-based computation and IQP circuits.
Acknowledgements.
K. B. thanks Xun Gao for introducing the tensor network representation of quantum circuits to him, and for fruitful discussions related to this topic. K.B. acknowledges the Templeton Religion Trust for the partial support of this research under grants TRT0159 and Zhejiang University for the support of an Academic Award for Outstanding Doctoral Candidates. D.E.K. is funded by EPiQC, an NSF Expedition in Computing, under grant CCF-1729369.
Appendix A Proof of Theorem 1
A.1 Efficient evaluation of Fourier coefficients
First, let us define the Fourier transformation on a single qubit state, inspired by Gao and Duan . Given a single qubit state , we can write it in terms of its Bloch sphere representation
[TABLE]
where and .
Given , it is easy to verify that
[TABLE]
Thus, we can define the Fourier transformation on the state as follows
[TABLE]
Note that for , the above Fourier transformation is equal to the completely depolarizing channel. And the equation (4) is the inverse Fourier transformation of (5).
Given the input states with Clifford unitary , the output probability is
[TABLE]
for any . Let us denote the Pauli operators for any to be operators acting on the latter qubits. Now, let us insert into the mixed states as follows
[TABLE]
Hence, the output probability . Then, let us take the Fourier transformation with respect to and the corresponding Fourier coefficient is
[TABLE]
By equation (5), we have
[TABLE]
where is the coefficient of in the corresponding Bloch sphere representation. Since is a Clifford unitary, then
[TABLE]
where the Pauli operators for and for and they are commuting with each other. Thus, by Gottesman-Knill Theorem, the Fourier coefficients can be evaluated in classical time .
A.2 Exponential decay of Fourier coefficients
Since is a mixed state in , it can always be written as , where is a pure state and . The pure state also has the Bloch sphere representation
[TABLE]
where and . We have the following relationship between the coefficients and for any .
Lemma 5**.**
Given a mixed state , where has Bloch sphere representation given by (3) and (9) respectively, then we have
[TABLE]
for any , where is defined as
[TABLE]
Proof.
This is because
[TABLE]
where is defined as (11).
∎
Each mixed input state can be written as where is a pure state. Consider the quantum circuit with input state and Clifford unitary , the output probability is equal to
[TABLE]
Similar to , we insert into the circuit and define as follows
[TABLE]
Then the corresponding Fourier coefficient can also be expressed as follows,
[TABLE]
where is the coefficient of in the corresponding Bloch sphere representation. By Lemma 5, it is easy to see that
[TABLE]
where and is defined as
[TABLE]
A.3 Good approximation with respect to norm
The following lemma regarding Clifford unitaries on qubits is necessary the proof,
Lemma 6** (Dankert et al. (2009)).**
The uniform distribution of Clifford unitaries on qubits is an exact 2-design, that is, for any , we have
[TABLE]
where and
[TABLE]
Now, let us prove Theorem 1. Let us define
[TABLE]
which gives an family of unnormalized probability distribution as for each output Then we show that gives a good approximation of with respect to norm
[TABLE]
for a large fraction of Clifford circuits. First, since depends on the Clifford unitaries , denote it as , then it is easy to show that
[TABLE]
where is also a Clifford unitary for any and act on the th qubits. Thus
[TABLE]
Moreover,
[TABLE]
where the first line comes from the Cauchy-Schwarz inequality, the third line comes from the Parseval identity, and the fourth line comes from the fact that . According to Lemma 6, we have
[TABLE]
Thus
[TABLE]
By Markov’s inequality, we have
[TABLE]
Therefore, to obtain the norm up to , we need take and evaluate the Fourier coefficients with , where total amount of such Fourier coefficients is . Thus, there exists a classical algorithm to approximate each output probability in time with norm less than for at least fraction of Clifford circuits. Thus, we finish the proof of Theorem 1.
A.4 Slightly beyond Clifford circuits
Now, let us consider the quantum circuit with input state and the gates in circuits taken from the set of Clifford gates on qubits and is taken from the third level of Clifford hierarchy acting on th qubits. The proof of Corollary 2 is almost the same as that of Theorem 1. We only need to show the corresponding Fourier coefficients of also can be evaluated in time, where
[TABLE]
and . Then the Fourier coefficient is equal to
[TABLE]
Since , then . Thus,
[TABLE]
where are both Clifford unitaries. Thus, the Fourier coefficient can also be evaluated in time by Gottesman-Knill Theorem. Therefore, it is easy to prove Corollary 2 by following the proof of Theorem 1.
Appendix B Efficient classical simualtion of IQP circuits with noisy input states
In this section, we will prove the following proposition in Example 2:
Proposition 7**.**
Given an IQP circuit with the diagonal unitaries chosen from the gate set , if there is depolarizing nosie acting on each input state, i.e., input state is , then there exists an efficient classical algorithm to approximate the output probabilities up to norm in time for at least fraction of IQP circuits.
Proof.
The proof is similar to that of Theorem 1. If the state has some specific form as , then we can simplify the Fourier transformation (5) as
[TABLE]
Given an IQP circuit with noisy input states , , and gates in chosen from the gate set , then the output probability is equal to
[TABLE]
Similar to the proof of Theorem 1, we insert into the circuits for any and define as follows
[TABLE]
Then let us take the Fourier transformation with respect to and the corresponding Fourier coefficient is
[TABLE]
where the second last equality comes from (25).
Besides,
[TABLE]
where the diagonal part can be written as with and the gates in chosen from the gate set . It is easy to verify that
[TABLE]
for any . That is, is a Clifford circuit. Thus, each Fourier coefficient can be evaluated in by Gottesman-Knill Theorem.
We also consider the same IQP circuits with input states , then output probability . Similarly, we insert the operator as follows
[TABLE]
And the corresponding Fourier coefficient is
[TABLE]
Comparing (28) with (32), we have the following relation
[TABLE]
where is the Hamming weight of .
Let us define
[TABLE]
which gives an family of unnormalized probability distribution as for each output . Then we will show that gives a good approximation of with respect to norm
[TABLE]
for a large fraction of IQP circuits. We denote to be the set of of diagonal part of IQP circuits where the diagonal gates are chosen from . Since depends on the IQP circuits, denote it as , then it is easy to verify that
[TABLE]
where also belongs to . Thus
[TABLE]
And
[TABLE]
where the first line comes from the Cauchy-Schwarz inequality, the third line comes from Parvesal identity, and the fourth line comes from the fact that . According to Lemma 8 in Appendix C, we have
[TABLE]
Thus, we have
[TABLE]
Therefore, by Markov’s inequality, we have
[TABLE]
Therefore, to obtain the norm up to , we need take and the total computational complexity is . ∎
Appendix C Distribution of IQP circuits based on Gowers uniformity norm
Here we consider IQP circuits, which can be represented by , where the gates in the diagonal part are chosen from the gate set . Then the output distribution is for any , where and the function can be expressed as
[TABLE]
where , denote the number of between th and th qubits, Z gate on th qubit, S gate on th gate and T gate on th gate. Since and , then there are at most one , , gate on each qubit respectively. Thus, and the Hamming weight is the number of , and gates in the IQP circiut.
In fact, the function can be rewritten as follows
[TABLE]
where and for . That is, the matrix is a symmetric matrix.
Now, let us introduce the Gowers uniformity norm here. Let be a finite additive group and and an integer . Then the Gowers uniformity norm Tao and Vu (2006) is defined as
[TABLE]
where . Here we take and the Fourier transformation for is defined as , where . One important property of Gowers uniformity norm, which we will use in the following section to demonstrate the distribution of IQP circuits, is the following equality Tao and Vu (2006)
[TABLE]
For IQP circuits with diagonal gates chosen from randomly, it has been proved that the average value of the second moment of output probability satisfies that , where is some constant Bremner et al. (2016). Here, we consider the case where the gates in the diagonal part are chosen uniformly, i.e., , then we can give the exact value of average value of the second moment of the output probability of random IQP circuits.
Lemma 8**.**
Given an IQP circuit, if the gates in the diagonal part can be chosen uniformly, then
[TABLE]
Proof.
Due to the equation (38), we have
[TABLE]
For the function , the Gowers uniformity norm can be expressed as follows
[TABLE]
It is easy to verify that
[TABLE]
for any . Thus, we have
[TABLE]
The expected value of over the random IQP circuits is
[TABLE]
Since
[TABLE]
then the above equation is equal to
[TABLE]
where the equality comes from the fact that
[TABLE]
when are chosen from . Moreover, for , we have
[TABLE]
Thus,
[TABLE]
Therefore, we obtain the result that
[TABLE]
∎
Besides, based on the Gowers uniformity norm, we can also give an approximation of the second moment for any IQP circuit.
Proposition 9**.**
Given an IQP circuit with the diagonal gates chosen from , then the output probability of this circuit satisfies the following property,
[TABLE]
where the constant , is the matrix obtained from by removing the rows and columns such that and denotes the rank of the matrix in . Moreover, if , i.e., there is no gate, then
[TABLE]
Proof.
Due to the equation (38) and Lemma 8, we have
[TABLE]
Thus, we need estimate the Gower uniform norm for the phase polynomial by the Hamming weight and the rank of the symmetric matrix .
Without loss of generality, we assume the first qubits have gates, i.e., , and the remaining qubits do not have gate, then we can decompose the symmetric matrix A as follows
[TABLE]
where is an symmetric matrix, is an symmetric matrix and . Similarly, we also decompose the vectors as
[TABLE]
where and . Thus,
[TABLE]
Since
[TABLE]
then
[TABLE]
Besides, for any ,
[TABLE]
where denotes the rank of the matrix in . Therefore,
[TABLE]
where .
Moreover, if , then
[TABLE]
∎
Appendix D Efficent classical simulation with pure nonstabilizer input states
D.1 Proof of Theorem 3
Lemma 10**.**
For any pure state in , the stabilizer fidelity can be expressed as
[TABLE]
Proof.
This follows directly from the fact the single-qubit stabilizer states are the eigenstates of , that is, the stabilizer states have the form , where . ∎
Thus can also be expressed as
[TABLE]
Now, let us begin the proof of Theorem 3. Since has the Bloch sphere representation as , it is easy to see that
[TABLE]
for any .
Without loss of generality, we assume the first qubits are measured as the swap gate belongs to . Then the output probability is
[TABLE]
for any , where denotes the identity on the th qubits. Let us insert the Pauli operator into the circuit and the corresponding output probability
[TABLE]
The corresponding Fourier coefficient is
[TABLE]
Now let us define the reference Hermitian operator with respect to as follows
[TABLE]
where the function is defined as if , if . It is easy to verify that , where is the Pauli rank of . Besides, we have
[TABLE]
Combined with (47), we have the following relation
[TABLE]
for any . We also define as follows
[TABLE]
where each is the reference Hermitian operator with respect to defined as (51) and the corresponding Fourier coefficient is
[TABLE]
Thus, in terms of the relation (53), we have
[TABLE]
where and is defined as (16).
Let us define
[TABLE]
which gives a family of unnormalized probability distribution as for each output Similar to the proof of Theorem 1, we show that gives a good approximation of with respect to norm for a large fraction of Clifford circuits.
It is easy to verify that the equations (20) and (21) still hold, and we can repeat the process of inequality (22) and obtain the following inequality
[TABLE]
By the Lemma 6, we have
[TABLE]
Since , then we have
[TABLE]
By Markov’s inequality, we have
[TABLE]
Therefore, to obtain the norm up to , we need take and evaluate the Fourier coefficients with , where the total amount of such Fourier coefficients is . Thus, there exists a classical algorithm to approximate each output probability in time with norm less than for at least fraction of Clifford circuits. Thus, we finish the proof of Theorem 3.
Moreover, if the quantum circuit is slightly beyond the Clifford circuits, e.g. where the gates in are Clifford gates and is some unitary gate in third level of Clifford Hierarchy, then the result in Theorem 3 still works, as the unitary in third level of Clifford hierarchy maps Pauli operators to Clifford unitaies and thus the discussion in Appendix A.4 still works.
D.2 Property of Pauli rank
At the end of this section, let us introduce several basic properties of Pauli rank. For any pure state on qubits, we have the Bloch sphere representation
[TABLE]
where and . The Pauli rank is defined as the number of nonvanishing coefficients , that is,
[TABLE]
Then we have the following property for the Pauli rank.
Proposition 11**.**
Given an -qubit pure state , we have
(i) , iff is a stabilizer state.
(ii) .
Proof.
(i) follows directly from the definition. We only need prove iff is a stabilizer state. In the backward direction, if is a stabilizer state, then it can be written as , where and are commuting with each other. Thus, the Pauli rank of is . In the forward direction, if , then it can be represented as where , each , and are not equivalent in the sense that for any . First, we show that for any . Otherwise, there exists such that . Since is a pure state, then
[TABLE]
where the third inequality comes from the fact that . Since each is equal to for some and is the summation the these phases , thus
[TABLE]
Then there is some such that , i.e., , which contradicts with the representation of . Thus, are commuting with each other. Next, we prove that this set of can be generated by some subset up to sign. For any not equal to identity, e.g., , then there exists such that , and for any , must have the form , where and they are commuting with each other. The generating set . For some not equal to identity, e.g., , there exists such that , and . Then the generating set is updated to . Let us repeat the above process for another times, finially we will get some generating set , where . Moreover, the remaining Pauli operators must have the form , which can be generated by the generating set up to sign. That is, there is a Clifford unitary map that maps to another pure state where , and . Repeating the argument (59) and (60) for the pure state , we have . Thus where denotes the Pauli operator acting on the th qubit. Therefore is a stabilizer state.
(ii) This property follows directly from the definition.
∎
Based on the above proposition and the fact that the Pauli rank is invariant under conjugation by Clifford unitaries, it is easy to see that the Pauli rank is a good candidate to quantify the magic in a state. Here, using the Pauli rank as a magic monotone is advantageous because it is easier to compute than previous magic monotones Bravyi and Gosset (2016); Howard and Campbell (2017); Veitch et al. (2014), which typically involve a minimization over all stabilizer states.
The reference list from the paper itself. Each links out to its DOI / PubMed record.
- 1Shor (1994) P. W. Shor, FOCS 35 , 124 (1994) . · doi ↗
- 2Shor (1999) P. W. Shor, SIAM review 41 , 303 (1999) . · doi ↗
- 3Preskill (2018) J. Preskill, Quantum 2 , 79 (2018) . · doi ↗
- 4(4) J. Preskill, ar Xiv:1203.5813 .
- 5Harrow and Montanaro (2017) A. W. Harrow and A. Montanaro, Nature 549 , 203 (2017) . · doi ↗
- 6Aaronson and Arkhipov (2011) S. Aaronson and A. Arkhipov, in Proceedings of the forty-third annual ACM symposium on Theory of computing (ACM, 2011) pp. 333–342.
- 7Knill and Laflamme (1998) E. Knill and R. Laflamme, Phys. Rev. Lett. 81 , 5672 (1998) . · doi ↗
- 8Fujii et al. (2018) K. Fujii, H. Kobayashi, T. Morimae, H. Nishimura, S. Tamate, and S. Tani, Phys. Rev. Lett. 120 , 200502 (2018) . · doi ↗
