Binary Discrimination in Quantum Systems via Hypothesis Testing
Beili Gong, Wei Cui

TL;DR
This paper explores quantum hypothesis testing for binary discrimination of Hamiltonians using continuous weak measurement, emphasizing Bayesian methods for improved efficiency and speed in decision-making.
Contribution
It introduces a Bayesian-based approach for quantum binary discrimination that outperforms maximum a posteriori methods in efficiency and speed.
Findings
Bayesian criterion provides more efficient error probability calculations.
The method enables quick discrimination between two Hamiltonian candidates.
Comparison shows Bayesian approach is faster than MAP in practical scenarios.
Abstract
We investigate the discrimination of two candidates of an unknown parameter in quantum systems with continuous weak measurement, inspired by the application of hypothesis testing in distinguish-ing two Hamiltonians [Kiilerich and M{\o}lmer, Phys. Rev. A, 98, 022103 (2018)]. Based on the measurement output and stochastic master equation, temporal evolutions of posterior probabilities of two hypotheses are given by Bayes' formula. The Bayes criterion is presented by the likelihood ratio conditioned on the outcome of measurements. Different from the calculation method based on maximum a posteriori criterion, the Bayes criterion based method for calculating the average prob-ability of making errors is more suitable and efficient in general situation of binary discrimination. Finally, an example of distinguishing two candidate Hamiltonians is given and the running times of calculating the…
| proposed algorithm | algorithm in Molmer2018 | |
|---|---|---|
| 1 | 2.4914s | —— |
| 10 | 24.1799s | 44.4146s |
| 20 | 51.7167s | 88.3760s |
| 50 | 131.8677s | 222.0794s |
| 100 | 258.0833s | 445.1378s |
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.
Binary Discrimination in Quantum Systems via Hypothesis Testing
Beili Gong
Wei Cui
School of Automation Science and Engineering, South China University of Technology, Guangzhou 510641, China
Abstract
We investigate the discrimination of two candidates of an unknown parameter in quantum systems with continuous weak measurement, inspired by the application of hypothesis testing in distinguishing two Hamiltonians [Kiilerich and Mølmer, Phys. Rev. A, 98, 022103 (2018)]. Based on the measurement output and stochastic master equation, temporal evolutions of posterior probabilities of two hypotheses are given by Bayes’ formula. The Bayes criterion is presented by the likelihood ratio conditioned on the outcome of measurements. Different from the calculation method based on maximum a posteriori criterion, the Bayes criterion based method for calculating the average probability of making errors is more suitable and efficient in general situation of binary discrimination. Finally, an example of distinguishing two candidate Hamiltonians is given and the running times of calculating the average probability of error under the Bayes criterion and the maximum a posteriori criterion are compared to illustrate the feasibility of the hypothesis testing in quickly distinguishing two candidates of the parameter to be estimated.
††preprint: APS/123-QED
I Introduction
Parameter estimation refers to the procedure of using measurement output to estimate the unknown parameters, which has caused a wide range of interests in quantum systems Iwasawa:2013 ; Cortez:2017 ; Laverick:2018 ; ang2013optomechanical . Since, in most quantum systems, the system state can be indirectly measured in general and classical estimation theories are hard to apply to the measurement output directly, it technically difficult to construct an estimator for some unknown parameters. However, selecting a value, which can best characterize the system dynamics, from some potential values as an estimator of an unknown parameter is an effective method in Hamiltonian estimation Ralph2000 ; Aharonov2002 ; Chase2009 . From this method, how to distinguish the potential values in quantum systems based on measurement output becomes a key task.
There have already been many methods applied to discriminate possible quantities in physical systems, such as the method based on the uncertainty relations Aharonov2002 , the Bayesian method lavine1992bayesian ; Lin2015 and the kernel method AITCHISON1976 . In recent years, a method of statistical inference named statistical hypothesis testing has been widely used to discriminate quantum states Yuen1975 ; Hiai2009 ; Kumagai:2013 ; Haikka:2017 , quantum channels Acin:2001 ; Chiribella:2008 ; Dumitrescu2016 , system models Tsang2012 ; turinici2003optimal , quantum processes Wang2016 ; Klaus2015 and quantum Hamiltonians Klaus2015 ; Molmer2018 ; Kiilerich20182 . According to the unnormalized stochastic master equations with different measurement schemes, such as photon counting, homodyne detection and an optimal projective measurement on its conditioned final state, and the corresponding measured datum, the distinction of two Hamiltonians has been achieved via hypothesis testing Molmer2018 . Moreover, an upper bound, namely the average probability of error, for the ability to distinguish two potential Hamiltonians for a quantum circuit model has been derived Klaus2015 and to discriminate arbitrary quantum states for an open quantum system has been calculated by numerically efficient means Kiilerich20182 . A classical framework of applying hypothesis testing to parameter estimation is first to specify a set of hypotheses of candidates of the unknown parameter, and then use a criterion to test the hypotheses according to the observed data and finally accept one of the hypotheses. In doing the test, it is of importance to study the average probability of error, i.e., the average probability of being assigned to erroneous hypothesis under a criterion. Considering the maximum a posteriori criterion, the average probabilities of error for different measurement schemes have been calculated Molmer2018 . However, the calculation methods depend on counting each judgment result and require a large number of trials, which results in increasing the computational complexity of calculating the average probability of error so that a significant amount of time would be spent in parameters discrimination. Furthermore, the aforementioned papers have focused on the parameters in Hamiltonian rather than other parameters in quantum systems. Therefore, how to quickly distinguish potential values of an unknown parameter in quantum systems based on the measured data via hypothesis testing is still an open problem.
Note that the dynamic of a quantum system under continuous measurement can be described by a stochastic master equation Gammelmark2013 ; Molmer2018 . Together with some prior knowledge of the parameters, we can construct some candidate systems with the same structure such that the hypothesis testing can be used. This paper aims at distinguishing two candidates of an unknown parameter for a quantum system with continuous weak measurement by using hypothesis testing. According to the measured data and the Bayes’ formula Kiilerich2016 , we obtain the posterior probabilities of two hypotheses, respectively. Furthermore, the Bayes criterion is presented based on a likelihood ratio Burnham2002Model , and an algorithm to calculate the average probability of error is proposed. A numerical example of distinguishing two candidates of an unknown parameter in Hamiltonian is illustrated to show the feasibility of the proposed hypothesis testing method. The running times of calculating the average probability of error under the maximum a posteriori criterion and the Bayes criterion are also compared to illustrate the efficiency of proposed method.
This paper is organized as follows. In Sec. II, a brief introduction of an quantum system and a reduced stochastic master equation are presented. The measurement record via continuous weak measurement is exhibited as well. In Sec. III, based on the Bayes’ formula and Bayes criterion, the procedure of distinguishing two candidates using hypothesis testing is described in detail, and the average probability of error is given. Some numerical simulations illustrate the feasibility and effectiveness of the proposed method in binary discrimination. We summarize our conclusion in Sec. IV.
II Model
Consider a two-level quantum system with the following Hamiltonian
[TABLE]
where and are the detuning and the Rabi frequency You:2005 ; Devoret:2013 ; Yang:2018 , and are Pauli matrices. Under continuous weak measurement, the evolution of the system state can be described by a reduced stochastic master equation Qi:2010 ; Cui:2013 ; Jacobs:2014 , i.e.,
[TABLE]
where and . Here, is the unnormalized state, and are the measurement efficiencies and measurement operator, respectively, and describes the quantum fluctuations of the continuous output signal, which is given by
[TABLE]
Here is the Wiener increment with zero mean and variance , and is the normalized quantum state Gammelmark2013 ; Wiseman2009 satisfying
[TABLE]
By substituting Eqs. (3) and (4) into Eq. (2), the normalized quantum stochastic master equation can be written as
[TABLE]
with . A detailed derivation of the above stochastic master equation was presented in our previous work Gong:2018 . From Eq. (5), one can intuitively see that the evolutions of unnormalized quantum states can be characterized by the evolutions corresponding to normalized states.
III Binary Discrimination and Computational Complexity
Parameters describe an underlying physical setting in such a way that their value affects the distribution of the measurement output. Generally, it is much easier to derive an estimator of the unknown parameter in a classical system from limited information than that in a quantum system. In other words, obtaining an explicit estimator of a unknown parameter in a quantum system is nearly impossible. On the other hand, if some potential values of the unknown parameter are known a prior, then it is natural to select the most proper value as the estimate of the parameter. In this work we will consider distinguishing the potential values of an known parameter and select an appropriate value via hypothesis testing.
Without loss of generality we assume there are two candidates of a parameter to be estimated in a quantum system. Correspondingly, two candidate quantum systems are constructed based on the stochastic master equation (5) and the measurement output. For determining which hypothetical system is more suitable to describe the observed system, a Bayes criterion is proposed and the average probabilities of making error decision is calculated. This section consists of three parts: introducing the hypothesis testing, illustrating the process of distinction by an example, and comparing the computational complexities of calculating the average probabilities of error between using maximum a posteriori criterion and using Bayes criterion.
III.1 Hypothesis testing
III.1.1 Two hypotheses and posterior probability
Let be any unknown parameter to be estimated in a quantum system, which might be Rabi frequency, detuning, dissipation rates, measurement strength, and so on. Suppose and are two candidate values closest to the unknown parameter and the corresponding hypotheses are and , respectively. We denote the prior probabilities of the two hypotheses by and , and the measurement output by . Note that Bayes’ rule is a celebrated formula tells that how to update the probabilities of hypotheses as more information becomes available. Accordingly, the posterior probability , which is referred to as the conditional probability of accepting when observing , can be expressed as
[TABLE]
where is the probability of obtaining given the hypothesis , and is the marginal probability for all possible hypotheses being considered .
Define as a likelihood function when assuming is true, where is the probability density for a Poisson or Wiener process Gammelmark2013 . According to the trajectory of unnormalized state, the likelihood function of a specific sequence of detection events is simply given hypothesis , and then the posterior probability can be further written as
[TABLE]
Together with Eq. (5), the derivative of the likelihood function with respect to is given by
[TABLE]
Define as the logarithmic likelihood. Then the derivative of the logarithmic likelihood is given by
[TABLE]
It is clear that the evolution of the logarithmic likelihood function only depends on the measurement output and the normalized stochastic master equation so that one can obtain it from combining Eqs. (5) and (7).
III.1.2 Bayes criterion
To determine the most probable hypothesis, it is natural to compare the observation probabilities conditioned on assumed hypotheses. A simplest decision rule of whether accept the hypothesis or not is that accept if , which can be standardly expressed as
[TABLE]
Substituting Eq. (6) into the decision rule (8), we have
[TABLE]
In order to quantify the performance of the decision rule, we define the Bayes risk as the expected value of the cost function
[TABLE]
where and respectively represent the cost function of making wrong decision that accept hypothesis while is true and the corresponding probability. Through minimizing the Bayes risk Hoballah:1989 ; Brandt:2014 , we can easily obtain the Bayes criterion
[TABLE]
where . Here, is referred to as the likelihood ratio. Note that the cost functions should satisfy and . For simplicity, applying the zero-one cost function
[TABLE]
and taking the logarithm of both sides of Eq. (10), we obtain
[TABLE]
That is, if , the hypothesis would be accepted so that is selected as an estimate of the unknown parameter; otherwise accept and select . It is observed that the simplified Bayes criterion (11) only depends on the normalized quantum stochastic master equation (5) and Eq. (7).
III.1.3 Average probability of error
The Bayes criterion (11) provides a simple way to accept one of the two hypotheses or, equivalently, select one of the two candidates of unknown parameters. Even so, it is possible for the criterion to make wrong decisions or error. Meanwhile, there are two types of error: type I error and type II error. A type I error occurs when is true but is rejected (accept ), and a type II error occurs when is false but erroneously fails to be rejected. As a result, we define the average probability of assigning an erroneous hypothesis
[TABLE]
where and respectively denote the probabilities of type I error and type II error, and and are respectively the prior probabilities of the corresponding hypotheses. Taking Eq. (11) into consideration, it is clear that minimizing the Bayes risk actually corresponds to minimize the average probability of error. Therefore, the effectiveness of the Bayes criterion can be illustrated by calculating the average probability of error.
For convenience, we define as an error threshold. That is, when we can stop observing the system and say that the estimation of the unknown parameter is done, i.e., the hypothesis is accepted or rejected. Note that the smaller is, the more confident the decision-making is. Based on the measured data and the proposed Bayes criterion, the procedure of distinguishing two candidates of an unknown parameter via hypothesis testing is shown in Fig. 1.
III.2 Numerical example
To illustrate the feasibility and effectiveness of the proposed hypothesis testing in discrimination of candidate values of an unknown parameter, we consider the estimation of an unknown parameter in the system Hamiltonian. Let in Eq. (1) be the unknown parameter that requires estimating, and the corresponding hypotheses are and with prior probabilities . The other parameters of the system are given by , , and the measurement operator is with the measurement strength . The initial state of the system is set to .
Assuming is true, the evolution of posterior probability for a single measurement can be obtained based on the normalized quantum stochastic master equation, as shown in Fig. 2(a). The red solid curve is the trajectory of the conditional probability and the blue dashed one is the evolution of , which is referred to as the probability of making type I error. Meanwhile, the orange solid curve in Fig. 2(b) depicts the temporal evolution of logarithmic likelihood ratio under a single measurement. This means that the hypothesis will be accepted, which confirms that the Bayes criterion is reliable.
According to Fig. 1, the trajectory of the average probability of error is also plotted in Fig. 3 for a single experiment, where . It shows that the average probability of error would approach to [math], which also reveals the feasibility of the proposed hypothesis testing in binary discrimination.
III.3 Computational complexity
In this part, the running times, which will be defined clearly, of calculating the average probability of error for the proposed algorithm and another algorithm based on the maximum a posteriori criterion, developed by Kiilerich and Mølmer in Molmer2018 , are compared. Note that the latter algorithm is a special case of Bayes criterion that the cost functions satisfy and . Then the hypothesis is accepted when the posterior probability obtained by Eq. (2) is larger than . Also, the probability of making error decision can be estimated by , where is the number of making errors in experiments.
Based on the definition of the error threshold, we consider the time taken for the average probability of error to reach , namely the first-passage time, as the running time of an algorithm. We implement the comparison work on PC ideacentre AI0 520-27ICB: a 2.4GHz Intel i7 CPU and 16GB memory. Under the same setting of parameters in the above example, the first-passage times of the proposed algorithms and another one are depicted in Tab. 1 when . The smallness of the running time reveals the efficiency of the proposed algorithm, which means that the unknown parameter can be quickly determined from two candidates.
IV Conclusion
In this paper, we have proposed a procedure of distinguishing two candidates of a unknown parameter in a quantum system by hypothesis testing. Based on a normalized quantum stochastic master equation, we have updated the information about the parameter to be estimated by Bayes’ formula together with the measured data, and obtained the posterior probability of two hypotheses. Then we have built a Bayes criterion to accept or reject the hypotheses, and proposed an algorithm to calculate the average probability of making two types of erroneous decisions. Finally, the feasibility and efficiency of hypothesis testing in binary discrimination has been illustrated by taking a Hamiltonian parameter as an example and comparing with the running times of calculating the average probability of error under the Bayes criterion and another criterion.
Acknowledgements.
This work was supported by the National Natural Science Foundation of China under Grant 61873317 and in part by the Fundamental Research Funds for the Central Universities.
The reference list from the paper itself. Each links out to its DOI / PubMed record.
- 1(1) K. Iwasawa, K. Makino, H. Yonezawa, M. Tsang, A. Davidovic, E. Huntington, and A. Furusawa, Quantum-limited mirror-motion estimation, Phys. Rev. Lett., 111 ,163602 (2013).
- 2(2) L. Cortez, A. Chantasri, L. P. Garcia-Pintos, J. Dressel, and A. N. Jordan, Rapid estimation of drifting parameters in continuously measured quantum systems, Phys. Rev. A, 95 , 012314 (2017).
- 3(3) K. T. Laverick, H. M. Wiseman, H. T. Dinani, and D. W. Berry, Adaptive estimation of a time-varying phase with coherent states: Smoothing can give an unbounded improvement over filtering, Phys. Rev. A, 97 , 042334 (2018).
- 4(4) S. Z. Ang, G. I. Harris, W. P. Bowen, and M. Tsang, Optomechanical parameter estimation, New J. Phys., 15 , 103028 (2013).
- 5(5) J. Ralph, T. Clark, R. Prance, and H. Prance, A likelihood ratio test applied to a radio-frequency SQUID Hamiltonian, Phys. Lett. A, 277 , 75–82 (2000).
- 6(6) Y. Aharonov, S. Massar, and S. Popescu, Measuring energy, estimating Hamiltonians, and the time-energy uncertainty relation, Phys. Rev. A, 66 , 052107 (2002).
- 7(7) B. A. Chase and J. M. Geremia, Single-shot parameter estimation via continuous quantum measurement, Phys. Rev. A, 79 , 022314 (2009).
- 8(8) M. Lavine and M. West, A Bayesian method for classification and discrimination, Canad. J. Statist., 20 , 451–461 (1992).
