Quantum certification of state set and unitary channel
Abstract
We study efficient quantum certification algorithms for quantum state set and unitary quantum channel. We present an algorithm that uses copies of an unknown state to distinguish whether the unknown state is contained in or -far from a finite set of known states with respect to the trace distance. This algorithm is more sample-efficient in some settings. Previous study showed that one can distinguish whether an unknown unitary is equal to or -far from a known or unknown unitary in fixed dimension with uses of the unitary, in which the Choi state is used and thus an ancilla system is needed. We give an algorithm that distinguishes the two cases with uses of the unitary, using much fewer or no ancilla compared with previous results.
1 Introduction and previous work
In the emerging quantum information technology, a fundamental task in building reliable quantum information processing devices is to obtain parameters of an unknown quantum state or device. The process is called tomography if all parameters are required to be known, which has been extensively studied since fifty years ago. Efficient quantum algorithms based on group representation theory have been proposed in [8, 16, 17]. In many scenarios, however, we are concerned only with whether the unknown state or operation satisfies specific property. For example, to assess the quality of a quantum chip after production, one needs only to check whether the circuit is close to a given unitary transformation, and it is unnecessary to get all parameters about this chip. This process is called certification, which usually saves samples and storage space compared with the quantum tomography. A survey on quantum certification is given in [14].
The abstract setting for certification can be described as follows. Given a known set and an unknown element , a tester (or an algorithm) either accepts (i.e., reports ) or rejects (i.e., reports ) with some probability after measuring , where with dist denoting some metric. The tester is eligible if the following conditions hold:
(1) (Completeness) If , accepts with probability at least 2/3;
(2) (Soundness) If , accepts with probability at most 1/3.
The numbers have no special meaning and can be replaced by any constants respectively due to the confidence amplification by using repeating the test. If the tester accepts with certainty when , we say the tester has perfect completeness.
Recall that the trace distance between two quantum states is , and their fidelity is . Given a known state and an unknown state , the aim is to decide whether , i.e., for some real , or . In this task of certification, is the known set and is the unknown element . It turns out copies of given states are sufficient for this task. The test is simply to perform the POVM on samples independently, and accept if and only if every outcome corresponds to the former POVM element. If , then and one can take for small .
In order to test whether a pair of unknown states and on are equal, the swap test [2] is usually used. The swap test is simply a two-outcome measurement , where and are projectors onto the symmetric subspace and the antisymmetric subspace of respectively. The first outcome occurs with probability , and when this is the case, we say the swap test accepts or passes. By applying group theory, it is shown in [1] that copies of quantum states suffices to distinguish whether an unknown is equal to some known or -far from in trace distance. This method is efficient since the tomography needs copies of quantum states.
Let be a finite set of pure states such that , and let be an unkown pure state. Then copies suffice to distinguish whether or [20]. Following the method in [1] we can use copies of the unknown state to distinguish whether or . We also show that copies of unknown state suffice to distinguish whether or . When is small compared with , our method exhibits advantage by using notably less samples.
The certification of unitaries is quite different from that of quantum states in that the quantum unitary certification requires a double optimization, one is the input state for the quantum unitary and the other is the choice of measurement after the action of quantum unitary. The works in [5, 19, 18] used methods based on Monte Carlo sampling to estimate the fidelity of an unknown gate to a fixed one, and also studied the optimality of estimation strategy. Given an unknown unitary and a known or unknown unitary , by using the Choi correspondence between quantum unitaries and states, there exists a tester that distinguishes whether their distance is zero or larger than with uses of unitaries. By using Schur-Weyl decomposition, we show that for fixed dimension of the unitary, only uses of the unitaries suffice to achieve the same goal. Another advantage of our algorithm needs much fewer or no ancilla system compared with the method using Choi state.
Other properties of unitaries have been studied. Productness can be tested with copies [10] using the procedure first discussed in [13] which applies the swap test across each corresponding pair of subsystems of two copies of . Testing product unitaries can be reduced to testing product pure states using Choi isomorphism [10]. The tasks of testing Pauli matrices and Clifford gates are also studied in [15] and [12, 20] respectively.
The structure of the present paper is as follows. Section 2 gives a brief introduction to group representation theory which is a basic method for our analysis. Section 3 studies the certification of the membership of an unknown state in a known set. Section 4 studies the certification of the equality of two unitary quantum channels. Finally Section 5 gives a discussion.
2 Review on representation theory
In this section we give a brief introduction to important results in group representation theory and fix some notation, which will be used later. For more details on representation theory, we refer to [6, 7, 9]. Consider the following Schur-Weyl duality
where is the irreducible representation (irrep) of unitary group corresponding to partition and is the corresponding irrep of the symmetric group . Here , also written , means that is a partition of with length at most .
The dimension of , for partition of , is given by
(1) |
where . It can be bounded by [11]
(2) |
and furthermore
(3) |
where .
3 Testing membership of a finite set of states
In the study of testing whether an unknown state is close to or far from a given state and whether two unknown states are close to each other, Bădescu et al. [1] used the Chebyshev inequality to bound the deviation of a random variable from its expectation so that the completeness and soundness conditions can be satisfied. To be specific, for a real-valued random variable and a scalar , consider a tester which reports when is observed and reports when is observed. When , the probability that the tester reports correctly is
(6) |
When , the probability that the tester reports correctly is
(7) |
If is small enough as compared with , the tester is eligible. In our settings, let denote the random variable of measurement outcome of on a state . Obviously the expectation of is and the variance of is . A quantum algorithm was proposed in [1] to test whether an unknown state is close to or far from a fixed state using copies of the state.
In order to test whether an unknown state is contained in or far from a given finite set of states, we need a revised tester. For the random variable where ’s are independent random variables, consider the tester which accepts (i.e., reports ) when and rejects (i.e., reports ) otherwise.
When , we have
(8) |
where .
When , we have
(9) |
Using the above bounds, following the idea in [1], we have
Lemma 1.
Given a finite set of states and an unknown state , there exists a tester that distinguishes whether or using copies of the unknown state.
Proof.
We now apply the exponential Markov inequality to bound the deviation of from its expectation, yielding an alternative sample complexity for testing the property of a finite set of pure states. When , the tester accepts with probability
(10) |
for any . When , then the tester rejects with probability
(11) |
for any .
Theorem 2.
Given a finite set of pure states and an unknown pure state , there exists a tester with perfect completeness that distinguishes whether or using copies of the unknown state.
Proof.
For any , choose an orthonormal basis such that in this basis, and denote the diagonal elements of by in this basis. Let denote the projector onto the subspace of spanned by states of type . Consider the observable which was first used in [1]. Let denote the measurement outcome of on , then . The moment-generating function of is
where and .
When , take . Since , we have
When , the measurement outcome of is with certainty.
Now we consider the task of testing whether an unknown state is contained in or far from the set . For each , one can define an corresponding observable . Measure the observable on the state , and denote the outcome by . Consider the tester that reports i.e., when , and reports otherwise. For the soundness condition, in order for
to hold, it suffices to take
As for the completeness condition, when , . Thus this tester has perfect completeness. Therefore using copies of the tester fulfills both completeness and soundness conditions. ∎
4 Testing equality of unitary quantum channels
Following [14], define the distance between two unitary matrices of order as
(12) |
where . It can be seen that the distance of two unitaries is at most 1.
Notice that the normalized inner product of unitaries is equal to the inner product of their Choi states, i.e.,
(13) |
Here and in the following we use to denote the (normalized) maximally entangled state. Consider the following Schur-Weyl decomposition
where is the irrep of and is its corresponding multiplicity space. The entanglement between the representation space and multiplicity space was used to estimate the group transformation [3]. It turns out that it can be also used in the certification of unitaries as shown in the following.
Theorem 3.
Given access to an unknown single-qubit unitary , there exists a tester with perfect completeness that distinguishes whether is equal to a fixed and known up to a phase or with uses of , without using any ancilla system.
Proof.
By Schur-Weyl duality, where is the irrep of of dimension and is the corresponding irrep of . In this decomposition we write for any since acts as identity operator on each .
Notice that and have the same dimension . Let be the maximally entangled state in , i.e., where and are orthonormal bases of and respectively.
Apply the unitary to , and then perform the POVM where . The tester reports that equals up to a phase if the first outcome occurs, and reports otherwise. Obviously the tester has perfect completeness irrespective of the choice of . Next step is to derive the requirement for to ensure the soundness condition when .
When both single-qubit unitaries are unknown, we have the following.
Theorem 4.
Given access to two unknown single-qubit unitaries and , there exists a tester with perfect completeness that distinguishes whether equals up to a phase or with uses of and , without using any ancilla system.
Proof.
Similar to the proof of Theorem 3, we first decompose the space as where and are irreps of and respectively. Denote by the maximally entangled state in . Then we apply the swap test to and . Repeat the above procedure, and report that the two unitaries are equal up to a phase if and only if the swap test accepts twice. When and are equal, the tester reports correctly with certain. When , since by (4), the tester reports incorrectly with probability less than , which is in turn less than if we take . ∎
In order to deal with the higher dimensional case, an upper bound on is needed given , where is representation matrix of on irrep for appropriate and is the dimension of .
Lemma 5.
Let and . If for , then
for some positive .
Proof.
The dimension of the irrep is
(15) |
The character for is
Since is a unitary representation of , we have and . Thus . It suffices to consider the case .
Consider a unitary having eigenvalues with for each . We have
(16) |
while
(17) |
Before proceeding with the proof we now show that
(18) |
holds for any odd positive integer and any . Indeed, it suffices to consider the case , and (18) follows by noticing that the function is even and is symmetric about the line . When , since , we have . It follows that for any , we have , and thus , completing the proof of (18).
As for the soundness condition, when , by (4) we have
It follows that there exists satisfying
and let be the number of such pairs in totally pairs. For any such pair,
(19) |
for . On the other hand, there are pairs of satisfying . For any such pair, since , by (18) we have
(20) |
Theorem 6.
Given access to an unknown unitary and a known or unknown unitary , there exists a tester with perfect completeness that distinguishes whether or with uses of unitaries.
Proof.
By noticing that is independent of , it follows from (3) and (5) that when is so small that is much larger than , the dimension of is exponential in while the dimension of is polynomial in , thus is larger than .
Denote by the maximally entangled state in , and denote and . When is unknown and is given, perform a measurement on , and repeat, and accept iff the first outcome occurs. When and are both unknown, perform a swap test for and , and repeat.
The completeness condition is obvious. When , using Lemma 5, the soundness condition is satisfied by taking to be the smallest odd integer larger than , for which . ∎
For the asymptotic case where the value of is small, will be so large that the irrep has smaller dimension than its multiplicity space does. Thus there exists a maximally entangled state on which is a subspace of . If is not small enough and thus is not large enough, one can introduce a reference system of dimension to make them have equal dimension [3]. The dimension of the ancilla system, however, has been exponentially decreased compared with the usual method using Choi states directly. Since it is common to deal with low-dimensional quantum systems in quantum computing under current technology, our method exhibits advantage in practice.
5 Discussion
We have proposed and analyzed in this work efficient algorithms for certification of quantum state set and quantum unitary.
For the certification of identity of qudit unitaries, we have considered the irrep corresponding partition . One issue that would be worth investigating is whether this irrep is optimal compared with other irreps.
Using Theorem 6, one can also efficiently test whether one unitary is identity, and whether two unitaries are inverse to each other. It is known that many properties of quantum channel can be reduced to testing properties of quantum state via the Choi-Jamiołkowski isomorphism, but by employing this approach one usually needs to use quantum channels too many times and also to introduce extra ancilla system. We used group representation to test properties of unitaries more sample-efficiently without using ancilla system. The method based on group representation theory may be useful in testing other properties of quantum states and unitaries, which deserves further study. Our approach may be promising in the property testing of noisy quantum operation and measurement to achieve better performance, which remains further study.
Acknowledgements
This work was supported by the School of Computer Science and Technology, University of Science and Technology of China (Grant No. KY0110009999).
References
- [1] Costin Bădescu, Ryan O’Donnell, and John Wright. Quantum state certification. In Proceedings of the 51st Annual ACM SIGACT Symposium on Theory of Computing, pages 503–514. ACM, 2019.
- [2] Harry Buhrman, Richard Cleve, John Watrous, and Ronald de Wolf. Quantum fingerprinting. Physical Review Letters, 87(16):167902, 2001.
- [3] Giulio Chiribella, GM D’Ariano, and MF Sacchi. Optimal estimation of group transformations using entanglement. Physical Review A, 72(4):042338, 2005.
- [4] Matthias Christandl and Graeme Mitchison. The spectra of quantum states and the Kronecker coefficients of the symmetric group. Communications in Mathematical Physics, 261(3):789–797, 2006.
- [5] Marcus P da Silva, Olivier Landon-Cardinal, and David Poulin. Practical characterization of quantum devices without tomography. Physical Review Letters, 107(21):210404, 2011.
- [6] William Fulton and Joe Harris. Representation theory: a first course, volume 129. Springer Science & Business Media, 2013.
- [7] Roe Goodman and Nolan R Wallach. Symmetry, representations, and invariants, volume 255. Springer, 2009.
- [8] Jeongwan Haah, Aram W Harrow, Zhengfeng Ji, Xiaodi Wu, and Nengkun Yu. Sample-optimal tomography of quantum states. IEEE Transactions on Information Theory, 63(9):5628–5641, 2017.
- [9] Brian Hall. Lie groups, Lie algebras, and representations: an elementary introduction, volume 222. Springer, 2015.
- [10] Aram W Harrow and Ashley Montanaro. Testing product states, quantum Merlin-Arthur games and tensor optimization. Journal of the ACM, 60(1):3, 2013.
- [11] Masahito Hayashi. Exponents of quantum fixed-length pure-state source coding. Physical Review A, 66(3):032321, 2002.
- [12] Richard A Low. Learning and testing algorithms for the Clifford group. Physical Review A, 80(5):052314, 2009.
- [13] Florian Mintert, Marek Kuś, and Andreas Buchleitner. Concurrence of mixed multipartite quantum states. Physical Review Letters, 95(26):260502, 2005.
- [14] Ashley Montanaro and Ronald de Wolf. A survey of quantum property testing. Theory of Computing, (7):1–81, 2016.
- [15] Ashley Montanaro and Tobias J Osborne. Quantum boolean functions. Chicago Journal of Theoretical Computer Science, 2010(1):1–45, 2010.
- [16] Ryan O’Donnell and John Wright. Efficient quantum tomography. In Proceedings of the 48th Annual ACM Symposium on Theory of Computing, pages 899–912. ACM, 2016.
- [17] Ryan O’Donnell and John Wright. Efficient quantum tomography II. In Proceedings of the 49th Annual ACM Symposium on Theory of Computing, pages 962–974. ACM, 2017.
- [18] Daniel M Reich, Giulia Gualdi, and Christiane P Koch. Optimal strategies for estimating the average fidelity of quantum gates. Physical Review Letters, 111(20):200401, 2013.
- [19] Lars Steffen, Marcus P da Silva, A Fedorov, M Baur, and Andreas Wallraff. Experimental Monte Carlo quantum process certification. Physical Review Letters, 108(26):260506, 2012.
- [20] Guoming Wang. Property testing of unitary operators. Physical Review A, 84(5):052328, 2011.