WorksPhysics and Astronomy
Coherent consensus for the estimation and classification of phases
Abstract
Inspired by quantum metrology, we propose a coherent consensus primitive to enhance the collaborative performance of independent quantum classifiers at the decision boundary. The basic idea consists of three steps: i) prepare a Greenberger-Horne-Zeilinger (GHZ) state on qubits; ii) apply a relative phase to each qubit, which encodes the output of one classifier; and iii) undo the GHZ preparation to collect all phases onto the first qubit. The signal is amplified by a factor of , which reduces the sampling error by a factor of relative to incoherent majority voting, that is, the direct combination of estimates from individual classifiers. Coherent consensus is valid for general estimation and classification of phases. We derive guarantees on the resources needed to estimate phases using this coherent consensus primitive as compared to majority voting. We implement both techniques on a trapped-ion quantum computer using a given ensemble of imperfect phase gates. We observe the expected gain in precision of coherent consensus, with excess dispersion at the largest consistent with device drift. Coherent consensus can thus be understood as a form of sensing inside a quantum computer.
Introduction
Efficiently learning information encoded in a quantum process is central to algorithm design. When this information is accessible only through a black box, the learning cost is quantified by the minimum number of oracle calls needed to reach a prescribed error and success probability. Quantum metrology [1, 2] poses an analogous question when the information to be learned is an unknown phase encoded in a unitary acting as
where this phase can be produced by a tiny external magnetic field along the axis. To be precise, for an evolution with Hamiltonian , where is the spin magnetic moment and , the phase accumulated during the rotation is [1]. The learning problem is to estimate this magnetic field, whose action can be understood as an oracle call to this phase rotation.
In the setting of quantum metrology, entanglement provides the means for a quadratic improvement in the precision scaling. Let us recall how to achieve this improvement. The probes (or qubits) are first entangled in a Greenberger-Horne-Zeilinger (GHZ) state. The magnetic field adds a phase to each qubit. The phases are collected onto a single qubit by undoing the GHZ preparation. The net effect is an -fold amplification of the signal . A Hadamard gate is then applied to the first qubit to read out the result. The final probability of obtaining in the basis is , which scales quadratically with for small signals. This quadratic improvement is known as the Heisenberg limit. If no entanglement were used, each of the experiments would read a signal , which would then be classically combined to produce . This scales linearly with , corresponding to the standard quantum limit. Therefore, entanglement enhances the signal by a factor of . For small , this reduces the sampling effort needed to reach a specified precision by a factor of .
We call the classical strategy that estimates the phase at the standard quantum limit majority voting, and the strategy that uses entanglement and interference to reach the Heisenberg limit coherent consensus.
We note that the setup where a phase is encoded in a single qubit by the action of a matrix effectively arises in several contexts: phase kickbacks [3], calibrations of single-qubit rotations [4], sensing networks [5, 6, 7, 8, 9], or, under quantum signal processing [10], amplitude estimation [11, 12].
In this work, we use coherent consensus to learn from an ensemble of imperfect binary classifiers with a finite shot budget. Recall that a trained classifier sorts unseen data into categories, yet items near the decision boundary are hard to distinguish, requiring a larger shot budget. Moreover, independently trained instances may disagree, which can blur the boundary further. We encode the binary classification in the sign of the phase of a phase gate . Ensemble disagreement is thus represented by slightly imperfect phases in place of the target , where is the number of qubits. For an ensemble with phases , determining the sign of with a finite shot budget has limited precision due to statistical sampling error. In an experimental setting, the measurement results will carry further systematic errors affecting accuracy. We derive sufficient conditions on the number of qubits and the number of shots needed to reach a prescribed relative error in the estimation of from imperfect phase gates for both majority voting (Theorem 1) and coherent consensus (Theorem 2). With these results, we give a decision guarantee for binary classification (Corollary 1). Finally, we demonstrate that coherent consensus outperforms majority voting in precision, and in accuracy for , on a trapped-ion quantum computer [13], as illustrated in Figure 1.
Figure 1. Estimated phases via majority voting and coherent consensus with imperfect phase gates on the trapped-ion quantum computer [13]. The left panel shows outcomes at equal shot budgets, while the right panel shows outcomes at equal resource budgets, quantified as hardware quantum credits (HQCs) [14]. The dashed line corresponds to the target . The markers represent the estimates , and the error bars represent the statistical error at 95% due to shot noise. Each imperfect phase gate carries an angle , drawn uniformly from a band of half-width around . The gray shaded area represents the range, narrowing as grows, within which the theoretical bias of the estimator due to falls for 95% of the draws. Majority voting has wider error bars that capture more frequently (7/9 left, 7/9 right). The error bars of coherent consensus shrink faster due to its improved precision, but capture the target less often (3/9 left, 3/9 right). The theoretical bias is too small to account for the departures of coherent consensus at . This is a sign of systematic errors resulting in a loss of accuracy. Yet coherent consensus is still more accurate than majority voting for in most cases (6/6 left, 5/6 right).
Previous work
Phase estimation with entangled probes goes back to seminal works on quantum metrology [1, 2]. If the unknown parameter is an amplitude rather than a phase, the Heisenberg limit is reached through amplitude estimation [15, 16]. Parallel amplitude estimation [12] can trade depth for width, using techniques very similar to those of quantum metrology. There, quantum signal processing [10] turns the oracle into a rotation of the form given in Eq. (1). The phases then accumulate in the relative phase of a GHZ state, achieving a depth of at the cost of queries, where is the target error in the amplitude. In this work, we instead provide new bounds on the total number of qubits and the number of shots required for phase estimation with imperfect phases to achieve a prescribed relative error with a given success probability.
Coherent consensus demands an upper bound on the phase to avoid branch-cut ambiguities. This can be circumvented by techniques inspired by robust phase estimation [4, 17], where shots are allocated across an increasing number of applications of the unitaries. For entangling protocols, the GHZ state is replaced with a product of GHZ states of varying sizes [18]. Here we consider unitaries at a predetermined scale, for which the bounds for coherent consensus hold by assumption, limiting admissible from above.

(a) Multiqubit circuit realizing majority voting. The gates implement the target phase imperfectly. The gate implements the change to the measurement basis. The phase is reconstructed by aggregating measurement outcomes.

(b) Multiqubit circuit realizing coherent consensus. The gate implements the change to the measurement basis. The GHZ state allows the phases to accumulate on the first qubit, from which is estimated.
Figure 2. Circuits to estimate with majority voting (Figure 2a) and coherent consensus (Figure 2b).
In sensing networks, entanglement between sensors does not yield a gain for independent local phases, but it is effective for global properties of the network. Coherent consensus uses entanglement to estimate the global, equally weighted linear function of local phases [6, 7]. Coherent consensus reduces the variance relative to majority voting by a factor of [7]. If the phases are perfect, the precision can be bounded analytically using the quantum Fisher information [6, 7], while, for two sensors, the mean-square error can be evaluated numerically [8]. In fact, finite-sample bounds on the mean-square error have been derived for phase estimation with maximally entangled probes [19]. Distributed estimation of an averaged phase with entangled probes has been demonstrated experimentally [9]. Programmable metrology using low-depth circuits has also been demonstrated on a trapped-ion quantum processor [20]. Entanglement-assisted supervised classification was proposed for sensor networks [21] and demonstrated experimentally [22].
Prior work also includes quantum ensembles of classifiers [23] and quantum bagging constructions [24]. Adaptive boosting with quantum classifiers has been demonstrated on a programmable superconducting processor [25]. These approaches differ from the present setting in their oracle assumptions and aggregation procedures. Here, we study coherent phase accumulation with imperfect phase gates, derive finite-shot error guarantees, and test the resulting primitive on trapped-ion hardware.
Finally, the related term quantum majority vote [26] concerns approximating the more frequently occurring state in a product of qubits, each prepared in one of two orthogonal states in an unknown basis. In the present work, majority voting instead denotes the classical aggregation of measurement outcomes for phase estimation.
Coherent consensus and majority voting
We are interested in the advantage of coherent consensus over majority voting as a primitive in digital quantum computing. We first set up the appropriate quantum circuits for each strategy. We then analyze the errors that arise in experimental deployment. Finally, we establish theoretical learning success guarantees.
Quantum circuits
Let us construct the quantum circuits for each strategy. The first step is to model the unitary in Eq. (1) as a single phase gate. This unitary could encode the results of a single-qubit classifier [27, 28], or those of a complex multiqubit process that is distilled into a phase rotation.
The task of both coherent consensus and incoherent majority voting is to estimate and classify its sign using an ensemble of phase gates . We consider a model in which do not realize perfectly, but instead yield different assessments of ,
The deviations are expected to be mild if are well trained. Small phases , with which we are concerned, are the hardest to classify.
Current quantum hardware has access to fairly large qubit budgets, yet the feasible circuit depth remains limited. Therefore, we seek circuit implementations of the phase-estimation strategies that minimize depth at the expense of width. The quantum circuits for majority voting and coherent consensus are displayed in Figure 2a and Figure 2b, respectively. Each strategy leads to an estimator of . In the plots, we use the same notation for both the estimator and the estimate.
The majority voting circuit is presented in Figure 2a. It has constant depth, as the phase gates are arranged in parallel. The circuit implementing majority voting is
where is the change of basis, namely, for measurements in the basis and for measurements in the basis. Note that
Estimates of the bit frequencies of each qubit yield different estimators . The estimator of majority voting can be thought of as the average of different estimates 1
Majority voting is thus the aggregate of individual qubit estimators.
The coherent consensus circuit in Figure 2b prepares the GHZ state, applies the tensor product of phase gates, and undoes the preparation. The circuit implementing coherent consensus is
where is a Hadamard gate on the first qubit, is an entangling subcircuit preparing the GHZ state, and is the change of basis on the first qubit, the only one that is measured. Note that
Measuring the first qubit allows us to estimate the sum of phases from the bit statistics. The estimator of coherent consensus is the normalized estimator of the sum,
Note that the estimator is single valued as long as the sum stays within when measurements are performed in both the and bases, and within when measurements are performed only in the basis.
The quantum resources required for coherent consensus depend on the compilation of the GHZ circuit . This circuit carries an unavoidable overhead of two-qubit gates over majority voting, reflecting the cost of entanglement generation. Moreover, a circuit with logarithmic depth in can be obtained by exploiting all-to-all connectivity using a number of two-qubit gates linear in . Furthermore, when ancillas and feed-forward operations are available, a circuit of constant depth can be obtained, with a number of two-qubit gates linear in [29].
Accuracy versus precision
The error of the estimators of majority voting and coherent consensus has three contributions. First, statistical errors due to the shot sampling of the circuit. Second, systematic errors arising from imperfect circuit implementation, such as quantum-device noise. Third, theoretical errors, which in our case are training deviations of from . If the three contributions are independent, the error of about , taken as the root mean square deviation, decomposes as
The difference between the statistical error and the other two is worth stressing. The accuracy is quantified by the difference between the mean of the estimator and the ground truth, that is, its bias. An accurate estimator has no bias and targets , but may produce widely dispersed estimates. Both systematic errors and theoretical errors can bias the estimator and thereby affect its accuracy. In our framework, systematic errors arise from the physical implementation on a quantum device, and theoretical errors encompass finite training effects and limitations of the training model.
By contrast, statistical errors limit the precision of the estimator . The precision quantifies the dispersion of estimates around their mean. A precise estimator consistently produces estimates lying within a narrow interval, but this interval may fail to include if the estimator is biased. In our framework, statistical error for majority voting and coherent consensus is mainly due to sampling error, although other sources of error could in principle contribute to dispersion as well. This assumes that the device noise is uncorrelated across shots. Majority voting obeys the standard quantum limit,
where denotes the number of shots, whereas coherent consensus obeys the Heisenberg limit,
Thus, coherent consensus offers a precision gain over majority voting by a factor of , a statement that we now formalize.
Learning and theoretical guarantees
Beyond its roots in quantum metrology, the classification of admits a neat formulation akin to the query model of computation [30, 31]. Accordingly, the phase corresponds to the optimal Bayes score, the hypothesis class is the family , and the ensemble members are black boxes whose phases are unknown to the learner. This representation inspires us to derive success guarantees for both majority voting and coherent consensus. To obtain them, however, we need some assumptions.
To mimic the result of training on the phases, we assume the decomposition in Eq. (2), where the perturbations are independent and identically distributed (i.i.d.). These perturbations are fixed across runs of the circuit. In the limit of a large number of qubits, we expect the resulting phases to exhibit bounded noise around . We also expect the average of the perturbations to approach zero as grows. The definition of imperfect phase gates formalizes these assumptions.
Definition 1 (Imperfect phase gates). Consider the phase and let . An ensemble of imperfect phase gates for is the family of unitaries in Eq. (2), , with phases
where the perturbations are i.i.d. random variables bounded almost surely by some and symmetric about zero:
Note that, while the definition does not strictly encompass Gaussian noise since almost surely, the results are expected to hold approximately if the tails of beyond are negligible. Moreover, the formalization of imperfect phase gates in Definition 1 also enables us to compute the scaling of theoretical errors. Once sampled, the remain fixed throughout different runs of the circuits. For small symmetric perturbations , it follows that
Unlike statistical errors in Eqs. (10) and (11), the theoretical error of collecting imperfect phase gates is the same for majority voting and coherent consensus. Since the are held fixed, theoretical error is just a bias. Only across renewed draws of the perturbations does the bias offset have zero mean and spread . If , the bias is subleading with respect to shot dispersion for majority voting; if instead, it is subleading for coherent consensus.
We now consider success guarantees for the estimator . The statements require informed bounds on the otherwise unknown . This situation corresponds to a controlled-classification scenario. The lower bound prevents the target phase from approaching zero arbitrarily closely. Conversely, the upper bound prevents from wrapping around the unit circle. In coherent consensus, requiring the estimator to remain within implies that tightens as grows.
Theorem 1 (Bound on the relative error for majority voting). Let be a given phase such that , with . Let be the phases of imperfect phase gates (Definition 1) in the quantum circuit of Figure 2a. Denote the relative error by and the failure probability by , and assume
Furthermore, let the number of qubits and the even number of shots satisfy
Then, there is an estimator using the measurement statistics from Figure 2a that satisfies .
Theorem 2 (Bound on the relative error for coherent consensus). Let be a given phase such that , with . Let be the phases of imperfect phase gates (Definition 1) in the quantum circuit of Figure 2b. Denote the relative error by and the failure probability by , and assume
where is the number of qubits. Let and the even number of shots satisfy
Then, there is an estimator using the measurement statistics from Figure 2b that satisfies .
The proofs of Theorems 1 and 2 are relegated to Appendix A.
A remark on the measurement basis in Figure 2a and Figure 2b is in order. In practice, we perform measurements in the basis for both circuits. This choice is supported by the fact that in the basis is more sensitive than in the basis for small . However, our proof of theoretical success guarantees requires measurements in the basis as well, hence our choice above to let denote either change of basis.
We conclude the section with a remark and a decision guarantee.
Remark 1. Let be the total number of unitary calls. The shot conditions of Theorems 1 and 2 read
Corollary 1 (Decision guarantee). Assume the hypotheses of Theorem 1 or Theorem 2. Since , the event , which occurs with probability at least , implies that and have the same sign, hence that is correctly classified.
Experimental tests
We deploy the coherent consensus and majority voting primitives on both noiseless simulators and quantum hardware to test their viability in realistic scenarios. The following experiments target a phase . Imperfect rotations are obtained by drawing with , where is the uniform distribution over . Note that, by the central limit theorem, the average of the sampled lies, with high probability, within a half-width of order around zero. This setting is designed to mimic the binary classification encoded in the sign of an unknown, bounded, small phase , predicted using potentially imperfect gates . All measurements are performed in the basis.
Simulation
We first demonstrate that coherent consensus outperforms majority voting in noiseless circuits. We run simulations with numbers of qubits and shots typical of current and near-term devices. We show the estimated phase in Figure 3 and its relative error in Figure 4. Both majority voting and coherent consensus are accurate, meaning they do not display any bias beyond the theoretical bias of the imperfect gates. However, coherent consensus is more precise than majority voting, as it displays a narrower confidence interval. The scaling laws in Eqs. (10) and (11) are observable in the relative error.
Figure 3. Estimated phases from the noiseless simulations of majority voting and coherent consensus circuits (Figure 2a and Figure 2b), against the number of qubits (left, ) and against the number of shots (right, ). The dashed line corresponds to the target . Colored shaded bands represent the statistical error at 95% confidence. Perturbations are drawn from with . The gray shaded band represents the range of the theoretical bias at 95% confidence. The absence of device noise is reflected in the lack of systematic bias, so that both estimators are accurate up to the theoretical bias. The confidence interval of coherent consensus is narrower than that of majority voting and shrinks faster as grows (left). The theoretical bias becomes comparable to the statistical error of coherent consensus for (left) and (right).
Figure 4. Relative errors from the simulations of majority voting and coherent consensus circuits (Figure 2a and Figure 2b), against the number of qubits (left, ) and against the number of shots (right, ). The guide lines show the expected statistical-error scaling for majority voting and for coherent consensus (left), and for both majority voting and coherent consensus (right). The dashed line corresponds to the reference value . The target is scaled from to . Perturbations are correspondingly scaled such that are drawn from with . This scaling allows us to span while preserving , as required to obtain . The gray shaded band represents the range of the theoretical bias at 95% confidence over repeated draws. The absence of device noise is reflected in the lack of systematic bias, so that the relative error tends to zero as grows, and to the realized bias as grows at fixed . Coherent consensus outperforms majority voting at nearly every point and reaches for (left) and (right). The theoretical bias becomes comparable to the statistical error of coherent consensus for (left) and (right).
The bounds derived in Theorems 1 and 2 are worst-case guarantees, which hold for all settings satisfying the assumptions. Being based on Chernoff-type inequalities, they are loose in practice. For instance, in the best-case scenario , with , , , and , both theorems require qubits, together with shots for majority voting and shots for coherent consensus. Yet coherent consensus already attains for every at in Figure 4 (left), and for every at (right), that is, with about a third of the qubits and over an order of magnitude fewer shots than the bound requires (left), or about a fifth of the qubits and nearly an order of mag-
nitude fewer shots (right). Majority voting, for which the bound requires shots, would reach for every at , or reach for every at , beyond the range of Figure 4. These results come from single runs and therefore do not establish the success probability guaranteed by the theorems, but they show how conservative the bounds are.
Hardware
To test the robustness of coherent consensus and majority voting on current noisy hardware, we run circuits on a 98-qubit trapped-ion quantum computer [13]. Such devices [32, 33] pair long coherence times and high gate fidelities with slow gates and readout. We estimate the target phase on qubits using shots for both majority voting and coherent consensus, and we present the results in Figure 1 (left). The two strategies are executed in separate campaigns with identical realized ensembles of phase gates.
A precision gain on hardware depends on whether the observed dispersion corresponds to shot noise. We test this in Figure 5, where we split each experiment into batches of consecutive shots. The dispersion of majority voting and of coherent consensus at is consistent with shot noise. For coherent consensus, the dispersion exceeds that predicted by shot noise by a factor of four at with , consistent with device drift during the run.
Figure 5. Dispersion ratio for the hardware runs at equal shot budgets shown in Figure 1 (left). Each run is split into ten batches of consecutive shots. The dispersion ratio is the variance of the batch estimates divided by that predicted by shot noise. Independent shots with a common outcome probability give (dashed line). The gray shaded area is the 95% shot-noise reference: under a normal approximation of the batch estimates, approximately follows a distribution with nine degrees of freedom. Device noise correlated across shots, such as a drift during the run, raises above 1, while anticorrelated shots would lower it below the band. Majority voting lies within or just below the band (8/9 within). For , coherent consensus lies within the band (5/6), with the remaining run just above. For , coherent consensus lies well above the band (2/3). This excess batch dispersion is consistent with noise correlated across shots, but the ratio alone does not identify its source.
Moreover, Figure 1 shows that device noise degrades the accuracy of both majority voting and coherent consensus. Coherent consensus is particularly affected by two sources of error that impact the generation of the GHZ state. First, the error rate of two-qubit gates is higher than that of single-qubit gates. This exclusively affects coherent consensus and is unavoidable for entanglement generation. Second, this construction is also more sensitive to memory errors, that is, noise accumulation on idle ions during the computation. We counteract these effects by compiling the GHZ preparation into logarithmic depth in , which, compared with constant-depth preparation, reduces the number of two-qubit gates and limits idle time. Experimental results show that coherent consensus is more accurate than majority voting for at every shot budget tested, given current hardware error rates, while majority voting overtakes coherent consensus for due to the loss of accuracy produced by systematic errors. Note that the accuracy degradation of coherent consensus cannot be ascribed to the theoretical bias.
The cost of coherent consensus
In practice, the cost of acquiring one sample for coherent consensus on a quantum device is higher than that for majority voting, due to the resources needed to generate entanglement and measure the coherent sum of phases. A fair comparison should take this into account. Hardware quantum credits (HQCs) are a metric that quantifies the cost of running a circuit on the hardware we are using for the experiments [14]. They are a function of the number of one- and two-qubit gates as well as measurements and qubit initializations, each with its own cost and all weighted by the number of shots. For a fixed HQC budget, the two-qubit gate overhead of coherent consensus has a direct impact on its overall shot budget. This produces a larger constant factor in the cost of coherent consensus without changing the overall linear scaling. The results are contained in Figure 1 (right), which shows that under these adversarial conditions coherent consensus is still more accurate than majority voting for . This makes coherent consensus preferable not only at equal shot budgets, but also at equal credit budgets, below the limit where systematic error dominates.
Conclusions
In this work, we introduced coherent consensus, a quantum primitive for the estimation and classification of phases with imperfect phase gates. This primitive borrows from quantum metrology the use of entanglement for signal amplification. Coherent consensus offers a gain in precision over incoherent majority voting. It is also well suited to parallelization on current quantum hardware, which offers many qubits but limited coherence time. We established the advantage of coherent consensus over majority voting with rigorous success guarantees on the number of qubits and of shots (Theorems 1 and 2). This advantage holds for typical values of and typical shot budgets in classical simulations (Figure 3 and Figure 4). Furthermore, we tested it on a state-of-the-art trapped-ion platform (Figure 1 and Figure 5).
The experimental results demonstrate that the precision advantage of coherent consensus holds on current quantum hardware. This gain in precision, however, does not translate into a gain in accuracy for large system sizes due to the error rates of the hardware implementation. Systematic implementation errors and theoretical modeling errors bias the estimates away from the target, even at high precision. By designing a scenario in which theoretical errors are under control, we isolate and study the effect of systematic quantum hardware errors on this task. The results indicate that, although both strategies suffer from noise degradation, coherent consensus outperforms majority voting in accuracy for the tested qubit counts , in all equal-shot comparisons and most equal-credit comparisons.
Single-qubit classifiers can be universal function approximators ([28]), as can single-hidden-layer neural networks ([34]). Universal approximation alone does not establish a computational advantage. To obtain a non-classical gain, classifiers should coordinate at the quantum level. In the phase-estimation setting studied here, coherent consensus provides this coordination through entanglement, reducing sampling error relative to independent measurements. To exploit this primitive more broadly, further machine learning techniques must be encoded into the action of a phase gate on entangled probes.
Finally, we stress that coherent consensus is a ready-to-deploy primitive for phase estimation and sign classification with imperfect phase gates. Other standalone quantum techniques may follow similar steps to become part of a toolkit of primitives that can advance algorithms executed on current and future quantum devices.
Acknowledgments
The authors thank Matthew Ho, Jun Yong, and Siong Thye for useful discussions. The authors also thank Irfan Khan for support with hardware deployment on Helios-1. This project is supported by the National Research Foundation, Singapore through the National Quantum Office, hosted in A*STAR, under its Advanced Quantum Computing Infrastructure Funding Initiative (S25Q8D9001) and its Centre for Quantum Technologies Funding Initiative (S24Q2d0009).
Data availability
The data are available from the authors upon reasonable request.
Proofs of the theorems
In this appendix, we prove Theorems 1 and 2. We begin by introducing some preliminary results.
Preliminaries
Fact 1 (Bernstein inequality [1]). Let be independent random variables with means , and suppose there exists such that almost surely for all S_n:=\sum_{j=1}^{n}(X_j-\mu_j)$ and . Then, for all , the one- and two-sided bounds hold:
Fact 2 (Hoeffding inequality [1]). Let be independent random variables with and let have mean . Then, for every ,
Definition 2 (Principal value and two-argument arctangent). The principal value of an angle is the unique representative satisfying
Pairs of angles differing by integer multiples of share the same principal value. For , choose any such that
and define
For , we set $\operatorname{atan2}(0,0):=0.
Fact 3 (Properties of the two-argument arctangent). The function in Definition 2 has the following properties.
(1) Smoothness. On , the function is smooth and
(2) Circular stability. Let with and , and let satisfy . Then and
(3) Principal-value stability. Under the assumptions of circular stability, if also holds, then
Proof. Differentiating away from its branch cut gives the smoothness formulas. For the two stability properties, write
where and is the smaller signed angle from the direction of to that of . Then
Since , it follows that , hence . It also follows that , thus proving circular stability. The additional phase-margin condition implies , which prevents the angular displacement from crossing the branch cut of , thus proving principal-value stability.
Fact 4 (Bound on the absolute error for single-qubit phase estimation). Let be a phase. Denote the absolute-error target by and the failure probability by , and assume
Let the even number of shots satisfy
Then there is an estimator satisfying .
Proof. Use shots for measurements in the basis and shots for measurements in the basis. The probabilities of the outcome 0 are
Let and be the corresponding empirical frequencies of outcome 0. Each empirical frequency is formed from independent Bernoulli outcomes. Define
Set and let be the event
The Hoeffding inequality and a union bound for the complementary event give
On , define
Then . Since , it follows that . Together with , principal-value stability in Fact 3 with yields on , proving the claim.
Theorem 1 (Bound on the relative error for majority voting). Let be a given phase such that , with . Let be the phases of imperfect phase gates (Definition 1) in the quantum circuit of Figure 2a. Denote the relative error by and the failure probability by , and assume
Furthermore, let the number of qubits and the even number of shots satisfy
Then, there is an estimator using the measurement statistics from Figure 2a that satisfies .
Proof. Set . The phase-range assumption implies and . First consider the random phase realizations. In coordinates rotated by , define
Rotating by expresses each gate phase relative to the target, turning the unit vector into ; thus is the average of the rotated vectors, and its angle is the deviation of the averaged gate direction from . We use these coordinates because this deviation is then controlled by , a mean of independent, zero-mean, bounded variables to which the Bernstein inequality applies. Since , and . Symmetry gives , while and . Let be the event that the sampled satisfy this inequality. If , then almost surely for every , so . Otherwise, , and the following concentration calculation applies. Applying the Bernstein inequality (Fact 1) yields
Using and the assumed lower bound on gives
This probability bound also holds in the zero-noise case. For every phase realization, let . Since , on it follows that . Thus the noiseless combined phase (defined as a real, unwrapped angle for every realization) differs from by at most on . It remains to control measurement noise.
As in Fact 4, we use shots for measurements in the basis and shots for measurements in the basis. Each basis is measured for shots, giving independent, but not necessarily identically distributed, Bernoulli outcomes for fixed . Let and be the empirical frequencies of outcome 0 for the th qubit. Their means are
Define the probabilities pooled over all qubits by
To obtain the closed forms, note that , so Definition 2 gives and . The angle-addition formulas then give
where the last equalities use . Averaging and over and substituting these sums yields the expressions for and . For the majority voting estimator, we first pool these frequencies:
Define
The centered vector of the pooled probabilities is
Set and let be the event
conditional on the phases . The Hoeffding inequality and a union bound give
Since , the stated shot bound makes the right-hand side at most . This bound does not depend on the values of the , so it also holds unconditionally: . On the intersection of the measurement event and the phase event , define
Then . Moreover, on , since and . Applying Fact 3 with reference radius therefore gives
On , the triangle inequality gives
A union bound proves that this occurs with probability at least , because and .
Theorem 2 (Bound on the relative error for coherent consensus). Let be a given phase such that , with . Let be the phases of imperfect phase gates (Definition 1) in the quantum circuit of Figure 2b. Denote the relative error by and the failure probability by , and assume
where is the number of qubits. Let and the even number of shots satisfy
Then, there is an estimator using the measurement statistics from Figure 2b that satisfies .
Proof. Define the real, unwrapped sum . If , the phase error is zero and the phase event below has probability one without invoking the Bernstein inequality. Otherwise, , and the following concentration argument applies. Apply the Bernstein inequality (Fact 1) to
with and . For any ,
Set and define
for . For nonzero noise parameters,
(If , then deterministically.) Thus implies . This is why the unknown in the Bernstein exponent can be replaced by its known lower bound when fixing the qubit budget. The stated bound on consequently gives
Set . The assumption on the range of gives . It then follows that
For fixed , the readout probabilities are and . Let and be the empirical frequencies of outcome 0 in the coherent consensus readout, and define
The stated shot bound is equivalent to
so applying Fact 4 conditionally on the realized phases, with , absolute error , and failure probability , guarantees
The additional factor relative to majority voting comes from estimating the amplified phase , approximately equal to . On , the triangle inequality yields
using . A union bound gives , proving the claim. ∎
The proofs use the two-argument arctangent (Definition 2) and its properties (Fact 3). The shot budget is accordingly evenly split between measurements in the and bases to estimate and , respectively, where is the phase of interest for majority voting or coherent consensus. Knowledge of the bounds on may inform alternative shot allocations in practice. For instance, in Section III, is known to be small, and all the measurements are carried out in the basis.
References
References
- [1]J.J. Bollinger, W.M. Itano, D.J. Wineland, and D.J. Heinzen, “Optimal Frequency Measurements with Maximally Correlated States,” Phys. Rev. A 54 (1996) R4649.pubmed.ncbi.nlm.nih.gov/9914139
- [2]V. Giovannetti, S. Lloyd, and L. Maccone, “Quantum Metrology,” Phys. Rev. Lett. 96 (2006) 010401 [quant-ph/0509179].
- [3]R. Cleve, A. Ekert, C. Macchiavello, and M. Mosca, “Quantum Algorithms Revisited,” Proc. R. Soc. Lond. A 454 (1998) 339 [quant-ph/9708016].DOI
- [4]S. Kimmel, G.H. Low, and T.J. Yoder, “Robust Calibration of a Universal Single-Qubit Gate Set via Robust Phase Estimation,” Phys. Rev. A 92 (2015) 062315 [1502.02677]. [Erratum: Phys. Rev. A 104 (2021) 069901].DOI
- [5]P. Kómár, E.M. Kessler, M. Bishof, L. Jiang, A.S. Sørensen, J. Ye et al., “A Quantum Network of Clocks,” Nat. Phys. 10 (2014) 582 [1310.6045].DOI
- [6]T.J. Proctor, P.A. Knott, and J.A. Dunningham, “Multiparameter Estimation in Networked Quantum Sensors,” Phys. Rev. Lett. 120 (2018) 080501 [1707.06252].DOI
- [7]Z. Eldredge, M. Foss-Feig, J.A. Gross, S.L. Rolston, and A.V. Gorshkov, “Optimal and Secure Measurement Protocols for Quantum Sensor Networks,” Phys. Rev. A 97 (2018) 042337 [1607.04646].DOI
- [8]J. Rubio, P.A. Knott, T.J. Proctor, and J.A. Dunningham, “Quantum sensing networks for the estimation of linear functions,” J. Phys. A: Math. Theor. 53 (2020) 344001 [2003.04867].
- [9]L.-Z. Liu, Y.-Z. Zhang, Z.-D. Li, R. Zhang, X.-F. Yin, Y.-Y. Fei et al., “Distributed quantum phase estimation with entangled photons,” Nat. Photon. 15 (2021) 137 [2102.11679].DOI
- [10]G.H. Low and I.L. Chuang, “Optimal Hamiltonian Simulation by Quantum Signal Processing,” Phys. Rev. Lett. 118 (2017) 010501 [1606.02685].DOI
- [11]P. Rall and B. Fuller, “Amplitude Estimation from Quantum Signal Processing,” Quantum 7 (2023) 937 [2207.08628].DOI
- [12]K. Oshio, K. Wada, and N. Yamamoto, “Near-Heisenberg-Limited Parallel Amplitude Estimation with Logarithmic Depth Circuit,” arXiv:2508.06121 (2025).arxiv.org/abs/2508.06121
- [13]A. Ransford, M.S. Allman, J. Arkinstall, J.P. Campora, S.F. Cooper, R.D. Delaney et al., “A 98-qubit trapped-ion quantum computer with all-to-all connectivity,” Nature 655 (2026) 81 [2511.05465].DOI
- [14]Quantinuum, “Job Costing,” Quantinuum Systems Documentation, Helios, 2026.
- [15]G. Brassard, P. Høyer, M. Mosca, and A. Tapp, “Quantum Amplitude Amplification and Estimation,” Contemp. Math. 305 (2002) 53 [quant-ph/0005055].
- [16]E. Knill, G. Ortiz, and R.D. Somma, “Optimal Quantum Measurements of Expectation Values of Observables,” Phys. Rev. A 75 (2007) 012328 [quant-ph/0607019].DOI
- [17]B.L. Higgins, D.W. Berry, S.D. Bartlett, M.W. Mitchell, H.M. Wiseman, and G.J. Pryde, “Demonstrating Heisenberg-Limited Unambiguous Phase Estimation without Adaptive Measurements,” New J. Phys. 11 (2009) 073023 [0809.3308].
- [18]S. Direkci, R. Finkelstein, M. Endres, and T. Gefen, “Heisenberg-Limited Bayesian Phase Estimation with Low-Depth Digital Quantum Circuits,” npj Quantum Inf. 12 (2026) 31 [2407.06006].
- [19]F. Belliardo and V. Giovannetti, “Achieving Heisenberg Scaling with Maximally Entangled States: An Analytic Upper Bound for the Attainable Root-Mean-Square Error,” Phys. Rev. A 102 (2020) 042613 [2007.02994].DOI
- [20]C.D. Marciniak, T. Feldker, I. Pogorelov, R. Kaubruegger, D.V. Vasilyev, R. van Bijnen et al., “Optimal metrology with programmable quantum sensors,” Nature 603 (2022) 604 [2107.01860].DOI
- [21]Q. Zhuang and Z. Zhang, “Physical-Layer Supervised Learning Assisted by an Entangled Sensor Network,” Phys. Rev. X 9 (2019) 041023 [1901.09566].
- [22]Y. Xia, W. Li, Q. Zhuang, and Z. Zhang, “Quantum-Enhanced Data Classification with a Variational Entangled Sensor Network,” Phys. Rev. X 11 (2021) 021047 [2006.11962].
- [23]M. Schuld and F. Petruccione, “Quantum ensembles of quantum classifiers,” Sci. Rep. 8 (2018) 2772 [1704.02146].DOI
- [24]A. Macaluso, L. Clissa, S. Lodi, and C. Sartori, “An Efficient Quantum Algorithm for ensemble classification using bagging,” IET Quantum Commun. 5 (2024) 253 [2007.01028].
- [25]J. Chen, Y. Wu, Z. Yang, S. Xu, X. Ye, D. Li et al., “Quantum ensemble learning with a programmable superconducting processor,” npj Quantum Inf. 11 (2025) 83 [2503. 11047].arxiv.org/abs/2503.11047
- [26]H. Buhrman, N. Linden, L. Mančinska, A. Montanaro, and M. Ozols, “Quantum Majority Vote,” in 14th Innovations in Theoretical Computer Science Conference (ITCS 2023), vol. 251 of LIPIcs, p. 29, 2023, DOI [2211.11729].arxiv.org/abs/2211.11729
- [27]A. Pérez-Salinas, A. Cervera-Lierta, E. Gil-Fuster, and J.I. Latorre, “Data re-uploading for a universal quantum classifier,” Quantum 4 (2020) 226 [1907.02805].
- [28]A. Pérez-Salinas, D. López-Núñez, A. García-Sáez, P. Forn-Díaz, and J.I. Latorre, “One qubit as a universal approximant,” Phys. Rev. A 104 (2021) 012405 [2102.04032].
- [29]H. Buhrman, M. Folkertsma, B. Loff, and N.M.P. Neumann, “State preparation by shallow circuits using feed forward,” Quantum 8 (2024) 1552 [2307.14840].DOI
- [30]D. Angluin, “Queries and Concept Learning,” Mach. Learn. 2 (1988) 319.DOI
- [31]C.H. Bennett, E. Bernstein, G. Brassard, and U. Vazirani, “Strengths and Weaknesses of Quantum Computing,” SIAM J. Comput. 26 (1997) 1510 [quant-ph/9701001].DOI
- [32]C.D. Bruzewicz, J. Chiaverini, R. McConnell, and J.M. Sage, “Trapped-Ion Quantum Computing: Progress and Challenges,” Appl. Phys. Rev. 6 (2019) 021314 [1904.04178].DOI
- [33]M. Foss-Feig, G. Pagano, A.C. Potter, and N.Y. Yao, “Progress in Trapped-Ion Quantum Simulation,” Annu. Rev. Condens. Matter Phys. 16 (2025) 145 [2409.02990].
- [34]K. Hornik, “Approximation capabilities of multilayer feedforward networks,” Neural Networks 4 (1991) 251.DOI



