TWI783297B - Method and calculation system for quantum amplitude estimation - Google Patents

Method and calculation system for quantum amplitude estimation Download PDF

Info

Publication number
TWI783297B
TWI783297B TW109139876A TW109139876A TWI783297B TW I783297 B TWI783297 B TW I783297B TW 109139876 A TW109139876 A TW 109139876A TW 109139876 A TW109139876 A TW 109139876A TW I783297 B TWI783297 B TW I783297B
Authority
TW
Taiwan
Prior art keywords
quantum
computer
qubits
state
statistic
Prior art date
Application number
TW109139876A
Other languages
Chinese (zh)
Other versions
TW202121267A (en
Inventor
王國明
恩山 達克斯 許
彼得 D 約翰遜
曹玉東
德默斯 皮埃爾 盧克 達萊爾
Original Assignee
美商札帕塔運算股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Priority claimed from US16/900,947 external-priority patent/US11615329B2/en
Application filed by 美商札帕塔運算股份有限公司 filed Critical 美商札帕塔運算股份有限公司
Publication of TW202121267A publication Critical patent/TW202121267A/en
Application granted granted Critical
Publication of TWI783297B publication Critical patent/TWI783297B/en

Links

Images

Landscapes

  • Complex Calculations (AREA)

Abstract

A hybrid quantum-classical (HQC) computer takes advantage of the available quantum coherence to maximally enhance the power of sampling on noisy quantum devices, reducing measurement number and runtime compared to VQE. The HQC computer derives inspiration from quantum metrology, phase estimation, and the more recent “alpha-VQE” proposal, arriving at a general formulation that is robust to error and does not require ancilla qubits. The HQC computer uses the “engineered likelihood function” (ELF)to carry out Bayesian inference. The ELF formalism enhances the quantum advantage in sampling as the physical hardware transitions from the regime of noisy intermediate-scale quantum computers into that of quantum error corrected ones. This technique speeds up a central component of many quantum algorithms, with applications including chemistry, materials, finance, and beyond.

Description

用於量子振幅估計之方法與計算系統Method and Computational System for Quantum Amplitude Estimation

本發明是有關於一種用於量子振幅估計之方法與計算系統。The present invention relates to a method and computing system for quantum amplitude estimation.

量子電腦承諾解決使用古典電腦無法解決或僅可極為低效地解決的業界關鍵問題。主要應用領域包括化學及材料、生物科學及生物資訊學、物流及金融。近來,量子計算得到的關注猛增,部分歸因於現成的量子電腦在效能上的一波進步。然而,近期量子裝置在資源上仍極為有限,從而阻礙量子電腦在實踐所關注問題上的部署。Quantum computers promise to solve key industry problems that cannot be solved or can only be solved extremely inefficiently with classical computers. Key application areas include chemistry and materials, biosciences and bioinformatics, logistics and finance. Quantum computing has received a surge of attention recently, in part due to a wave of improvements in the performance of off-the-shelf quantum computers. However, near-term quantum devices are still extremely limited in resources, thus hindering the deployment of quantum computers on practical problems of concern.

新近的一批迎合近期量子裝置之限制的方法已受到密切關注。此等方法包括變分量子本征解算器(VQE)、量子近似最佳化演算法(QAOA)及變體、變分量子線性系統解算器、利用變分原理的其他量子演算法,以及量子機器學習演算法。儘管此類演算法有所創新,但是此等方法中的許多對商業相關問題已表現為不切實際的,此係由於其在量測數目和運行時間上的高成本。然而,對於中等大小的問題例子,在運行時間上提供二次加速之方法(諸如,相位估計)所要求的量子資源遠遠超出近期裝置之能力範圍。A recent wave of approaches to meeting the constraints of near-term quantum devices has come under intense scrutiny. Such methods include variational quantum eigensolvers (VQE), quantum approximate optimization algorithms (QAOA) and variants, variational quantum linear system solvers, other quantum algorithms using variational principles, and Quantum Machine Learning Algorithms. Despite innovations in such algorithms, many of these approaches have proven impractical for commercially relevant problems due to their high cost in the number of measurements and runtime. However, for moderately sized problem instances, methods that provide quadratic speedups in run time, such as phase estimation, require quantum resources well beyond the capabilities of recent devices.

諸如變分量子本征解算器(VQE)的混合量子古典演算法所要求的量測數目由於許多實踐價值問題而過高。降低此成本的量子演算法(例如,量子振幅及相位估計)所要求的誤差率對於近期實現方式而言太低。本發明之實施例包括混合量子古典(HQC)電腦,以及藉由HQC電腦執行之方法,該等電腦及方法利用可用量子相干性來最大化地增強對有雜訊的量子裝置取樣的能力,從而與VQE相比降低量測數目並且縮短運行時間。此類實施例自量子方法、相位估計以及更新近的「α-VQE」提案得到啟發,從而得到對誤差穩健並且不要求附屬量子位元的通用公式。此方法的中心對象即所謂的「工程化概似函數」(ELF),用於執行貝氏推論。本發明之實施例使用ELF形式論來增強取樣中的量子優勢,因為實體硬體自有雜訊的中間尺度量子電腦之型態轉變成經量子誤差校正的電腦之型態。此技術加速許多量子演算法的中心分量,其應用包括化學、材料、金融及其他領域。The number of measurements required by hybrid quantum classical algorithms such as the variational quantum eigensolver (VQE) is prohibitively high for many practical value problems. Quantum algorithms (eg, quantum amplitude and phase estimation) that reduce this cost require error rates that are too low for near-term implementations. Embodiments of the invention include hybrid quantum-classical (HQC) computers, and methods performed by HQC computers, which exploit available quantum coherence to maximize the ability to sample noisy quantum devices, thereby Reduces the number of measurements and shortens run time compared to VQE. Such embodiments take inspiration from quantum methods, phase estimation, and more recently the "α-VQE" proposal, leading to general formulations that are robust to errors and do not require satellite qubits. The central object of this method is the so-called "Engineered Likelihood Function" (ELF), which is used to perform Bayesian inference. Embodiments of the present invention use the ELF formalism to enhance the quantum advantage in sampling as physical hardware transforms from the state of a noisy mesoscale quantum computer to that of a quantum error corrected computer. The technology accelerates a central component of many quantum algorithms, with applications in chemistry, materials, finance and other fields.

本發明之各種態樣及實施例之其他特徵及優勢將自以下描述及申請專利範圍變得顯而易見。Other features and advantages of various aspects and embodiments of the present invention will become apparent from the following description and claims.

本發明之實施例係關於執行量子振幅估計的混合古典量子電腦(HQC)。參照圖4,示出包括量子電腦432及古典電腦434兩者之HQC 430的流程圖,該HQC 430執行根據本發明之一個實施例之量子振幅估計方法。在由古典電腦434執行的方塊404中,選擇複數個量子電路參數值來最佳化統計量之準確性改良率,該統計量估計可觀測

Figure 02_image003
關於量子狀態
Figure 02_image005
之預期值
Figure 02_image007
。Embodiments of the present invention relate to a hybrid classical quantum computer (HQC) performing quantum amplitude estimation. Referring to FIG. 4 , there is shown a flowchart of an HQC 430 including both a quantum computer 432 and a classical computer 434 that implements a quantum amplitude estimation method according to one embodiment of the present invention. In block 404 performed by the classical computer 434, a plurality of quantum circuit parameter values are selected to optimize the rate of accuracy improvement of the statistic estimating the observable
Figure 02_image003
About quantum states
Figure 02_image005
expected value of
Figure 02_image007
.

在實施例中,統計量係由自隨機變數取樣之複數個值計算出的樣本平均值。在本論述中,此等取樣值係藉由量測量子電腦432的量子位元獲得。然而,在不脫離本發明之範疇的情況下,統計量可替代地為偏度、峰度、分位數,或另一類型的統計量。統計量為預期值

Figure 02_image007
的估計量,並且可為有偏或不偏的。可根據機率分佈對複數個值進行建模,在此種情況下統計量可表示機率分佈的參數。例如,統計量可表示高斯分佈之平均值,如下文在第3.2節中更詳細描述。In an embodiment, the statistic is a sample mean calculated from a plurality of values sampled from a random variable. In this discussion, the sampled values are obtained by quantifying the qubits of the subcomputer 432 . However, the statistic may alternatively be skewness, kurtosis, quantile, or another type of statistic without departing from the scope of the present invention. The statistic is the expected value
Figure 02_image007
and can be biased or unbiased. Complex values can be modeled according to a probability distribution, in which case the statistic represents a parameter of the probability distribution. For example, the statistic may represent the mean of a Gaussian distribution, as described in more detail in Section 3.2 below.

量子電路參數值係控制量子閘如何對量子位元進行運算的實數。在本論述中,可將每一量子電路表示為量子閘之序列,其中該序列之每一量子閘由量子電路參數值中之一者控制。例如,量子電路參數值中之每一者可表示一或多個量子位元之狀態在對應的希伯特空間中旋轉的角度。Quantum circuit parameter values are real numbers that control how the quantum gate operates on the qubits. In this discussion, each quantum circuit can be represented as a sequence of quantum gates, where each quantum gate of the sequence is controlled by one of the quantum circuit parameter values. For example, each of the quantum circuit parameter values may represent an angle by which the state of one or more qubits is rotated in the corresponding Hibert space.

準確性改良率係表達本發明之方法實施例的每一次疊代對統計量之對應準確性之改良程度的函數。準確性改良率為量子電路參數的函數,並且可另外為統計量(例如,平均值)的函數。準確性係統計量之誤差之任何量化度量。例如,準確性可為均方差、標準差、變異數、平均絕對誤差,或誤差的另一矩。替代地,準確性可為資訊度量,諸如,費雪資訊或資訊熵。針對準確性使用變異數之實例在下文更詳細描述(例如,參見方程式36)。在此等實例中,準確性資訊率可為方程式38中引入的變異數縮減因數。替代地,準確性資訊率可為費雪資訊(例如,參見方程式42)。然而,在不脫離本發明之範疇的情況下,準確性改良率可為量化準確性之改良的另一函數。The accuracy improvement rate is a function expressing the improvement degree of each iteration of the method embodiment of the present invention to the corresponding accuracy of the statistic. The rate of accuracy improvement is a function of quantum circuit parameters, and may additionally be a function of a statistic (eg, mean). Accuracy Any quantitative measure of the error of a systematic measure. For example, accuracy can be mean square error, standard deviation, variance, mean absolute error, or another moment of error. Alternatively, accuracy may be an information metric, such as Fisher information or information entropy. An example of using the variance for accuracy is described in more detail below (eg, see Equation 36). In such examples, the accuracy information rate may be the variance reduction factor introduced in Equation 38. Alternatively, the accuracy information rate may be Fisher information (eg, see Equation 42). However, the rate of improvement in accuracy may be another function of the improvement in quantification accuracy without departing from the scope of the present invention.

在一些實施例中,使用坐標上升及梯度下降中的一者來選擇複數個量子電路參數值。此等兩種技術在第4.1.1節中更詳細描述。In some embodiments, the plurality of quantum circuit parameter values are selected using one of coordinate ascent and gradient descent. These two techniques are described in more detail in Section 4.1.1.

在由量子電腦432執行的方塊406中,將交替的第一及第二廣義反射算子之序列應用於量子電腦432之一或多個量子位元,以將一或多個量子位元自量子狀態

Figure 02_image009
變換成反射量子狀態。第一及第二廣義反射算子中之每一者係根據複數個量子電路參數值中之對應一者加以控制。第3.1節中描述的算子
Figure 02_image011
Figure 02_image013
分別為第一及第二廣義反射算子的實例。方程式19中引入的算子
Figure 02_image015
係交替的第一及第二廣義反射算子之序列之一個實例,其中向量
Figure 02_image017
表示複數個量子電路參數值。第一及第二廣義反射算子之序列以及可觀測
Figure 02_image019
可定義工程化概似函數之偏誤,如下文關於方程式26所描述。In block 406 performed by the quantum computer 432, a sequence of alternating first and second generalized reflection operators is applied to one or more qubits of the quantum computer 432 to transfer the one or more qubits from the quantum state
Figure 02_image009
Transform into a reflective quantum state. Each of the first and second generalized reflection operators is controlled according to a corresponding one of a plurality of quantum circuit parameter values. Operators described in Section 3.1
Figure 02_image011
and
Figure 02_image013
are instances of the first and second generalized reflection operators, respectively. The operator introduced in Equation 19
Figure 02_image015
is an example of a sequence of alternating first and second generalized reflection operators, where the vector
Figure 02_image017
Represents a complex number of quantum circuit parameter values. Sequences and Observables of the First and Second Generalized Reflection Operators
Figure 02_image019
The bias of the engineered likelihood function can be defined as described below with respect to Equation 26.

在亦由量子電腦432執行的方塊408中,關於可觀測

Figure 02_image019
量測處於反射量子狀態之複數個量子位元,以獲得一組量測成果。在由古典電腦434執行的方塊410中,用該組量測成果更新統計量,以獲得
Figure 02_image007
之具有更高準確性的估計值。In block 408, also performed by quantum computer 432, the observable
Figure 02_image019
A plurality of qubits in reflective quantum states are measured to obtain a set of measurement results. In block 410 performed by classical computer 434, statistics are updated with the set of measurements to obtain
Figure 02_image007
estimates with higher accuracy.

該方法可進一步包括在該更新之後輸出統計量。替代地,該方法可疊代地進行方塊404、406、408及410。在一些實施例中,該方法進一步包括在古典電腦434上並且用該組量測成果更新統計量之準確性估計值。準確性估計值為上文描述之準確性(例如,變異數)的計算值。在此等實施例中,該方法疊代地進行方塊404、406、408及410,直至準確性估計值降至臨限值以下為止。The method may further include outputting statistics after the updating. Alternatively, the method may perform blocks 404 , 406 , 408 and 410 iteratively. In some embodiments, the method further includes updating the estimate of the accuracy of the statistic on the classical computer 434 and using the set of measurements. Accuracy estimates are calculated values of the accuracies (eg, variance) described above. In these embodiments, the method iteratively performs blocks 404, 406, 408, and 410 until the accuracy estimate falls below a threshold.

在一些實施例中,在方塊410中,藉由用複數個量測值更新事前分佈以獲得事後分佈並且自事後分佈計算更新的統計量,來更新統計量。In some embodiments, in block 410, the statistics are updated by updating the ex-ante distribution with the plurality of measurements to obtain the ex-post distribution and computing the updated statistics from the ex-post distribution.

在一些實施例中,基於統計量及統計量之準確性估計值來選擇複數個量子電路參數值。可進一步基於表示在該應用及量測期間發生的誤差之保真度來選擇複數個量子電路參數值。In some embodiments, the plurality of quantum circuit parameter values are selected based on the statistic and an estimate of the accuracy of the statistic. A plurality of quantum circuit parameter values may be selected further based on fidelity representative of errors occurring during the application and measurement.

1.1.1.1. 引言introduction

相位估計及貝氏視角之組合產生貝氏相位估計技術,該等技術與早期提案相比更適合於能夠實現有限深度量子電路之有雜訊的量子裝置。採用上文之標記,電路參數

Figure 02_image021
並且目標在於估計算子
Figure 02_image023
的本征值
Figure 02_image025
中的相位
Figure 02_image027
。應重點注意的是此處的概似函數,
Figure 02_image029
(1)
The combination of phase estimation and Bézierian perspective results in Bézier phase estimation techniques that are more suitable than earlier proposals for noisy quantum devices capable of realizing finite depth quantum circuits. Using the above notation, the circuit parameters
Figure 02_image021
and the goal is to estimate the operator
Figure 02_image023
eigenvalue of
Figure 02_image025
phase in
Figure 02_image027
. It should be noted that the approximate function here,
Figure 02_image029
(1)

在除貝氏相位估計以外的許多環境中係共用的,其中

Figure 02_image031
Figure 02_image033
分別為第一及第二種類之切比雪夫多項式。此共通性產生用於與相位估計相關的任務(諸如哈密爾頓特徵化)之貝氏推論機器。在藉由高斯先驗進行貝氏推論相比其他非適應性取樣方法的指數優勢中,係藉由展示預期事後變異數
Figure 02_image035
隨推論步驟之數目呈指數衰減來建立的。此種指數收斂以每一推論步驟所要求之數量為
Figure 02_image037
的量子相干性為代價。此種定標在貝氏相位估計的情境下亦得以確認。Common to many contexts other than Bayesian phase estimation, where
Figure 02_image031
and
Figure 02_image033
are Chebyshev polynomials of the first and second kind, respectively. This commonality yields Bayesian inference machines for tasks related to phase estimation, such as Hamiltonian characterization. Among the exponential advantages of Bayesian inference with Gaussian priors over other non-adaptive sampling methods is that by showing the expected post hoc variance
Figure 02_image035
Established by exponential decay with the number of inference steps. This exponential convergence takes the amount required for each inference step to be
Figure 02_image037
at the expense of quantum coherence. This scaling is also confirmed in the context of Bayesian phase estimation.

具備了貝氏相位估計技術以及作為振幅估計問題的重疊估計之視角,可設計出在標準取樣型態與相位估計型態之間平滑地內插之用於算子量測的貝氏推論方法。此被提議為「

Figure 02_image039
-VQE」,其中用於執行算子量測之漸近定標為
Figure 02_image041
,其中極值
Figure 02_image043
對應於標準取樣型態(通常在VQE中實現),並且
Figure 02_image045
對應於量子增強型態,其中定標達到海森堡限值(通常藉由相位估計實現)。藉由改變貝氏推論的參數,亦可達成在
Figure 02_image047
Figure 02_image049
之間的
Figure 02_image039
值。
Figure 02_image039
值愈低,貝氏相位估計所需要的量子電路愈深。此實現了量子相干性與量測過程之漸近加速之間的折衷。Armed with the Bayesian phase estimation technique and the perspective of overlap estimation as an amplitude estimation problem, a Bayesian inference method for operator measurements that smoothly interpolates between standard sampling and phase estimation can be designed. This is proposed as "
Figure 02_image039
-VQE", where the asymptotic scaling used to perform operator measurements is
Figure 02_image041
, where the extremum
Figure 02_image043
corresponds to the standard sampling pattern (usually implemented in VQE), and
Figure 02_image045
Corresponds to the quantum-enhanced regime, where scaling reaches the Heisenberg limit (usually achieved by phase estimation). By changing the parameters of Bayesian inference, it can also be achieved in
Figure 02_image047
and
Figure 02_image049
between
Figure 02_image039
value.
Figure 02_image039
The lower the value, the deeper the quantum circuit required for Bayesian phase estimation. This achieves a compromise between quantum coherence and an asymptotic speed-up of the measurement process.

亦值得注意的是,相位估計並非可達到振幅估計之海森堡限值的唯一範例。在先前的研究中,作者考慮了估計量子狀態

Figure 02_image051
的參數
Figure 02_image053
的任務。提議一種並行策略,其中使用用於產生
Figure 02_image051
的參數化電路之
Figure 02_image055
個複製品,以及初始纏結狀態及基於纏結的量測來創建其中參數
Figure 02_image053
放大至
Figure 02_image057
的狀態。此種放大亦可產生類似於方程式1中之概似函數的概似函數。在先前的研究中已展示,藉由隨機化量子運算及貝氏推論,即使在存在雜訊的情況下亦可與古典取樣相比以更少的疊代來提取資訊。在量子振幅估計中,考慮具有變化的疊代數目
Figure 02_image055
及量測數目
Figure 02_image059
之電路。一組特別選擇的對
Figure 02_image061
產生可用於推斷待估計振幅之概似函數。針對作者給出之一個特定概似函數構造展現了海森堡限值。兩項研究均強調參數化概似函數之能力,從而使研究其在不完善硬體狀況下的效能係有吸引力的。It is also worth noting that phase estimation is not the only example where the Heisenberg limit for amplitude estimation can be achieved. In a previous study, the authors considered estimating the quantum state
Figure 02_image051
parameters
Figure 02_image053
task. Propose a parallel strategy in which using for generating
Figure 02_image051
of the parametric circuit of
Figure 02_image055
replicas, and the initial entanglement state and entanglement-based measurements to create its parameters
Figure 02_image053
zoom to
Figure 02_image057
status. Such amplification may also produce an likelihood function similar to that in Equation 1. It has been shown in previous studies that by randomizing quantum operations and Bayesian inference, information can be extracted with fewer iterations than classical sampling, even in the presence of noise. In quantum amplitude estimation, consider the number of iterations with varying
Figure 02_image055
and the number of measurements
Figure 02_image059
the circuit. A set of specially selected pairs
Figure 02_image061
An approximate function is generated that can be used to extrapolate the amplitude to be estimated. The Heisenberg limit is shown for one particular likelihood function construction given by the authors. Both studies emphasize the ability to parameterize the likelihood function, making it attractive to study its performance on imperfect hardware.

1.2.1.2. 主要結果main results

本發明之實施例包括用於估計預期

Figure 02_image063
的系統及方法,其中狀態
Figure 02_image065
可由量子電路
Figure 02_image067
準備,以使得
Figure 02_image069
。本發明之實施例可使用一系列量子電路,以使得當電路隨
Figure 02_image067
的更多次重複加深時,其允許作為
Figure 02_image027
的甚至更高次的多項式的概似函數。如下一節中藉由具體實例所描述,多項式次數的此增加之直接後果為推論能力的增加,該增加可由每一推論步驟處的費雪資訊增益來量化。在建立此「增強取樣」技術之後,本發明之實施例可將參數引入至量子電路中,並且使所得的概似函數可調諧。本發明之實施例可在每一推論步驟期間最佳化參數以獲得最大資訊增益。以下多行見解源於吾等的努力:Embodiments of the invention include methods for estimating expected
Figure 02_image063
The system and method, wherein the state
Figure 02_image065
quantum circuit
Figure 02_image067
ready to make
Figure 02_image069
. Embodiments of the invention may use a series of quantum circuits such that when the circuits follow
Figure 02_image067
When deepening with more repetitions of , it allows as
Figure 02_image027
Approximate functions for polynomials of even higher degree. As described with specific examples in the next section, a direct consequence of this increase in polynomial degree is an increase in inference power, which can be quantified by the Fisher information gain at each inference step. After establishing this "enhanced sampling" technique, embodiments of the present invention can introduce parameters into quantum circuits and make the resulting approximate functions tunable. Embodiments of the present invention may optimize parameters during each inference step for maximum information gain. The following lines of insight stem from our efforts:

1.   雜訊及誤差在振幅估計中的作用:先前的研究已揭露雜訊對概似函數及哈密爾頓頻譜之輸出估計的影響。本文的揭示內容針對本發明之實施例所使用之振幅估計方案來研究上述影響。本文的描述展現,當雜訊及誤差並不增加產生在特定統計誤差容限內之輸出所需要的運行時間時,雜訊及誤差未必會在估計演算法之輸出中引入系統偏誤。可藉由使用主動雜訊裁剪技術並且校準雜訊效應來抑制估計中之系統偏誤。1. The role of noise and error in amplitude estimation: Previous studies have revealed the impact of noise on the output estimation of the likelihood function and the Hamiltonian spectrum. The disclosure herein investigates the above effects for the amplitude estimation scheme used by the embodiments of the present invention. The description herein demonstrates that noise and errors do not necessarily introduce systematic bias in the output of an estimation algorithm when they do not increase the runtime required to produce an output within a certain statistical error tolerance. Systematic bias in estimation can be suppressed by using active noise clipping techniques and calibrating for noise effects.

針對近期裝置使用真實誤差參數的模擬已揭露,就取樣效率而言,增強取樣方案可優於VQE。實驗結果亦已揭露對容忍更高的保真度未必導致更好的演算效能的量子演算法實現方式中的誤差之看法。在本發明之特定實施例中,存在大致

Figure 02_image071
的最佳電路保真度,在此最佳保真度下,增強方案產生最大的量子加速量。Simulations using real error parameters for recent devices have revealed that enhanced sampling schemes can outperform VQE in terms of sampling efficiency. Experimental results have also shed light on the perception that tolerating errors in quantum algorithm implementations with higher fidelity does not necessarily lead to better computational performance. In a particular embodiment of the invention, there is approximately
Figure 02_image071
The optimal circuit fidelity of , at which the augmentation scheme yields the greatest amount of quantum speedup.

1.   概似函數可調諧性的作用:參數化概似函數可在相位估計或振幅估計常式中使用。據悉,所有當前方法均關注切比雪夫形式的概似函數(方程式1)。對於此等切比雪夫概似函數(CLF),在存在雜訊的情況下,存在參數

Figure 02_image027
之特定值(「死點」),對於此等值,CLF用於推論之效率與
Figure 02_image027
之其他值相比顯著更低。本發明之實施例可藉由利用角度參數經使得可調諧的廣義反射算子工程化概似函數的形式來移除彼等死點。1. The role of the tunability of the approximate function: The parameterized approximate function can be used in phase estimation or amplitude estimation routines. It is known that all current methods focus on the Chebyshev form of the approximate function (Eq. 1). For these Chebyshev-like functions (CLFs), in the presence of noise, there are parameters
Figure 02_image027
Specific values ("dead points") of , for which CLF is used for inference efficiency and
Figure 02_image027
significantly lower than the other values. Embodiments of the present invention can remove these dead spots by engineering an approximate function with an angle parameter via a generalized reflection operator that enables tunability.

2.   當誤差率降低時用於估計之運行時間模型:先前的工作已展現了漸近成本定標自VQE的

Figure 02_image073
至相位估計的
Figure 02_image075
之平滑變換。本發明之實施例藉由研發用於使用具有雜訊度
Figure 02_image077
的裝置來在目標準確性
Figure 02_image079
上估計運行時間
Figure 02_image081
的模型來推進此思路(參見第6節):
Figure 02_image083
(2)
2. Run-time model for estimation as error rate decreases: Previous work has shown that asymptotic cost scaling from VQE
Figure 02_image073
to the phase estimated
Figure 02_image075
The smooth transformation. Embodiments of the present invention are developed for use with noise level
Figure 02_image077
The means come in target accuracy
Figure 02_image079
Estimated run time on
Figure 02_image081
to advance this line of thinking (see Section 6):
Figure 02_image083
.
(2)

3.   模型作為

Figure 02_image085
的函數在
Figure 02_image087
定標與
Figure 02_image089
定標之間內插。此類界限亦允許分析本發明之實施例以得到作為硬體規格(諸如量子位元數目及雙量子位元保真度)的函數之量子加速,並且因此使用當前及未來硬體之真實參數來估計運行時間。3. Model as
Figure 02_image085
function in
Figure 02_image087
Calibration and
Figure 02_image089
Interpolate between scales. Such bounds also allow analysis of embodiments of the present invention for quantum speedups as a function of hardware specifications such as number of qubits and two-qubit fidelity, and thus use real parameters of current and future hardware to Estimated runtime.

本揭示案之後續章節組織如下。第2節呈現根據本發明之一個實施例實現之方案的具體實例。隨後,後續章節詳述根據本發明之各種實施例之此方案的通用公式。第3節詳細描述用於實現ELF之通用量子電路構造,並且分析在有雜訊及無雜訊兩種環境中的ELF結構。除了量子電路方案,本發明之實施例亦涉及:1)調諧電路參數以最大化資訊增益,以及2)用於更新有關

Figure 02_image027
的真實值的分佈的當前可信度的貝氏推論。第4節呈現用於兩者的啟發式演算法。第5節中呈現數值結果,將本發明之實施例與基於CLF之現有方法進行比較。第6節揭示運行時間模型,並且導出(2)中的表達式。第7節揭示從量子計算的廣泛視角來看的所揭示結果之意義。 方案 貝氏推論 雜訊考慮 完全可調諧LF 要求附屬 要求本征狀態 Knill等人 Svore等人 Wiebe及Grenade Wang等人 O’Brien等人 Zintchenko及Wiebe Suzuki等人 本研究(第1節) 本研究(附錄A) Subsequent chapters of this disclosure are organized as follows. Section 2 presents a concrete example of a scheme implemented according to one embodiment of the invention. Subsequent sections then detail the general formulation of this scheme according to various embodiments of the invention. Section 3 describes in detail the construction of general quantum circuits for realizing ELF, and analyzes the structure of ELF in both noisy and non-noisy environments. In addition to quantum circuit schemes, embodiments of the present invention also involve: 1) tuning circuit parameters to maximize information gain, and 2) updating related
Figure 02_image027
Bayesian inference of the current confidence in the distribution of the true value of . Section 4 presents the heuristic algorithms used for both. Numerical results are presented in Section 5, comparing embodiments of the present invention with existing methods based on CLF. Section 6 reveals the runtime model and derives the expression in (2). Section 7 reveals the implications of the revealed results from the broad perspective of quantum computing. plan Bayesian inference noise considerations Fully Tunable LF request attachment Eigenstate Knill et al. no no no yes no Svore et al. no no no yes yes Wiebe and Grenade yes yes no yes yes Wang et al. yes yes no yes yes O'Brien et al. yes yes no yes no Zintchenko and Wiebe no yes no no no Suzuki et al. no no no no no This study (section 1) yes yes yes no no This study (Appendix A) yes yes yes yes no

表1.吾等的方案與文獻中出現之相關提案的比較。此處,特徵列表包括方案中所使用之量子電路除保持用於重疊估計的狀態之量子位元之外是否要求附屬量子位元、方案是否使用貝氏推論、是否考慮任何雜訊彈性、是否要求初始狀態為本征狀態,以及概似函數是像本文所提議之ELF一樣係完全可調諧亦或是局限於切比雪夫概似函數。Table 1. Comparison of our scheme with related proposals appearing in the literature. Here, the list of features includes whether the quantum circuits used in the scheme require satellite qubits in addition to qubits that hold states used for overlap estimation, whether the scheme uses Bayesian inference, whether any noise resilience is considered, whether The initial state is the eigenstate, and the likelihood function is either fully tunable like the proposed ELF or restricted to the Chebyshev approximation function.

2.2. 第一實例first instance

存在兩種主要策略來估計某個算子

Figure 02_image091
之預期值
Figure 02_image093
。量子振幅估計方法相對於特定計算模型提供可證明的量子加速。然而,爲了達成估計值的精確度
Figure 02_image079
,此方法中需要的電路深度定標為
Figure 02_image075
,從而使其對於近期量子電腦不切實際。變分量子本征解算器使用標準取樣來進行振幅估計。標準取樣允許低深度量子電路,從而使其更適合在近期量子電腦上實現。然而,在實踐中,此方法的低效率使得VQE對於許多感興趣的問題不切實際。本節介紹一種可由本發明之實施例使用的用於振幅估計之增強取樣方法。此技術試圖最大化有雜訊的量子裝置之統計能力。此方法經描述為從對如VQE中所使用之標準取樣的簡單分析開始。There are two main strategies for estimating an operator
Figure 02_image091
expected value of
Figure 02_image093
. Quantum amplitude estimation methods provide demonstrable quantum speedups relative to specific computational models. However, in order to achieve the accuracy of the estimated
Figure 02_image079
, the required circuit depth scaling in this method is
Figure 02_image075
, making it impractical for near-term quantum computers. The variational quantum eigensolver uses standard sampling for amplitude estimation. Standard sampling allows for low-depth quantum circuits, making them more suitable for implementation on near-term quantum computers. In practice, however, the inefficiency of this approach makes VQE impractical for many problems of interest. This section introduces an upsampling method for amplitude estimation that may be used by embodiments of the present invention. This technique attempts to maximize the statistical power of noisy quantum devices. This method is described as starting from a simple analysis of a standard sample as used in VQE.

VQE的能量估計次常式關於包立串估計振幅。對於分解為包立串

Figure 02_image095
的線性組合及「擬設狀態」
Figure 02_image097
的哈密爾頓,能量預期值估計為包立預期值估計值之線性組合
Figure 02_image099
(3)
The energy estimation subroutine of VQE estimates the amplitude with respect to the Baoli series. For decomposition into packet strings
Figure 02_image095
Linear combinations of and "supposed states"
Figure 02_image097
Hamiltonian, the expected value of the energy is estimated as a linear combination of estimates of the expected value of Pauli
Figure 02_image099
(3)

其中

Figure 02_image101
Figure 02_image103
的(振幅)估計值。VQE使用標準取樣方法來關於擬設狀態建置包立預期值估計值,其可概述為如下:in
Figure 02_image101
for
Figure 02_image103
The (amplitude) estimate of . VQE uses a standard sampling approach to construct an estimate of the expected value for a proposed state, which can be summarized as follows:

標準取樣:Standard sampling:

1.   準備

Figure 02_image097
並且量測算子
Figure 02_image019
,接收成果
Figure 02_image105
。1. Prepare
Figure 02_image097
and measure the operator
Figure 02_image019
, receiving the result
Figure 02_image105
.

2.   重複

Figure 02_image107
次,接收標記為
Figure 02_image109
Figure 02_image111
個成果以及標記為
Figure 02_image047
Figure 02_image113
個成果。2. Repeat
Figure 02_image107
times, received marked as
Figure 02_image109
of
Figure 02_image111
results and marked as
Figure 02_image047
of
Figure 02_image113
result.

3.   估計

Figure 02_image115
Figure 02_image117
。3. Estimate
Figure 02_image115
for
Figure 02_image117
.

可使用作為時間

Figure 02_image119
的函數之估計量之均方差來量化此估計策略之效能,其中
Figure 02_image121
為每一量測的時間成本。因為估計量為不偏的,所以均方差僅為估計量的變異數,
Figure 02_image123
(4)
available as time
Figure 02_image119
To quantify the performance of this estimation strategy, the mean square error of the estimator of the function of
Figure 02_image121
Time cost for each measurement. Since the estimator is unbiased, the mean square error is simply the variance of the estimator,
Figure 02_image123
.
(4)

對於特定均方差

Figure 02_image125
,確保均方差
Figure 02_image127
所需要的演算法之運行時間為
Figure 02_image129
(5)
For a specific mean square error
Figure 02_image125
, ensuring that the mean square error
Figure 02_image127
The required running time of the algorithm is
Figure 02_image129
.
(5)

在VQE中能量估計之總運行時間為個別包立預期值估計運行時間之運行時間的總和。對於感興趣的問題,此運行時間可能成本太高,即使當使用特定並行化技術時亦如此。此成本之來源為標準取樣估計過程對

Figure 02_image027
中的小偏差之不靈敏度:標準取樣量測成果資料中所包含的有關
Figure 02_image027
之預期資訊增益為低。The total running time of the energy estimate in VQE is the sum of the running times of the individual Baoli expected value estimation running times. For the problem of interest, this runtime may be prohibitively expensive, even when certain parallelization techniques are used. The source of this cost is the standard sampling estimation process for
Figure 02_image027
Insensitivity to small deviations in the
Figure 02_image027
The expected information gain is low.

通常,可藉由費雪資訊來量測標準取樣的

Figure 02_image107
次重複的估計過程的資訊增益
Figure 02_image131
(6)
Usually, the standard sampling can be measured by the Fisher information
Figure 02_image107
The information gain of the repeated estimation process
Figure 02_image131
(6)

其中

Figure 02_image133
為來自標準取樣的
Figure 02_image107
次重複的一組成果。費雪資訊將概似函數
Figure 02_image135
識別為負責資訊增益。(不偏)估計量之均方差的下限可藉由克拉瑪-拉歐(Cramer-Rao)界限獲得
Figure 02_image137
(7)
in
Figure 02_image133
for the standard sampling
Figure 02_image107
A set of repeated results. Fisher Information will approximate the function
Figure 02_image135
identified as responsible for information gain. The lower bound of the mean square error of the (unbiased) estimator can be obtained by the Cramer-Rao bound
Figure 02_image137
(7)

使用費雪資訊隨樣本數目係加性的這一事實,得到

Figure 02_image139
,其中
Figure 02_image141
為自概似函數
Figure 02_image143
提取之單個樣本之費雪資訊。使用克拉瑪-拉歐界限,可找到估計過程之運行時間之下限
Figure 02_image145
(8)
Using the fact that the Fisher information is additive with sample size, we get
Figure 02_image139
,in
Figure 02_image141
is a self-similar function
Figure 02_image143
Extracted Fisher information for a single sample. Using the Kramer-Laou bound, a lower bound on the running time of the estimated process can be found
Figure 02_image145
,
(8)

其示出,爲了縮短估計演算法之運行時間,本發明之實施例可增大費雪資訊。It shows that embodiments of the present invention can augment Fisher information in order to reduce the runtime of the estimation algorithm.

增強取樣之一個目的在於藉由增大資訊增益率之工程化概似函數來縮短重疊估計的運行時間。考慮增強取樣之最簡單情況,該情況在圖5A至圖5C中圖示說明。為了產生資料,本發明之實施例可準備擬設狀態

Figure 02_image097
,應用運算
Figure 02_image019
,應用有關擬設狀態的相位翻轉,然後量測
Figure 02_image019
。有關擬設狀態的相位翻轉可藉由應用擬設電路之倒數
Figure 02_image147
、應用有關初始狀態的相位翻轉
Figure 02_image149
,隨後再應用擬設電路
Figure 02_image067
來達成。在此情況下,概似函數變為
Figure 02_image151
(9)
One purpose of upsampling is to reduce the runtime of overlap estimation by engineering the likelihood function to increase the information gain rate. Consider the simplest case of enhanced sampling, which is illustrated in Figures 5A-5C. Embodiments of the invention may prepare hypothetical states for data generation
Figure 02_image097
, apply the operation
Figure 02_image019
, apply a phase flip about the proposed state, and then measure
Figure 02_image019
. The phase inversion of the proposed state can be obtained by applying the reciprocal of the proposed circuit
Figure 02_image147
, applying a phase flip about the initial state
Figure 02_image149
, and then apply the proposed circuit
Figure 02_image067
to achieve. In this case, the likelihood function becomes
Figure 02_image151
.
(9)

偏誤為

Figure 02_image027
Figure 02_image153
次切比雪夫多項式。本文中之揭示內容將此類概似函數稱為切比雪夫概似函數(CLF)。The error is
Figure 02_image027
of
Figure 02_image153
sub-Chebyshev polynomials. The disclosure herein refers to such approximate functions as Chebyshev approximate functions (CLF).

為了比較增強取樣的切比雪夫概似函數與標準取樣的切比雪夫概似函數,考慮

Figure 02_image155
的情況。這裡,
Figure 02_image157
,因此費雪資訊與概似函數之斜率之平方成正比
Figure 02_image159
(10)
To compare the Chebyshev approximation function for augmented sampling with the Chebyshev approximation function for standard sampling, consider
Figure 02_image155
Case. here,
Figure 02_image157
, so the Fisher information is proportional to the square of the slope of the likelihood function
Figure 02_image159
.
(10)

如圖5B中所見,切比雪夫概似函數在

Figure 02_image155
處之斜率與標準取樣概似函數之斜率相比更傾斜。在每一情況下單個樣本費雪資訊評估為
Figure 02_image161
 
Figure 02_image163
(11)
As seen in Figure 5B, the Chebyshev approximate function is in
Figure 02_image155
The slope at is steeper than the slope of the standard sampling likelihood function. In each case the single-sample Fisher-Information evaluation is
Figure 02_image161
Figure 02_image163
(11)

從而展現量子電路之簡單變體可如何增強資訊增益。在此實例中,使用增強取樣之最簡單情況可將達成目標誤差所需要之量測數目減少至少九倍。如稍後將論述,本發明之實施例可藉由在量測

Figure 02_image019
之前應用
Figure 02_image165
Figure 02_image167
來進一步增大費雪資訊。事實上,費雪資訊
Figure 02_image169
Figure 02_image165
二次增長。This demonstrates how simple variants of quantum circuits can enhance information gain. In this example, the simplest case using enhanced sampling can reduce the number of measurements needed to achieve the target error by at least a factor of nine. As will be discussed later, embodiments of the present invention can be achieved by measuring
Figure 02_image019
previously applied
Figure 02_image165
Floor
Figure 02_image167
To further increase Fisher Information. In fact, Fisher Information
Figure 02_image169
with
Figure 02_image165
secondary growth.

尚未描述將增強取樣量測資料轉換成估計的估計方案。增強取樣引入之一個複雜性在於當本發明之實施例收集量測資料時改變

Figure 02_image165
的選擇。在此情況下,給定來自具有變化的
Figure 02_image165
之電路之一組量測成果,
Figure 02_image109
Figure 02_image047
計數的樣本平均值失去其意義。代替使用樣本平均值,為了將量測成果處理成有關
Figure 02_image027
的資訊,本發明之實施例可使用貝氏推論。第2節描述使用貝氏推論進行估計的特定實施例。Estimation schemes for converting augmented sampling measurements into estimates have not been described. One complication introduced by enhanced sampling is that when embodiments of the present invention collect measurement data, changes
Figure 02_image165
s Choice. In this case, given the change from
Figure 02_image165
A set of measurement results of the circuit,
Figure 02_image109
and
Figure 02_image047
The sample mean of the count loses its meaning. Instead of using the sample mean, in order to process the measurement results into relevant
Figure 02_image027
For the information, the embodiment of the present invention can use Bayesian inference. Section 2 describes a specific example of estimation using Bayesian inference.

此時,可試圖指出標準取樣與增強取樣之間的比較係不公平的,因為在標準取樣情況下僅使用對

Figure 02_image067
的一個查詢,而在增強取樣方案中使用對
Figure 02_image067
的三個查詢。看起來,若考慮由三個標準取樣步驟產生的概似函數,則亦可在概似函數中得到三次多項式形式。事實上,假設執行三個獨立的標準取樣步驟,得到結果
Figure 02_image171
,並且藉由自分佈
Figure 02_image173
取樣來古典地產生二進製成果
Figure 02_image175
。隨後,概似函數採取如下形式:
Figure 02_image177
(12)
At this point, one could try to point out that the comparison between standard sampling and augmented sampling is unfair, since in the case of standard sampling only
Figure 02_image067
A query of , while in the enhanced sampling scheme using the pair
Figure 02_image067
of the three queries. It appears that if one considers the likelihood function resulting from three standard sampling steps, a cubic polynomial form can also be obtained in the likelihood function. In fact, assuming three separate standard sampling steps are performed, the result
Figure 02_image171
, and by the self-distribution
Figure 02_image173
Sampling to classically produce binary results
Figure 02_image175
. The likelihood function then takes the form:
Figure 02_image177
,
(12)

其中每一

Figure 02_image179
為可經由改變分佈
Figure 02_image181
古典地調諧之參數。更具體地,
Figure 02_image183
,其中
Figure 02_image185
為位元串
Figure 02_image187
之漢明權重。假設希望
Figure 02_image189
等於方程式9中的
Figure 02_image191
。此隱示
Figure 02_image193
Figure 02_image195
Figure 02_image197
Figure 02_image199
,其明顯超出方程式12中的概似函數之古典可調諧性。此係表明由方程式9中之量子方案產生之概似函數超出古典手段的證據。each of them
Figure 02_image179
can be changed by changing the distribution
Figure 02_image181
Parameters tuned classically. More specifically,
Figure 02_image183
,in
Figure 02_image185
as a bit string
Figure 02_image187
The Hamming weights. Assuming hope
Figure 02_image189
is equal to the
Figure 02_image191
. This hint
Figure 02_image193
,
Figure 02_image195
,
Figure 02_image197
and
Figure 02_image199
, which clearly exceeds the classical tunability of the approximate function in Equation 12. This is evidence that the approximate function produced by the quantum scheme in Equation 9 exceeds classical means.

當電路層之數目

Figure 02_image165
增大時,每樣本的時間
Figure 02_image121
Figure 02_image165
線性地增長。此電路層數目之線性增長以及費雪資訊之二次增長引起預期運行時間之下限,
Figure 02_image201
(13)
When the number of circuit layers
Figure 02_image165
When increasing, the time per sample
Figure 02_image121
with
Figure 02_image165
grow linearly. This linear increase in the number of circuit layers and the quadratic increase in Fisher-Info results in a lower bound on the expected runtime,
Figure 02_image201
,
(13)

此係在假設具有不偏估計量的固定

Figure 02_image165
式估計策略之情況下。在實踐中,在量子電腦上實現之運算受誤差影響。幸運的是,本發明之實施例可使用貝氏推論,該推論可將此類誤差併入至估計過程中。只要誤差對概似函數之形式的影響得到準確地建模,此類誤差的主要效應就僅僅是減緩資訊增益率。當電路層之數目
Figure 02_image165
增大時,量子電路中的誤差累積。因此,超出電路層之特定數目,就將關於費雪資訊的增益(或運行時間的縮減)接收到遞減的返回。隨後,估計演算法可試圖平衡此等競爭因素,以便最佳化總體效能。This is based on the assumption that there is a fixed and unbiased estimator
Figure 02_image165
In the case of formula estimation strategy. In practice, operations implemented on quantum computers are subject to errors. Fortunately, embodiments of the present invention can use Bayesian inference, which can incorporate such errors into the estimation process. As long as the effect of errors on the form of the likelihood function is accurately modeled, the main effect of such errors is simply to slow down the rate of information gain. When the number of circuit layers
Figure 02_image165
When increasing, errors in quantum circuits accumulate. Thus, beyond a certain number of circuit layers, the gain (or reduction in runtime) with respect to Fisher information receives a diminishing return. Estimation algorithms can then attempt to balance these competing factors in order to optimize overall performance.

誤差的引入對估計造成另一問題。在無誤差時,針對所有

Figure 02_image027
,在
Figure 02_image203
的增強取樣情況下每樣本費雪資訊增益大於或等於
Figure 02_image205
。如圖6A至圖6B中所示出,在引入即使小幅誤差時,在概似函數平坦之處的
Figure 02_image027
的值引起費雪資訊之大幅下降。此類區域在本文中稱為估計死點。此觀測激發了對概似函數(ELF)工程化以增強其統計能力的概念。藉由將
Figure 02_image019
Figure 02_image207
運算推廣至廣義反射
Figure 02_image209
Figure 02_image211
,本發明之實施例可使用旋轉角度,以使得資訊增益在此類死點附近升高。即使對於更深的增強取樣電路,對概似函數工程化仍允許本發明之實施例減輕估計死點的效應。The introduction of error poses another problem for estimation. In error-free conditions, for all
Figure 02_image027
,exist
Figure 02_image203
The per-sample Fisher Information Gain is greater than or equal to the upsampled case of
Figure 02_image205
. As shown in Figures 6A-6B, when even a small error is introduced, where the likelihood function is flat
Figure 02_image027
The value of caused a sharp drop in Fisher Information. Such regions are referred to herein as estimated dead spots. This observation inspired the concept of engineering likelihood functions (ELFs) to enhance their statistical power. by putting
Figure 02_image019
and
Figure 02_image207
Operation generalized to generalized reflection
Figure 02_image209
and
Figure 02_image211
, embodiments of the present invention may use the rotation angle such that the information gain increases near such dead centers. Even for deeper upsampling circuits, engineering the likelihood function allows embodiments of the present invention to mitigate the effects of estimated dead points.

3.3. 工程化概似函數Engineered Likelihood Function

本節描述可由本發明之實施例使用的用於對用於振幅估計之概似函數工程化之方法。首先描述用於提取對應於工程化概似函數之樣本之量子電路,並且隨後描述用於調諧電路參數並且藉由所得的概似函數進行貝氏推論之技術。This section describes methods for engineering approximate functions for amplitude estimation that may be used by embodiments of the present invention. A quantum circuit for extracting samples corresponding to an engineered likelihood function is first described, and then a technique for tuning circuit parameters and performing Bayesian inference with the resulting likelihood function is described.

3.1.3.1. 用於工程化概似函數的量子電路Quantum Circuits for Engineering Likelihood Functions

現在將描述用於設計、實現及在電腦(例如,量子電腦或混合量子古典電腦)上執行一程序以用於估計如下預期值的技術

Figure 02_image213
(18) Techniques for designing, implementing, and executing a program on a computer (e.g., a quantum computer or a hybrid quantum classical computer) for estimating expected values will now be described
Figure 02_image213
(18)

其中

Figure 02_image215
,其中
Figure 02_image217
量子位元麼正算子,
Figure 02_image219
本征值為
Figure 02_image221
Figure 02_image223
量子位元赫米特算子,並且引入
Figure 02_image225
以促進稍後的貝氏推論。在構造本文所揭示的估計演算法時,可假設本發明之實施例能夠執行以下基元運算。首先,本發明之實施例可準備計算基礎狀態
Figure 02_image227
,並且向其應用量子電路
Figure 02_image067
,從而獲得
Figure 02_image229
。其次,本發明之實施例對於任何角度
Figure 02_image231
實現麼正算子
Figure 02_image233
。最後,本發明之實施例執行
Figure 02_image019
的量測,該
Figure 02_image019
經建模為具有各別成果標記
Figure 02_image235
之投射值度量
Figure 02_image237
。本發明之實施例亦可使用麼正算子
Figure 02_image239
,其中
Figure 02_image241
Figure 02_image243
。遵循慣例,
Figure 02_image011
Figure 02_image013
在本文中將分別被稱為關於
Figure 02_image019
Figure 02_image245
本征空間及狀態
Figure 02_image097
的廣義反射,其中
Figure 02_image247
Figure 02_image249
分別為此等廣義反射之角度。in
Figure 02_image215
,in
Figure 02_image217
The qubit operator,
Figure 02_image219
The eigenvalues are
Figure 02_image221
of
Figure 02_image223
Qubit Hermitian operator, and introduce
Figure 02_image225
To facilitate later Bayesian inferences. In constructing the estimation algorithms disclosed herein, it may be assumed that embodiments of the present invention are capable of performing the following primitive operations. First, embodiments of the present invention may prepare to compute the base state
Figure 02_image227
, and applying a quantum circuit to it
Figure 02_image067
, thus obtaining
Figure 02_image229
. Secondly, the embodiment of the present invention is for any angle
Figure 02_image231
Realize the positive operator
Figure 02_image233
. Finally, embodiments of the present invention implement
Figure 02_image019
measurement, the
Figure 02_image019
Modeled to have individual achievement markers
Figure 02_image235
projected value measure
Figure 02_image237
. The embodiment of the present invention can also use the positive operator
Figure 02_image239
,in
Figure 02_image241
and
Figure 02_image243
. follow the convention,
Figure 02_image011
and
Figure 02_image013
will be referred to in this paper as the
Figure 02_image019
of
Figure 02_image245
Eigenspace and state
Figure 02_image097
The generalized reflection of , where
Figure 02_image247
and
Figure 02_image249
are the angles of these generalized reflections, respectively.

本發明之實施例可使用圖7中之無附屬(吾等稱此方案為「無附屬的」(AF),因為此方案不涉及任何附屬量子位元。在附錄A中,吾等考慮命名為「基於附屬的」(AB)方案之不同方案,該方案涉及一個附屬量子位元)量子電路來產生工程化概似函數(ELF),該ELF係在給定待估計的未知量

Figure 02_image053
的情況下成果
Figure 02_image251
的機率分佈。電路可例如包括廣義反射之序列。具體地,在準備擬設狀態
Figure 02_image229
之後,本發明之實施例可向其應用
Figure 02_image253
個廣義反射
Figure 02_image255
Figure 02_image257
Figure 02_image259
Figure 02_image261
Figure 02_image263
,從而在每一運算中改變旋轉角度
Figure 02_image265
。爲了便利起見,
Figure 02_image267
在本文中將被稱為電路的第
Figure 02_image269
層,其中
Figure 02_image271
。此電路的輸出狀態為
Figure 02_image273
(19)
Embodiments of the present invention may use the free-attached (AF) scheme in Figure 7 (we refer to this scheme as "attachment-free" (AF) because this scheme does not involve any appended qubits. In Appendix A, we consider named A variant of the "attachment-based" (AB) scheme that involves an appendage qubit) quantum circuit to generate an engineered likelihood function (ELF) given the unknown to be estimated
Figure 02_image053
case outcome
Figure 02_image251
probability distribution. A circuit may, for example, include a sequence of generalized reflections. Specifically, in the state of preparation for the proposed
Figure 02_image229
Thereafter, embodiments of the present invention may be applied to
Figure 02_image253
generalized reflection
Figure 02_image255
,
Figure 02_image257
,
Figure 02_image259
,
Figure 02_image261
,
Figure 02_image263
, thus changing the rotation angle in each operation
Figure 02_image265
. For your convenience,
Figure 02_image267
In this paper will be referred to as the circuit's first
Figure 02_image269
layer, where
Figure 02_image271
. The output state of this circuit is
Figure 02_image273
(19)

其中

Figure 02_image275
為可調諧參數之向量。最後,本發明之實施例可對此狀態執行投射量測
Figure 02_image237
,從而接收成果
Figure 02_image251
。in
Figure 02_image275
is a vector of tunable parameters. Finally, embodiments of the present invention may perform projection measurements on this state
Figure 02_image237
, so as to receive the result
Figure 02_image251
.

如在格羅佛演算法中,廣義反射

Figure 02_image277
Figure 02_image279
確保量子狀態對於任何
Figure 02_image269
均保持在二維子空間
Figure 02_image281
中(為了確保
Figure 02_image283
為二維的,假設
Figure 02_image285
,亦即,
Figure 02_image287
Figure 02_image289
)。設
Figure 02_image291
Figure 02_image283
中正交於
Figure 02_image097
的狀態(唯一的,取決於相位),亦即,
Figure 02_image293
(20)
As in Grover's algorithm, the generalized reflection
Figure 02_image277
and
Figure 02_image279
Ensuring the quantum state for any
Figure 02_image269
are kept in the two-dimensional subspace
Figure 02_image281
in (to ensure
Figure 02_image283
is two-dimensional, assuming
Figure 02_image285
,that is,
Figure 02_image287
or
Figure 02_image289
). Assume
Figure 02_image291
for
Figure 02_image283
Orthogonal to
Figure 02_image097
state (unique, phase-dependent), that is,
Figure 02_image293
(20)

為了幫助分析,將此二維子空間視為量子位元,從而將

Figure 02_image097
Figure 02_image295
分別寫為
Figure 02_image297
Figure 02_image299
。To aid in the analysis, consider this two-dimensional subspace as qubits, whereby
Figure 02_image097
and
Figure 02_image295
respectively written as
Figure 02_image297
and
Figure 02_image299
.

Figure 02_image301
Figure 02_image303
Figure 02_image305
Figure 02_image307
分別為此虛擬量子位元上的包立算子及恆等算子。隨後,關注子空間
Figure 02_image309
,可將
Figure 02_image019
重寫為
Figure 02_image311
(21)
Assume
Figure 02_image301
,
Figure 02_image303
,
Figure 02_image305
and
Figure 02_image307
are the Baoli operator and the identity operator on this virtual qubit, respectively. Then, focus on the subspace
Figure 02_image309
, can be
Figure 02_image019
rewrite as
Figure 02_image311
(twenty one)

並且將廣義反射

Figure 02_image277
Figure 02_image279
重寫為
Figure 02_image313
(22)
and will generalize reflect
Figure 02_image277
and
Figure 02_image279
rewrite as
Figure 02_image313
(twenty two)

Figure 02_image315
(23) and
Figure 02_image315
(twenty three)

其中

Figure 02_image317
為可調諧參數。隨後,由
Figure 02_image165
層電路實現之麼正算子
Figure 02_image015
變為
Figure 02_image319
(24)
in
Figure 02_image317
is a tunable parameter. Subsequently, by
Figure 02_image165
The positive operator
Figure 02_image015
becomes
Figure 02_image319
.
(twenty four)

應注意,在此圖片中,

Figure 02_image321
為固定的,而
Figure 02_image323
Figure 02_image325
Figure 02_image327
視未知量
Figure 02_image053
而定。結果是,與在原始「實體」圖片中相比,在此「邏輯」圖片中設計並分析估計演算法更便利。因此,此圖片將用於本揭示案的剩餘部分。It should be noted that in this picture,
Figure 02_image321
is fixed, while
Figure 02_image323
,
Figure 02_image325
and
Figure 02_image327
depending on the unknown
Figure 02_image053
depends. As a result, it is easier to design and analyze estimation algorithms in this "logical" picture than in the original "physical" picture. Therefore, this picture will be used for the remainder of this disclosure.

工程化概似函數(亦即,量測成果

Figure 02_image251
之機率分佈)視電路的輸出狀態
Figure 02_image329
及可觀測
Figure 02_image331
而定。Engineering Likelihood Functions (i.e., Measuring Outcomes
Figure 02_image251
The probability distribution) depending on the output state of the circuit
Figure 02_image329
and observable
Figure 02_image331
depends.

精確地,工程化概似函數為

Figure 02_image333
(25) Precisely, the engineered likelihood function is
Figure 02_image333
(25)

其中

Figure 02_image335
(26) in
Figure 02_image335
(26)

為概似函數之偏誤 (自此,將使用

Figure 02_image337
Figure 02_image339
來分別表示
Figure 02_image341
Figure 02_image343
關於
Figure 02_image053
的導數)。特別地,若
Figure 02_image345
,則得到
Figure 02_image347
。亦即,此
Figure 02_image017
的概似函數之偏誤為
Figure 02_image027
的(第一種類之)
Figure 02_image349
次切比雪夫多項式。出於此原因,此
Figure 02_image017
的概似函數在本文中將被稱為切比雪夫概似函數(CLF)。第5節將探索CLF與通用ELF之間的效能間隙。is the bias of the likelihood function (from now on, we will use
Figure 02_image337
and
Figure 02_image339
to represent
Figure 02_image341
and
Figure 02_image343
about
Figure 02_image053
derivative of ). In particular, if
Figure 02_image345
, then get
Figure 02_image347
. That is, this
Figure 02_image017
The error of the approximate function of is
Figure 02_image027
of (the first category)
Figure 02_image349
sub-Chebyshev polynomials. For this reason, the
Figure 02_image017
The likelihood function of will be referred to as the Chebyshev likelihood function (CLF) in this paper. Section 5 explores the performance gap between CLF and general-purpose ELF.

事實上,量子裝置受雜訊影響。為了使估計過程針對誤差係穩健的,本發明之實施例可將以下雜訊模型併入概似函數中。In fact, quantum devices are affected by noise. In order to make the estimation process robust against errors, embodiments of the present invention may incorporate the following noise models into the approximate function.

在實踐中,雜訊模型的建立可利用用於針對所使用之特定裝置校準概似函數之程序。關於貝氏推論,此模型之參數被稱為多餘參數;目標參數並不直接視多餘參數而定,而是多餘參數判定資料與目標參數的相關程度,因此,多餘參數可併入推論過程中。本揭示案之剩餘部分將假設雜訊模型已校準至足夠的精度,以便使模型誤差的效應可忽略。In practice, the establishment of the noise model may utilize a procedure for calibrating the likelihood function for the particular device used. Regarding Bayesian inference, the parameters of this model are called redundant parameters; the target parameters do not directly depend on the redundant parameters, but the redundant parameters determine the degree of correlation between the data and the target parameters, so the redundant parameters can be incorporated into the inference process. The remainder of this disclosure will assume that the noise model has been calibrated to sufficient accuracy so that the effects of model errors are negligible.

假設每一電路層

Figure 02_image351
之有雜訊的版本實現目標運算及作用於相同輸入狀態的完全去極化通道(去極化模型假設包含每一層的閘足夠隨機以防止相干誤差的系統累積。存在使此去極化模型更準確之技術,諸如隨機化編譯)的混合物,亦即,
Figure 02_image353
(27)
Assume that each circuit layer
Figure 02_image351
The noisy version achieves the target operation and a fully depolarized channel acting on the same input state (the depolarization model assumes that the gates containing each layer are random enough to prevent the systematic accumulation of coherence errors. There is a more exact techniques, such as randomized compilation), that is,
Figure 02_image353
,
(27)

其中

Figure 02_image355
為此層之保真度。在此類不完善運算的組成下,
Figure 02_image165
層電路之輸出狀態變為
Figure 02_image357
(28)
in
Figure 02_image355
This is the fidelity of this layer. Under the composition of such imperfect operations,
Figure 02_image165
The output state of the layer circuit becomes
Figure 02_image357
(28)

此不完善電路之前為

Figure 02_image097
的不完善準備,並且之後為
Figure 02_image019
的不完善量測。在隨機化基準的情境下,此類誤差被稱為狀態準備及量測(SPAM)誤差。本發明之實施例亦可藉由去極化模型對SPAM誤差建模,從而使
Figure 02_image097
的有雜訊的準備係
Figure 02_image359
,並且使
Figure 02_image019
的有雜訊的量測係POVM
Figure 02_image361
。將SPAM誤差參數組合到
Figure 02_image363
中,得到有雜訊的概似函數之模型
Figure 02_image365
(29)
This imperfect circuit was previously
Figure 02_image097
Imperfect preparation for , and then for
Figure 02_image019
imperfect measurement. In the context of randomized benchmarks, such errors are known as state preparation and measurement (SPAM) errors. The embodiment of the present invention can also model the SPAM error by the depolarization model, so that
Figure 02_image097
noisy preparation system
Figure 02_image359
, and make
Figure 02_image019
POVM
Figure 02_image361
. Combining SPAM error parameters into
Figure 02_image363
, the model of the approximate function with noise is obtained
Figure 02_image365
(29)

其中

Figure 02_image367
為用於產生ELF之整個過程之保真度,並且
Figure 02_image369
為理想概似函數之偏誤,如方程式(26)中所定義的(自此,本揭示案將使用
Figure 02_image371
來表示
Figure 02_image373
的導數)。應注意,雜訊對ELF的總體效應為,雜訊將偏誤再縮放
Figure 02_image375
倍。此隱示,產生過程中的誤差愈少,所得ELF的斜率愈大(此意謂對於貝氏推論愈有用),如所預期。in
Figure 02_image367
is the fidelity of the entire process used to generate the ELF, and
Figure 02_image369
is the bias of the ideal likelihood function, as defined in equation (26) (henceforth, this disclosure will use
Figure 02_image371
To represent
Figure 02_image373
derivative of ). It should be noted that the overall effect of noise on ELF is that noise rescales the bias
Figure 02_image375
times. This implies that the less error in the generation process, the larger the slope of the resulting ELF (which means more useful for Bayesian inference), as expected.

在繼續論述藉由ELF進行的貝氏推論之前,值得一提的是工程化概似函數之以下性質,因為其將在第4節中起作用。已知三角-多線性及三角-多二次函數的概念。基本上,若對於任何

Figure 02_image377
,對於
Figure 02_image379
的一些(複數值)函數
Figure 02_image381
Figure 02_image383
Figure 02_image385
可寫為
Figure 02_image387
(30)
Before proceeding to discuss Bayesian inference by ELF, it is worth mentioning the following property of the engineered likelihood function, as it will come into play in Section 4. The concepts of trigonometric-multilinear and trigonometric-multiquadratic functions are known. Basically, if for any
Figure 02_image377
,for
Figure 02_image379
Some (complex-valued) functions of
Figure 02_image381
and
Figure 02_image383
,
Figure 02_image385
can be written as
Figure 02_image387
,
(30)

則多變數函數

Figure 02_image389
為三角-多線性的,並且將
Figure 02_image381
Figure 02_image383
稱為
Figure 02_image375
關於
Figure 02_image265
的餘弦-正弦-分解(CSD)係數函數。類似地,若對於任何
Figure 02_image377
,對於
Figure 02_image379
的一些(複數值)函數
Figure 02_image381
Figure 02_image383
Figure 02_image391
Figure 02_image385
可寫為
Figure 02_image393
(31)
then multivariate function
Figure 02_image389
is triangular-multilinear, and will
Figure 02_image381
and
Figure 02_image383
known as
Figure 02_image375
about
Figure 02_image265
The cosine-sine-decomposition (CSD) coefficient function of . Similarly, if for any
Figure 02_image377
,for
Figure 02_image379
Some (complex-valued) functions of
Figure 02_image381
,
Figure 02_image383
and
Figure 02_image391
,
Figure 02_image385
can be written as
Figure 02_image393
(31)

則多變數函數

Figure 02_image389
為三角-多二次的,並且將
Figure 02_image381
Figure 02_image383
Figure 02_image391
稱為
Figure 02_image375
關於
Figure 02_image265
的餘弦-正弦-偏誤-分解(CSBD)係數函數。三角-多線性及三角-多二次性的概念亦可自然地推廣至線性算子。亦即,若線性算子的每一項(任意地編寫)在一組變數中為三角-多線性的(或多二次性的),則此算子在相同變數中為三角-多線性的(或三角-多二次性的)。現在,方程式(22)、(23)及(24)隱示
Figure 02_image395
Figure 02_image017
的三角-多線性算子。隨後,自方程式(26)得到,
Figure 02_image343
Figure 02_image017
的三角-多二次性函數。此外,揭示了可在
Figure 02_image397
時間內評估
Figure 02_image343
關於任何
Figure 02_image265
的CSBD係數函數,並且此顯著促進第4.1節中用於調諧電路角度
Figure 02_image399
的演算法的構造。then multivariate function
Figure 02_image389
is trigonometrically-multiquadratic, and will
Figure 02_image381
,
Figure 02_image383
and
Figure 02_image391
known as
Figure 02_image375
about
Figure 02_image265
The cosine-sine-bias-decomposition (CSBD) coefficient function of . The concepts of trigonometric-multilinear and trigonometric-multiquadratic also extend naturally to linear operators. That is, if each term of a linear operator (arbitrarily written) is trigonometric-multilinear (or polyquadratic) in one set of variables, then the operator is trigonometric-multilinear in the same variables (or trigonometric - multi-quadratic). Now, equations (22), (23) and (24) imply
Figure 02_image395
for
Figure 02_image017
The triangular-multilinear operator of . Then, from equation (26), we get,
Figure 02_image343
for
Figure 02_image017
The trigonometric-multiquadratic function of . Furthermore, it is revealed that the
Figure 02_image397
time assessment
Figure 02_image343
about any
Figure 02_image265
function of the CSBD coefficients, and this significantly facilitates the tuning circuit angle used in Section 4.1
Figure 02_image399
The structure of the algorithm.

3.23.2 藉由工程化概似函數進行的貝氏推論Bayesian Inference via Engineered Likelihood Functions

在(有雜訊的)工程化概似函數的模型就位後,將描述用於調諧電路參數

Figure 02_image017
並且藉由用於振幅估計之所得概似函數執行貝氏推論的本發明之實施例。After a model of the (noisy) engineered likelihood function is in place, the parameters used to tune the circuit will be described
Figure 02_image017
And an embodiment of the present invention that performs Bayesian inference with the resulting approximate function for amplitude estimation.

從對用於估計

Figure 02_image401
的演算法的實施例的高階概述開始。爲了便利起見,此類實施例可對
Figure 02_image225
有效,而不是對
Figure 02_image027
有效。本發明之實施例可使用高斯分佈來表示
Figure 02_image053
的知識,並且隨著推論過程繼續進行,使此分佈逐漸收斂至
Figure 02_image053
的真實值。本發明之實施例可從
Figure 02_image027
的初始分佈(其可由標準取樣或域知識產生)開始,並且將其轉換成
Figure 02_image053
的初始分佈。隨後,本發明之實施例可疊代進行以下程序,直至滿足收斂準則為止。在每一回合,本發明之實施例可找到在特定意義上(基於
Figure 02_image053
的當前知識)最大化來自量測成果
Figure 02_image403
的資訊增益的電路參數
Figure 02_image017
。隨後,藉由最佳化參數
Figure 02_image017
來執行圖7中的量子電路,並且接收量測成果
Figure 02_image251
。最後,本發明之實施例可藉由使用貝氏法則、以
Figure 02_image403
為條件來更新
Figure 02_image053
的分佈。一旦此迴圈結束,本發明之實施例就可將
Figure 02_image053
的最終分佈轉換成
Figure 02_image027
的最終分佈,並且將此分佈的平均值設定為
Figure 02_image027
的最終估計值。有關此演算法的概念圖,請參見圖8。From pair to estimate
Figure 02_image401
Begin with a high-level overview of an embodiment of the algorithm. For convenience, such embodiments can
Figure 02_image225
valid instead of
Figure 02_image027
efficient. Embodiments of the present invention may use a Gaussian distribution to represent
Figure 02_image053
, and as the inference process continues, this distribution gradually converges to
Figure 02_image053
the true value of . Embodiments of the present invention can be obtained from
Figure 02_image027
Start with an initial distribution of (which can be generated by standard sampling or domain knowledge), and transform it into
Figure 02_image053
the initial distribution of . Subsequently, the embodiment of the present invention may perform the following procedures iteratively until the convergence criterion is met. In each round, embodiments of the invention can be found in a specific sense (based on
Figure 02_image053
current knowledge) maximizing results from measurements
Figure 02_image403
The circuit parameters of the information gain
Figure 02_image017
. Then, by optimizing the parameters
Figure 02_image017
To execute the quantum circuit in Figure 7, and receive the measurement results
Figure 02_image251
. Finally, embodiments of the present invention can be implemented by using Bayesian law, with
Figure 02_image403
to update the condition
Figure 02_image053
Distribution. Once this loop is over, embodiments of the present invention can
Figure 02_image053
The final distribution of is transformed into
Figure 02_image027
The final distribution of , and the mean of this distribution is set as
Figure 02_image027
final estimate of . See Figure 8 for a conceptual diagram of this algorithm.

下文更詳細地描述上述演算法之每一分量。貫穿整個推論過程,本發明之實施例使用高斯分佈來追蹤

Figure 02_image053
的值的可信度。亦即,在每一回合,對於某個事前平均值
Figure 02_image405
及事前變異數
Figure 02_image407
Figure 02_image053
具有事前分佈
Figure 02_image409
(32)
Each component of the above algorithm is described in more detail below. Throughout the inference process, embodiments of the present invention use a Gaussian distribution to track
Figure 02_image053
The credibility of the value of . That is, at each round, for some prior mean
Figure 02_image405
and ex ante variance
Figure 02_image407
,
Figure 02_image053
with prior distribution
Figure 02_image409
(32)

在接收到量測成果

Figure 02_image403
後,本發明之實施例可藉由使用貝氏法則來計算
Figure 02_image053
的事後分佈:
Figure 02_image411
(33)
After receiving the measurement results
Figure 02_image403
Afterwards, the embodiment of the present invention can be calculated by using Bayesian rule
Figure 02_image053
The post hoc distribution of :
Figure 02_image411
,
(33)

其中正規化因數或模型證據被定義為

Figure 02_image413
(回想起
Figure 02_image415
用於產生ELF之過程之保真度)。儘管真實的事後分佈將不會為高斯分佈,但是本發明之實施例可將其近似為如此。遵循先前的方法,本發明之實施例可用相同平均值及變異數(儘管本發明之實施例可直接按定義來計算事後分佈
Figure 02_image417
的平均值及變異數,但是此方法耗時,因為其涉及數值積分。相反,本發明之實施例可藉由利用工程化概似函數之特定性質來加速此過程。有關更多詳情,請參見第4.2節)的高斯分佈來替換真實事後,並且將其設定為下一回合之
Figure 02_image053
的事前。本發明之實施例可重複此量測及貝氏更新程序,直至
Figure 02_image053
的分佈充分集中在單個值附近為止。where the regularization factor or model evidence is defined as
Figure 02_image413
(recall
Figure 02_image415
Fidelity of the process used to generate the ELF). Although the true posterior distribution will not be Gaussian, embodiments of the present invention may approximate it to be so. Following the previous approach, embodiments of the present invention can use the same mean and variance (although embodiments of the present invention can directly compute the post hoc distribution by definition
Figure 02_image417
, but this method is time-consuming because it involves numerical integration. Instead, embodiments of the present invention can speed up this process by exploiting specific properties of engineered likelihood functions. See Section 4.2 for more details) to replace the true posterior with a Gaussian distribution, and set it to be
Figure 02_image053
beforehand. Embodiments of the present invention may repeat this measurement and Bayesian update procedure until
Figure 02_image053
until the distribution of is sufficiently concentrated around a single value.

由於演算法主要對

Figure 02_image053
有效,並且吾等最終對
Figure 02_image027
感興趣,本發明之實施例可在
Figure 02_image053
Figure 02_image027
的估計值之間進行轉換。此過程如下進行。假設在回合
Figure 02_image419
Figure 02_image053
的事前分佈為
Figure 02_image421
,並且
Figure 02_image027
的事前分佈為
Figure 02_image423
(注意,
Figure 02_image425
Figure 02_image427
Figure 02_image429
Figure 02_image431
為隨機變數,因為它們視取決於時間
Figure 02_image419
的隨機量測成果之歷史而定)。在此回合,
Figure 02_image053
Figure 02_image027
的估計量分別為
Figure 02_image425
Figure 02_image429
。給定
Figure 02_image053
的分佈
Figure 02_image421
,本發明之實施例可計算
Figure 02_image433
的平均值
Figure 02_image429
及變異數
Figure 02_image435
,並且將
Figure 02_image423
設定為
Figure 02_image027
的分佈。此步驟可以解析方式完成,就好像
Figure 02_image437
,隨後
Figure 02_image439
(34)
Figure 02_image441
(35)
Since the algorithm mainly
Figure 02_image053
works, and we finally agree
Figure 02_image027
interested, embodiments of the invention are available at
Figure 02_image053
and
Figure 02_image027
to convert between estimated values. This process proceeds as follows. suppose in bout
Figure 02_image419
,
Figure 02_image053
The prior distribution of
Figure 02_image421
,and
Figure 02_image027
The prior distribution of
Figure 02_image423
(Notice,
Figure 02_image425
,
Figure 02_image427
,
Figure 02_image429
and
Figure 02_image431
are random variables because they depend on time
Figure 02_image419
depends on the history of random measurement results). In this round,
Figure 02_image053
and
Figure 02_image027
The estimates for
Figure 02_image425
and
Figure 02_image429
. given
Figure 02_image053
Distribution
Figure 02_image421
, the embodiment of the present invention can calculate
Figure 02_image433
average value
Figure 02_image429
and variance
Figure 02_image435
, and will
Figure 02_image423
set as
Figure 02_image027
Distribution. This step can be done analytically, as if
Figure 02_image437
, then
Figure 02_image439
,
(34)
Figure 02_image441
.
(35)

相反,給定

Figure 02_image027
的分佈
Figure 02_image423
,本發明之實施例可計算
Figure 02_image443
的平均值
Figure 02_image425
及變異數
Figure 02_image445
(將
Figure 02_image027
鉗位至
Figure 02_image447
),並且將
Figure 02_image421
設定為
Figure 02_image053
的分佈。此步驟可以數值方式完成。儘管高斯變數之
Figure 02_image449
Figure 02_image451
函數並非真正的高斯分佈,但是本發明之實施例可將其近似為如此,並且發現此對演算法的效能具有的影響可忽略。Instead, given
Figure 02_image027
Distribution
Figure 02_image423
, the embodiment of the present invention can calculate
Figure 02_image443
average value
Figure 02_image425
and variance
Figure 02_image445
(Will
Figure 02_image027
clamped to
Figure 02_image447
), and will
Figure 02_image421
set as
Figure 02_image053
Distribution. This step can be done numerically. Although the Gaussian variable
Figure 02_image449
or
Figure 02_image451
The function is not a true Gaussian distribution, but embodiments of the present invention can approximate it as such, and this has been found to have negligible impact on the performance of the algorithm.

用於調諧電路角度

Figure 02_image017
的方法可由本發明之實施例如下實現。理想地,可謹慎選擇角度以使得隨著
Figure 02_image419
增長,
Figure 02_image053
的估計量
Figure 02_image425
之均方差(MSE)儘可能快地減小。然而在實踐中,直接計算此量很難,並且本發明之實施例可尋求其值的代理。估計量之MSE為估計量之變異數與估計量之平方偏誤的總和。
Figure 02_image425
的平方偏誤可小於其變異數,亦即,
Figure 02_image453
,其中
Figure 02_image455
Figure 02_image053
的真實值。
Figure 02_image053
的變異數
Figure 02_image445
常常接近
Figure 02_image425
的變異數,亦即,
Figure 02_image457
具有高機率。組合此等事實,得知
Figure 02_image459
具有高機率。因此,本發明之實施例可改為找到最小化
Figure 02_image053
的變異數
Figure 02_image445
的參數
Figure 02_image017
。For tuning circuit angle
Figure 02_image017
The method can be realized by the embodiments of the present invention as follows. Ideally, the angles can be chosen carefully so that as
Figure 02_image419
increase,
Figure 02_image053
estimator of
Figure 02_image425
The mean square error (MSE) is reduced as quickly as possible. In practice, however, it is difficult to directly calculate this quantity, and embodiments of the present invention may seek a proxy for its value. The MSE of an estimator is the sum of the variance of the estimator and the squared error of the estimator.
Figure 02_image425
The squared bias of can be smaller than its variance, that is,
Figure 02_image453
,in
Figure 02_image455
for
Figure 02_image053
the true value of .
Figure 02_image053
Variation of
Figure 02_image445
often close
Figure 02_image425
The variance of , that is,
Figure 02_image457
with high probability. Combining these facts, one learns that
Figure 02_image459
with high probability. Therefore, embodiments of the present invention may instead find the minimum
Figure 02_image053
Variation of
Figure 02_image445
parameters
Figure 02_image017
.

具體地,假設

Figure 02_image053
具有事前分佈
Figure 02_image461
。在接收到量測成果
Figure 02_image251
之後,
Figure 02_image053
的預期事後變異數為Specifically, suppose
Figure 02_image053
with prior distribution
Figure 02_image461
. After receiving the measurement results
Figure 02_image251
after,
Figure 02_image053
The expected post hoc variance of is

Figure 02_image463
Figure 02_image463

=

Figure 02_image465
(36) =
Figure 02_image465
,
(36)

其中

Figure 02_image467
(37) in
Figure 02_image467
(37)

其中

Figure 02_image343
為理想概似函數之偏誤,如方程式(26)中所定義,並且
Figure 02_image375
為用於產生概似函數之過程之保真度。現在,引入用於對概似函數工程化的量,並且在本文中將其稱為變異數縮減因數,
Figure 02_image469
(38)
in
Figure 02_image343
is the bias of the ideal likelihood function, as defined in equation (26), and
Figure 02_image375
is the fidelity of the process used to generate the likelihood function. Now, introducing the quantity used to engineer the likelihood function, and referred to in this paper as the variance reduction factor,
Figure 02_image469
.
(38)

隨後得到

Figure 02_image471
(39) then get
Figure 02_image471
.
(39)

Figure 02_image473
愈大,
Figure 02_image053
的變異數平均減小得愈快。此外,為了量化
Figure 02_image053
的逆變異數的增長率(每時間步驟),可使用以下量
Figure 02_image475
(40)
Figure 02_image477
(41)
Figure 02_image473
bigger
Figure 02_image053
The variance of the average decreases faster. Furthermore, in order to quantify
Figure 02_image053
The growth rate (per time step) of the inverse variance of , the following quantity can be used
Figure 02_image475
(40)
Figure 02_image477
,
(41)

其中

Figure 02_image479
為推論回合的時間成本。應注意,
Figure 02_image481
Figure 02_image473
的單調函數,其中
Figure 02_image483
。因此,當電路層之數目
Figure 02_image165
固定時,本發明之實施例可藉由最大化
Figure 02_image473
來最大化
Figure 02_image481
(關於
Figure 02_image017
)。另外,當
Figure 02_image035
很小時,
Figure 02_image481
近似與
Figure 02_image473
成正比,亦即,
Figure 02_image485
。本揭示案之剩餘部分將假設擬設電路最顯著地構成總體電路之持續時間。使
Figure 02_image479
與擬設在電路中被調用的次數成正比,從而設定
Figure 02_image487
,其中時間以擬設持續時間為單位。in
Figure 02_image479
is the time cost of the inference round. It should be noted that
Figure 02_image481
for
Figure 02_image473
monotonic function of , where
Figure 02_image483
. Therefore, when the number of circuit layers
Figure 02_image165
When fixed, embodiments of the present invention can be maximized by maximizing
Figure 02_image473
to maximize
Figure 02_image481
(about
Figure 02_image017
). Additionally, when
Figure 02_image035
very young,
Figure 02_image481
Approximate with
Figure 02_image473
proportional to, that is,
Figure 02_image485
. The remainder of this disclosure will assume the duration for which the proposed circuit most significantly constitutes the overall circuit. Make
Figure 02_image479
is proportional to the number of times the proposed set is called in the circuit, thus setting
Figure 02_image487
, where time is in units of the proposed duration.

現在,將揭示用於找到對於給定

Figure 02_image405
Figure 02_image489
Figure 02_image491
最大化變異數縮減因數
Figure 02_image493
的參數
Figure 02_image495
之技術。通常,此最佳化問題變得難以解決。幸運的是,在實踐中,本發明之實施例可假設
Figure 02_image053
的事前變異數
Figure 02_image497
很小(例如,至多
Figure 02_image499
),並且在此種情況下,
Figure 02_image493
可藉由概似函數
Figure 02_image501
Figure 02_image503
下的費雪資訊來近似,亦即,
Figure 02_image505
Figure 02_image507
(42)
Now, will reveal the method to find for a given
Figure 02_image405
,
Figure 02_image489
and
Figure 02_image491
maximize the variance reduction factor
Figure 02_image493
parameters
Figure 02_image495
technology. Often, this optimization problem becomes intractable. Fortunately, in practice, embodiments of the present invention can assume
Figure 02_image053
The ex ante variance of
Figure 02_image497
very small (e.g., at most
Figure 02_image499
), and in this case,
Figure 02_image493
Likelihood function
Figure 02_image501
exist
Figure 02_image503
is approximated by the Fisher information below, that is,
Figure 02_image505
,
Figure 02_image507
(42)

其中

Figure 02_image509
(43)
Figure 02_image511
(44)
in
Figure 02_image509
(43)
Figure 02_image511
(44)

為雙成果概似函數

Figure 02_image501
的費雪資訊,如在方程式(29)中所定義。因此,代替直接最佳化變異數縮減因數
Figure 02_image493
,本發明之實施例可最佳化費雪資訊
Figure 02_image513
,此可藉由本發明之實施例使用第4.1.1節中的演算法來高效地完成。此外,當用於產生ELF之過程之保真度
Figure 02_image375
為低時,得到
Figure 02_image515
。隨後,
Figure 02_image517
(45)
is a double-outcome approximate function
Figure 02_image501
The Fisher information of , as defined in equation (29). Therefore, instead of directly optimizing the variance reduction factor
Figure 02_image493
, an embodiment of the present invention optimizes Fisher Information
Figure 02_image513
, which can be efficiently accomplished by embodiments of the present invention using the algorithm in Section 4.1.1. Furthermore, the fidelity of the process used to generate the ELF
Figure 02_image375
is low, get
Figure 02_image515
. Subsequently,
Figure 02_image517
(45)

因此,在此種情況下,本發明之實施例可最佳化

Figure 02_image519
,其與概似函數
Figure 02_image501
Figure 02_image503
下的斜率成正比,並且此任務可由本發明之實施例使用第4.1.2節中的演算法來高效地完成。Therefore, in such cases, embodiments of the present invention may optimize
Figure 02_image519
, which is related to the approximate function
Figure 02_image501
exist
Figure 02_image503
is proportional to the slope below and this task can be efficiently accomplished by embodiments of the present invention using the algorithm in Section 4.1.2.

最後,本發明之實施例可預測隨著

Figure 02_image419
增長時
Figure 02_image027
的估計量
Figure 02_image429
之MSE有多快。假設在推論過程期間電路層之數目
Figure 02_image165
為固定的。當
Figure 02_image521
時,此給出
Figure 02_image523
Figure 02_image429
的逆MSE之增長率可預測如下。當
Figure 02_image521
時,得到
Figure 02_image525
Figure 02_image527
Figure 02_image529
Figure 02_image531
具有高機率,其中
Figure 02_image455
Figure 02_image533
分別為
Figure 02_image053
Figure 02_image027
的真實值。當此事件發生時,得到對於大的
Figure 02_image419
Figure 02_image535
(46)
Finally, embodiments of the present invention predict with
Figure 02_image419
when growing
Figure 02_image027
estimator of
Figure 02_image429
How fast is the MSE. Assume that the number of circuit layers during the inference process
Figure 02_image165
for fixed. when
Figure 02_image521
, this gives
Figure 02_image523
.
Figure 02_image429
The growth rate of the inverse MSE of can be predicted as follows. when
Figure 02_image521
when, get
Figure 02_image525
,
Figure 02_image527
,
Figure 02_image529
and
Figure 02_image531
with high probability, where
Figure 02_image455
and
Figure 02_image533
respectively
Figure 02_image053
and
Figure 02_image027
the true value of . When this event occurs, get the
Figure 02_image419
,
Figure 02_image535
.
(46)

因此,藉由方程式(35),得知對於大的

Figure 02_image419
Figure 02_image537
(47)
Therefore, by equation (35), we know that for large
Figure 02_image419
,
Figure 02_image537
,
(47)

其中

Figure 02_image539
。由於
Figure 02_image429
的偏誤通常遠遠小於其標準差,並且後者可由
Figure 02_image541
近似,預測對於大的
Figure 02_image419
Figure 02_image543
(48)
in
Figure 02_image539
. because
Figure 02_image429
The bias of is usually much smaller than its standard deviation, and the latter can be determined by
Figure 02_image541
Approximate, predictive for large
Figure 02_image419
,
Figure 02_image543
.
(48)

此意謂

Figure 02_image429
的逆MSE之漸近增長率(每時間步驟)應大致為
Figure 02_image545
(49)
This means
Figure 02_image429
The asymptotic growth rate (per time step) of the inverse MSE of should be approximately
Figure 02_image545
,
(49)

其中

Figure 02_image017
關於
Figure 02_image547
得到最佳化。將在第5節中將此率與
Figure 02_image429
的逆MSE之經驗增長率進行比較。in
Figure 02_image017
about
Figure 02_image547
get optimized. We will compare this rate with the
Figure 02_image429
The empirical growth rate of the inverse MSE is compared.

4.4. 用於電路參數調諧的高效啟發式演算法及貝氏推論An Efficient Heuristic Algorithm and Bayesian Inference for Tuning Circuit Parameters

本節描述用於調諧圖7中之電路之參數

Figure 02_image017
的啟發式演算法的實施例,並且描述本發明之實施例可如何藉由所得概似函數高效地進行貝氏推論。This section describes the parameters used to tune the circuit in Figure 7
Figure 02_image017
, and describe how embodiments of the present invention can efficiently perform Bayesian inference with the resulting likelihood function.

4.1.4.1. 變異數縮減因數的代理的高效最大化Efficient Maximization of Proxies for Variation Reduction Factors

根據本發明之實施例實現之用於調諧電路角度

Figure 02_image017
的演算法係基於最大化變異數縮減因數
Figure 02_image473
的兩個代理(概似函數
Figure 02_image501
的費雪資訊及斜率)。所有此等演算法要求用於評估偏誤
Figure 02_image343
及其導數
Figure 02_image339
關於
Figure 02_image265
的CSBD係數函數的高效程序,其中
Figure 02_image549
。回想在第3.1中已示出,偏誤
Figure 02_image343
Figure 02_image551
為三角-多二次性的。亦即,對於任何
Figure 02_image553
,存在
Figure 02_image555
的函數
Figure 02_image557
Figure 02_image559
Figure 02_image561
,以使得  
Figure 02_image563
(50)
According to the embodiment of the present invention, it is used to tune the circuit angle
Figure 02_image017
The algorithm is based on maximizing the variance reduction factor
Figure 02_image473
The two agents of (likelihood function
Figure 02_image501
Fisher information and slope). All such algorithms require the evaluation of bias
Figure 02_image343
and its derivative
Figure 02_image339
about
Figure 02_image265
An efficient procedure for the CSBD coefficient function of , where
Figure 02_image549
. Recall that it was shown in 3.1 that the bias
Figure 02_image343
with
Figure 02_image551
for triangular-multiquadratic. That is, for any
Figure 02_image553
,exist
Figure 02_image555
The function
Figure 02_image557
,
Figure 02_image559
and
Figure 02_image561
, so that
Figure 02_image563
(50)

隨後,

Figure 02_image565
(51) Subsequently,
Figure 02_image565
(51)

Figure 02_image017
亦為三角-多二次性的,其中
Figure 02_image567
Figure 02_image569
Figure 02_image571
分別為
Figure 02_image557
Figure 02_image559
Figure 02_image561
關於
Figure 02_image053
的偏誤。結果是,給定
Figure 02_image053
Figure 02_image573
Figure 02_image557
,可在
Figure 02_image397
時間內計算
Figure 02_image559
Figure 02_image561
Figure 02_image575
Figure 02_image577
Figure 02_image579
中的每一者。with
Figure 02_image017
is also trigonometric-polyquadratic, where
Figure 02_image567
,
Figure 02_image569
,
Figure 02_image571
respectively
Figure 02_image557
,
Figure 02_image559
,
Figure 02_image561
about
Figure 02_image053
bias. The result is that given
Figure 02_image053
and
Figure 02_image573
,
Figure 02_image557
, available at
Figure 02_image397
time calculation
Figure 02_image559
,
Figure 02_image561
,
Figure 02_image575
,
Figure 02_image577
and
Figure 02_image579
each of the

引理1. 給定

Figure 02_image053
Figure 02_image573
,可在
Figure 02_image397
時間內計算
Figure 02_image557
Figure 02_image559
Figure 02_image561
Figure 02_image575
Figure 02_image577
Figure 02_image579
中的每一者。Lemma 1. Given
Figure 02_image053
and
Figure 02_image573
, available at
Figure 02_image397
time calculation
Figure 02_image557
,
Figure 02_image559
,
Figure 02_image561
,
Figure 02_image575
,
Figure 02_image577
and
Figure 02_image579
each of the

證明。參見附錄C。prove. See Appendix C.

4.1.1.4.1.1. 最大化概似函數的費雪資訊Fisher information for maximizing the likelihood function

本發明之實施例可執行用於最大化概似函數

Figure 02_image501
在給定點
Figure 02_image503
(亦即,
Figure 02_image053
的事前平均值)的費雪資訊之兩種演算法中的一或多種。假設目標在於找到最大化下式的
Figure 02_image581
Figure 02_image583
(52)
Embodiments of the present invention may be implemented to maximize the likelihood function
Figure 02_image501
at a given point
Figure 02_image503
(that is,
Figure 02_image053
One or more of the two algorithms for the Fisher information of the prior average of . Suppose the goal is to find the maximization of
Figure 02_image581
Figure 02_image583
.
(52)

第一演算法係基於梯度上升。亦即,第一演算法從隨機初始點開始,並且保持採取與當前點處的

Figure 02_image585
的梯度成正比的步驟,直至滿足收斂準則為止。具體地,設
Figure 02_image587
為疊代
Figure 02_image419
處的參數向量。本發明之實施例可如下將其更新:
Figure 02_image589
(53)
The first algorithm is based on gradient ascent. That is, the first algorithm starts from a random initial point and keeps taking the same
Figure 02_image585
Steps proportional to the gradient of , until the convergence criterion is met. Specifically, let
Figure 02_image587
for iterative
Figure 02_image419
The parameter vector at . Embodiments of the present invention can update it as follows:
Figure 02_image589
(53)

其中

Figure 02_image591
為步長排程(在最簡單情況下,
Figure 02_image593
為常數。但是,為了達成更好的效能,可能希望當
Figure 02_image595
)。此要求計算
Figure 02_image513
關於每一
Figure 02_image265
的部分導數,此計算可如下進行。本發明之實施例首先使用引理1中之程序來針對每一
Figure 02_image269
計算
Figure 02_image597
Figure 02_image599
Figure 02_image601
Figure 02_image603
Figure 02_image605
Figure 02_image607
。此獲得
Figure 02_image609
(54)
Figure 02_image611
(55)
Figure 02_image613
(56)
Figure 02_image615
(57)
in
Figure 02_image591
schedule for the step size (in the simplest case,
Figure 02_image593
is a constant. However, for better performance, it may be desirable to
Figure 02_image595
). This requirement calculates
Figure 02_image513
about each
Figure 02_image265
The partial derivative of , this calculation can be done as follows. Embodiments of the present invention first use the procedure in Lemma 1 for each
Figure 02_image269
calculate
Figure 02_image597
,
Figure 02_image599
,
Figure 02_image601
,
Figure 02_image603
,
Figure 02_image605
and
Figure 02_image607
. this get
Figure 02_image609
,
(54)
Figure 02_image611
,
(55)
Figure 02_image613
,
(56)
Figure 02_image615
;
(57)

在得知此等量之後,本發明之實施例可如下計算

Figure 02_image513
關於
Figure 02_image265
的部分導數:
Figure 02_image617
(58)
After knowing these quantities, the embodiments of the present invention can be calculated as follows
Figure 02_image513
about
Figure 02_image265
Partial derivatives of :
Figure 02_image617
(58)

本發明之實施例可針對

Figure 02_image549
重複此程序。隨後,本發明之實施例可獲得
Figure 02_image619
。演算法的每一次疊代耗費
Figure 02_image621
時間。演算法中的疊代次數視初始點、終止準則及步長排程
Figure 02_image623
而定。有關更多詳情,請參見演算法65。Embodiments of the present invention may be directed to
Figure 02_image549
Repeat this procedure. Subsequently, embodiments of the present invention can be obtained
Figure 02_image619
. Each iteration of the algorithm costs
Figure 02_image621
time. The number of iterations in the algorithm depends on the initial point, termination criterion and step schedule
Figure 02_image623
depends. See Algorithm 65 for more details.

第二演算法係基於坐標上升。不同於梯度上升,此演算法並不要求步長,並且允許每一變數在單個步驟中大幅改變。因此,第二演算法可比先前演算法更快地收斂。具體地,實現此演算法之本發明之實施例可從隨機初始點開始,並且沿著坐標方向相繼最大化目標函數

Figure 02_image513
,直至滿足收斂準則為止。在每一回合的第
Figure 02_image269
個步驟之後,解決以下針對坐標
Figure 02_image265
的單變數最佳化問題:
Figure 02_image625
(59)
The second algorithm system is based on coordinate ascent. Unlike gradient ascent, this algorithm does not require a step size and allows each variable to change substantially in a single step. Therefore, the second algorithm can converge faster than the previous algorithm. Specifically, an embodiment of the present invention implementing this algorithm can start from a random initial point and sequentially maximize the objective function along the coordinate direction
Figure 02_image513
, until the convergence criterion is satisfied. in each round
Figure 02_image269
After steps, solve the following for coordinates
Figure 02_image265
The univariate optimization problem for :
Figure 02_image625
,
(59)

其中

Figure 02_image627
Figure 02_image629
Figure 02_image631
Figure 02_image633
Figure 02_image635
Figure 02_image637
可藉由引理1中之程序在
Figure 02_image397
時間中計算。此單變數最佳化問題可藉由基於標準梯度之方法來解決,並且將
Figure 02_image265
設定為其解。針對
Figure 02_image549
重複此程序。此演算法產生序列
Figure 02_image639
Figure 02_image641
Figure 02_image643
Figure 02_image259
,以使得
Figure 02_image645
。亦即,隨
Figure 02_image419
增長,
Figure 02_image647
的值單調地增大。演算法之每一回合耗費
Figure 02_image621
時間。演算法中的回合數視初始點及終止準則而定。in
Figure 02_image627
,
Figure 02_image629
,
Figure 02_image631
,
Figure 02_image633
,
Figure 02_image635
,
Figure 02_image637
By the procedure in Lemma 1, the
Figure 02_image397
calculated in time. This univariate optimization problem can be solved by standard gradient-based methods, and the
Figure 02_image265
Set as its solution. against
Figure 02_image549
Repeat this procedure. This algorithm produces the sequence
Figure 02_image639
,
Figure 02_image641
,
Figure 02_image643
,
Figure 02_image259
, so that
Figure 02_image645
. That is, with
Figure 02_image419
increase,
Figure 02_image647
The value of is increasing monotonically. The cost of each round of the algorithm
Figure 02_image621
time. The number of rounds in the algorithm depends on the initial point and termination criteria.

4.1.2.4.1.2. 最大化概似函數的斜率maximize the slope of the likelihood function

本發明之實施例可執行用於最大化概似函數

Figure 02_image501
在給定點
Figure 02_image503
(亦即,
Figure 02_image053
的平均值)的斜率之兩種演算法中的一或多種。假設目標在於找到最大化
Figure 02_image649
Figure 02_image581
。Embodiments of the present invention may be implemented to maximize the likelihood function
Figure 02_image501
at a given point
Figure 02_image503
(that is,
Figure 02_image053
One or more of the two algorithms for the slope of the mean of ). Suppose the goal is to find the maximum
Figure 02_image649
of
Figure 02_image581
.

類似於用於費雪資訊最大化之演算法65及65,用於斜率最大化之演算法亦分別基於梯度上升及坐標上升。兩者均調用引理1中的程序來針對給定

Figure 02_image651
Figure 02_image573
評估
Figure 02_image653
Figure 02_image655
Figure 02_image657
。然而,基於梯度上升的演算法使用上述量來計算
Figure 02_image659
關於
Figure 02_image265
的部分導數,而基於坐標上升的演算法使用上述量來直接更新
Figure 02_image265
的值。分別在演算法1及2中正式描述此等演算法。Similar to the algorithms 65 and 65 for Fisher information maximization, the algorithm for slope maximization is also based on gradient ascent and coordinate ascent, respectively. Both invoke the procedure in Lemma 1 for a given
Figure 02_image651
and
Figure 02_image573
Evaluate
Figure 02_image653
,
Figure 02_image655
and
Figure 02_image657
. However, gradient ascent based algorithms use the above quantities to compute
Figure 02_image659
about
Figure 02_image265
, while the algorithm based on coordinate ascent uses the above quantities to directly update
Figure 02_image265
value. These algorithms are formally described in Algorithms 1 and 2, respectively.

4.2.4.2. 藉由工程化概似函數進行的近似貝氏推論Approximate Bayesian Inference via Engineered Likelihood Functions

在用於調諧電路參數

Figure 02_image017
的演算法就位後,現在描述如何藉由所得概似函數高效地進行貝氏推論。本發明之實施例可在接收量測成果
Figure 02_image403
之後直接計算
Figure 02_image053
的事後平均值及變異數。但此方法耗時,因為其涉及數值積分。藉由利用工程化概似函數之特定性質,本發明之實施例可大幅加速此過程。parameters used in tuning the circuit
Figure 02_image017
With the algorithm for , now in place, it is now described how Bayesian inference can be efficiently performed with the resulting approximate function. Embodiments of the present invention can receive measurement results
Figure 02_image403
Calculate directly after
Figure 02_image053
The post-event mean and variance of . But this method is time-consuming because it involves numerical integration. Embodiments of the present invention can greatly speed up this process by exploiting specific properties of engineered likelihood functions.

假設

Figure 02_image053
具有事前分佈
Figure 02_image461
,其中
Figure 02_image661
,並且用於產生ELF之過程之保真度為
Figure 02_image375
。本發明之實施例可發現,最大化
Figure 02_image513
(或
Figure 02_image663
)的參數
Figure 02_image665
滿足以下性質:當
Figure 02_image053
接近
Figure 02_image651
時,亦即,
Figure 02_image667
時,得到
Figure 02_image669
(67)
suppose
Figure 02_image053
with prior distribution
Figure 02_image461
,in
Figure 02_image661
, and the fidelity of the process used to generate the ELF is
Figure 02_image375
. Embodiments of the present invention can find, maximize
Figure 02_image513
(or
Figure 02_image663
) parameters
Figure 02_image665
satisfy the following properties: when
Figure 02_image053
near
Figure 02_image651
when, that is,
Figure 02_image667
when, get
Figure 02_image669
(67)

其中一些

Figure 02_image671
。亦即,本發明之實施例可藉由
Figure 02_image053
在此區域中的正弦函數來近似
Figure 02_image343
。圖13圖示說明一個此種實例。some of them
Figure 02_image671
. That is, embodiments of the present invention can be implemented by
Figure 02_image053
A sine function in this region to approximate
Figure 02_image343
. Figure 13 illustrates one such example.

本發明之實施例可藉由解決以下最小平方問題來找到最佳擬合的

Figure 02_image673
Figure 02_image675
Figure 02_image677
(68)
Embodiments of the present invention can find the best fit by solving the following least squares problem
Figure 02_image673
and
Figure 02_image675
:
Figure 02_image677
(68)

其中

Figure 02_image679
。此最小平方問題具有以下解析解:
Figure 02_image681
(69)
in
Figure 02_image679
. This least squares problem has the following analytical solution:
Figure 02_image681
(69)

其中

Figure 02_image683
(76) in
Figure 02_image683
.
(76)

圖13展現真實概似函數及擬合概似函數的實例。Figure 13 shows examples of true and fitted likelihood functions.

一旦本發明之實施例獲得最佳的

Figure 02_image673
Figure 02_image675
,其就可藉由針對下式的平均值及變異數來近似
Figure 02_image053
的事後平均值及變異數
Figure 02_image685
(77)
Once the embodiment of the present invention obtains the best
Figure 02_image673
and
Figure 02_image675
, which can then be approximated by the mean and variance for
Figure 02_image053
The post-event mean and variance of
Figure 02_image685
,
(77)

上式具有解析公式。具體地,假設

Figure 02_image053
在回合
Figure 02_image111
處具有事前分佈
Figure 02_image687
。設
Figure 02_image689
為量測成果,並且
Figure 02_image691
為此回合的最佳擬合參數。隨後,本發明之實施例可藉藉由下式來近似
Figure 02_image053
的事後平均值及變異數
Figure 02_image693
(78)
Figure 02_image695
(79)
The above formula has an analytical formula. Specifically, suppose
Figure 02_image053
in round
Figure 02_image111
ex ante distribution
Figure 02_image687
. Assume
Figure 02_image689
to measure results, and
Figure 02_image691
Best fit parameters for this round. Then, an embodiment of the present invention can be approximated by
Figure 02_image053
The post-event mean and variance of
Figure 02_image693
(78)
Figure 02_image695
(79)

此後,本發明之實施例可繼續進行至下一回合,從而將

Figure 02_image697
設定為該回合之
Figure 02_image053
的事前分佈。Thereafter, embodiments of the present invention may proceed to the next round, whereby
Figure 02_image697
set to the round
Figure 02_image053
the prior distribution of .

應注意,如圖13所圖示說明,當

Figure 02_image053
遠離
Figure 02_image651
時,亦即,
Figure 02_image699
時,真實概似函數與擬合概似函數之間的差異可能很大。但是,由於事前分佈
Figure 02_image701
Figure 02_image703
呈指數衰減,此類
Figure 02_image053
對計算
Figure 02_image053
的事後平均值及變異數之貢獻很小。因此,方程式(78)及(79)給出
Figure 02_image053
的事後平均值及變異數的高度準確的估計值,並且其誤差對整個演算法之效能具有的影響可忽略。It should be noted that, as illustrated in Figure 13, when
Figure 02_image053
keep away
Figure 02_image651
when, that is,
Figure 02_image699
, the difference between the true and fitted likelihood functions can be large. However, due to the prior distribution
Figure 02_image701
with
Figure 02_image703
decays exponentially, such
Figure 02_image053
to calculate
Figure 02_image053
The contribution of post-event mean and variance of . Therefore, equations (78) and (79) give
Figure 02_image053
Highly accurate estimates of the post-event mean and variance of , and its error has negligible impact on the performance of the entire algorithm.

5.5. 模擬結果Simulation results

本節描述模擬藉由用於振幅估計之工程化概似函數進行的貝氏推論的特定結果。此等結果展現特定工程化概似函數相比未工程化概似函數的特定優勢,以及電路深度及保真度對特定工程化概似函數之效能的影響。This section describes specific results of modeling Bayesian inference with engineered likelihood functions for amplitude estimation. These results demonstrate specific advantages of certain engineered approximation functions over non-engineered approximation functions, and the effect of circuit depth and fidelity on the performance of certain engineered approximation functions.

5.15.1 實驗詳情Experiment Details

在實驗中,假設實現

Figure 02_image705
並且執行投射量測
Figure 02_image237
所耗費的時間比實現
Figure 02_image067
少得多。因此,當電路層之數目為
Figure 02_image165
時,推論回合之時間成本大致為
Figure 02_image707
,其中
Figure 02_image709
Figure 02_image067
的時間成本(應注意,
Figure 02_image165
層電路使用
Figure 02_image067
Figure 02_image711
次。爲了簡單起見,假設在後續論述中
Figure 02_image067
耗費單位時間(亦即,
Figure 02_image713
)。此外,假設在實驗中在量子狀態的準備及量測中沒有誤差,亦即,
Figure 02_image715
。In the experiment, it is assumed that the realization
Figure 02_image705
and perform projection measurements
Figure 02_image237
takes longer to implement than
Figure 02_image067
much less. Therefore, when the number of circuit layers is
Figure 02_image165
, the time cost of the inference round is roughly
Figure 02_image707
,in
Figure 02_image709
for
Figure 02_image067
time cost (it should be noted that
Figure 02_image165
layer circuit using
Figure 02_image067
and
Figure 02_image711
Second-rate. For simplicity, assume that in the subsequent discussion
Figure 02_image067
takes a unit of time (i.e.,
Figure 02_image713
). Furthermore, it is assumed that there are no errors in the preparation and measurement of the quantum state in the experiment, that is,
Figure 02_image715
.

假設旨在估計預期值

Figure 02_image401
。設
Figure 02_image429
Figure 02_image027
在時間
Figure 02_image419
的估計量。應注意,
Figure 02_image429
本身為隨機變數,因為其視取決於時間
Figure 02_image419
的隨機量測成果之歷史而定。藉由
Figure 02_image429
的均方根誤差(RMSE)來量測方案之效能,其由下式給出  
Figure 02_image717
(80)
Assumptions aimed at estimating expected values
Figure 02_image401
. Assume
Figure 02_image429
for
Figure 02_image027
at time
Figure 02_image419
estimate of . It should be noted that
Figure 02_image429
itself is a random variable, since it depends on time
Figure 02_image419
Depends on the history of random measurement results. by
Figure 02_image429
The root mean square error (RMSE) to measure the performance of the scheme is given by
Figure 02_image717
.
(80)

以下將針對各種方案描述隨著

Figure 02_image419
增長
Figure 02_image719
衰減有多快,該等方案包括基於附屬的切比雪夫概似函數(AB CLF)、基於附屬的工程化概似函數(AB ELF)、無附屬的切比雪夫概似函數(AF CLF),以及無附屬的工程化概似函數(AF ELF)。The following will describe various scenarios along with
Figure 02_image419
increase
Figure 02_image719
how fast the decay, the schemes include Affiliation Based Chebyshev Likelihood Function (AB CLF), Affiliation Based Engineered Likelihood Function (AB ELF), No Affiliation Chebyshev Likelihood Function (AF CLF), and Unattached Engineered Likelihood Functions (AF ELF).

通常,

Figure 02_image429
的分佈難以特徵化,並且
Figure 02_image721
解析公式。為了估計此量,本發明之實施例可執行推論過程
Figure 02_image107
次,並且收集
Figure 02_image429
Figure 02_image107
個樣本
Figure 02_image723
Figure 02_image725
Figure 02_image259
Figure 02_image727
,其中
Figure 02_image729
Figure 02_image027
在第
Figure 02_image731
輪(其中
Figure 02_image733
)中在時間
Figure 02_image419
處的估計值。隨後,本發明之實施例可使用量  
Figure 02_image735
(81)
usually,
Figure 02_image429
The distribution of is difficult to characterize, and
Figure 02_image721
Parse the formula. To estimate this quantity, embodiments of the invention may perform an inference process
Figure 02_image107
times, and collect
Figure 02_image429
of
Figure 02_image107
samples
Figure 02_image723
,
Figure 02_image725
,
Figure 02_image259
,
Figure 02_image727
,in
Figure 02_image729
for
Figure 02_image027
on the
Figure 02_image731
wheel (of which
Figure 02_image733
) at time
Figure 02_image419
estimated value at . Subsequently, the embodiment of the present invention can use the amount of
Figure 02_image735
(81)

來近似真實

Figure 02_image719
。在實驗中,設定
Figure 02_image737
,並且發現此引起令人滿意的結果。to approximate reality
Figure 02_image719
. In the experiment, set
Figure 02_image737
, and this was found to give satisfactory results.

本發明之實施例可使用基於坐標上升的演算法2及6來分別最佳化無附屬的情況及基於附屬的情況下的電路參數

Figure 02_image017
。此示出演算法1及2產生相等品質的解,並且演算法5及6亦如此。因此,若改為使用基於梯度上升的演算法1及5來調諧電路角度
Figure 02_image017
,實驗結果將不變。Embodiments of the present invention may use coordinate ascent-based algorithms 2 and 6 to optimize circuit parameters for the unattached case and the attached-based case, respectively
Figure 02_image017
. This shows that Algorithms 1 and 2 produce solutions of equal quality, and so do Algorithms 5 and 6. Therefore, if instead using gradient ascent based algorithms 1 and 5 to tune the circuit angle
Figure 02_image017
, the experimental results will remain unchanged.

爲了藉由ELF進行貝氏更新,本發明之實施例可使用第4.2節及附錄A.2中的方法來分別計算無附屬的情況及基於附屬的情況下

Figure 02_image053
的事後平均值及變異數。特別地,在ELF之正弦擬合期間,本發明之實施例可設定方程式(68)及(148)中的
Figure 02_image739
(亦即,
Figure 02_image741
含有在
Figure 02_image743
中均勻分佈的
Figure 02_image745
個點)。已發現,此足以獲得ELF的高品質正弦擬合。For Bayesian updating by ELF, embodiments of the present invention may use the methods in Section 4.2 and Appendix A.2 to calculate the case without attachment and the case based on attachment, respectively
Figure 02_image053
The post-event mean and variance of . In particular, during the sinusoidal fitting of the ELF, embodiments of the present invention may set the
Figure 02_image739
(that is,
Figure 02_image741
contained in
Figure 02_image743
Evenly distributed in
Figure 02_image745
points). It has been found that this is sufficient to obtain a high quality sinusoidal fit of the ELF.

6.6. 有雜訊的演算法效能的模型Modeling Algorithmic Performance with Noise

本發明之實施例可實現用於運行時間的模型,該運行時間係當縮放至更大的系統並且在具有更好的閘保真度之裝置上運行時達成

Figure 02_image027
的估計值之目標均方根誤差所需要的。此模型可基於兩個主要假設來建置。第一假設為,逆均方差的增長率係由逆變異數率表達式(參見方程式(40))的一半來良好描述。一半係歸因於如下保守估計:變異數及平方偏誤對均方差有同等貢獻(來自先前章節的模擬示出平方偏誤趨於小於變異數)。第二假設為變異數縮減因數之經驗下限,該經驗下限由切比雪夫概似函數之數值研究激發。Embodiments of the present invention can implement models for runtime achieved when scaling to larger systems and running on devices with better gate fidelity
Figure 02_image027
The target root mean square error of the estimated value of is needed. This model can be built based on two main assumptions. The first assumption is that the growth rate of the inverse mean square error is well described by half of the inverse variance rate expression (see equation (40)). Half are due to conservative estimates that the variance and squared bias contribute equally to the mean square error (simulations from previous sections show that the squared bias tends to be smaller than the variance). The second assumption is an empirical lower bound on the variance reduction factor, which is motivated by numerical studies of Chebyshev's approximate functions.

對關於

Figure 02_image053
的估計值之MSE進行分析。隨後,將此估計值的MSE轉換成MSE關於
Figure 02_image027
的估計值。策略將為,對方程式(40)中之率表達式
Figure 02_image747
的上限及下限求積分,以得到作為時間的函數之逆MSE的界限。right about
Figure 02_image053
The MSE of the estimated value was analyzed. Subsequently, the MSE of this estimate is transformed into an MSE with respect to
Figure 02_image027
estimated value. The strategy will be, for the rate expression in equation (40)
Figure 02_image747
Integrate the upper and lower bounds of , to obtain bounds on the inverse MSE as a function of time.

為了幫助分析,進行代換

Figure 02_image749
,並且藉由引入
Figure 02_image077
Figure 02_image039
以使得
Figure 02_image751
來重參數化雜訊的併入方式。To aid analysis, substitute
Figure 02_image749
, and by introducing
Figure 02_image077
and
Figure 02_image039
so that
Figure 02_image751
To reparameterize how noise is incorporated.

此率表達式的上限及下限係基於對切比雪夫概似函數的發現,其中

Figure 02_image753
。由於切比雪夫概似函數係工程化概似函數之子集,切比雪夫效能的下限給出ELF效能的下限。吾等猜測,在ELF之情況下此率的上限為針對切比雪夫率建立的上限之小的倍數(例如,1.5倍)。The upper and lower bounds of this rate expression are based on the discovery of the Chebyshev approximate function, where
Figure 02_image753
. Since the Chebyshev approximate functions are a subset of the engineered approximate functions, the lower bound of the Chebyshev performance gives the lower bound of the ELF performance. We guess that in the case of ELF this rate is capped at a small multiple (eg, 1.5 times) of the cap established for the Chebyshev rate.

如下建立切比雪夫上限。對於固定的

Figure 02_image035
Figure 02_image077
Figure 02_image055
,可示出(對於切比雪夫概似函數,可將變異數縮減因數表達為
Figure 02_image755
(只要
Figure 02_image757
)。隨後,
Figure 02_image759
隱示
Figure 02_image761
)變異數縮減因數達成最大值
Figure 02_image763
,此在
Figure 02_image765
處出現。此表達式小於
Figure 02_image767
,其在
Figure 02_image769
處達成最大值
Figure 02_image771
。因此,因數
Figure 02_image773
無法超過
Figure 02_image775
。將上述全部組合在一起,對於固定的
Figure 02_image035
Figure 02_image077
Figure 02_image055
,最大率的上限為
Figure 02_image777
。此由如下事實得到:
Figure 02_image481
Figure 02_image473
為單調的,並且
Figure 02_image473
Figure 02_image765
處最大化。在實踐中,本發明之實施例可使用最大化逆變異數率之
Figure 02_image165
的值。藉由離散
Figure 02_image165
達成之率無法超過當在
Figure 02_image055
的連續值上最佳化上述上限時獲得之值。此最佳值針對
Figure 02_image779
實現。藉由評估在此最佳值處的
Figure 02_image781
來定義
Figure 02_image783
 
Figure 02_image785
(82)
The Chebyshev upper bound is established as follows. for fixed
Figure 02_image035
,
Figure 02_image077
and
Figure 02_image055
, it can be shown that (for the Chebyshev approximate function, the variance reduction factor can be expressed as
Figure 02_image755
(if only
Figure 02_image757
). Subsequently,
Figure 02_image759
implied
Figure 02_image761
) The variation reduction factor reaches the maximum value
Figure 02_image763
, Dasein
Figure 02_image765
appears everywhere. This expression is less than
Figure 02_image767
,Its
Figure 02_image769
reach the maximum
Figure 02_image771
. Therefore, the factor
Figure 02_image773
cannot exceed
Figure 02_image775
. Combining all of the above, for a fixed
Figure 02_image035
,
Figure 02_image077
and
Figure 02_image055
, the upper limit of the maximum rate is
Figure 02_image777
. This follows from the fact that:
Figure 02_image481
with
Figure 02_image473
is monotonic, and
Figure 02_image473
exist
Figure 02_image765
is maximized. In practice, embodiments of the present invention may use the maximization of the inverse variance rate
Figure 02_image165
value. by discrete
Figure 02_image165
The rate of achievement cannot exceed when
Figure 02_image055
Values obtained when optimizing the above upper bound on continuous values of . This optimal value is for
Figure 02_image779
accomplish. By evaluating at this optimum value the
Figure 02_image781
to define
Figure 02_image783
,
Figure 02_image785
,
(82)

其給出切比雪夫率的上限  

Figure 02_image787
(83) which gives an upper bound on the Chebyshev rate
Figure 02_image787
.
(83)

本發明之實施例並無對切比雪夫概似效能的解析下限。可基於數值查驗來建立經驗下限。對於任何固定的

Figure 02_image165
,逆變異數率在
Figure 02_image789
個點
Figure 02_image791
處為零。由於率對於所有
Figure 02_image165
在此等端點處均為零,
Figure 02_image793
的總體下限為零。然而,並不擔心逆變異數率在此等端點附近的不良效能。當將估計量自
Figure 02_image795
轉換成
Figure 02_image797
時,此等端點附近的資訊增益實際上趨於大的值。爲了建立有用的界限,將
Figure 02_image651
限制在範圍
Figure 02_image799
內。在數值測試(對
Figure 02_image053
之50000個值、自
Figure 02_image801
Figure 02_image803
Figure 02_image165
值的均勻網格進行搜尋,其中
Figure 02_image805
為用以得到方程式82之最佳化值,並且
Figure 02_image035
Figure 02_image077
Figure 02_image807
的範圍內。對於每一
Figure 02_image809
對,找到使最大逆變異數率(針對
Figure 02_image165
)為最小值的
Figure 02_image053
。對於查驗的所有
Figure 02_image809
對,此最差情況率始終在
Figure 02_image811
Figure 02_image813
之間,其中發現最小值為
Figure 02_image815
)中,發現對於所有
Figure 02_image817
,總是存在使逆變異數率高於上限的
Figure 02_image819
倍的
Figure 02_image165
的選擇。將此等組合在一起,得到  
Figure 02_image821
(84)
Embodiments of the present invention do not have an analytical lower bound on Chebyshev's approximate power. An empirical lower bound can be established based on numerical inspection. for any fixed
Figure 02_image165
, the inverse variance rate is at
Figure 02_image789
points
Figure 02_image791
is zero. Due to the rate for all
Figure 02_image165
are zero at such endpoints,
Figure 02_image793
The overall lower bound of is zero. However, poor performance of the inverse anomaly ratio near these endpoints is not a concern. When estimating from
Figure 02_image795
converted to
Figure 02_image797
, the information gain near these endpoints actually tends to large values. To establish useful boundaries, set the
Figure 02_image651
limited to
Figure 02_image799
Inside. In numerical tests (for
Figure 02_image053
50000 values, from
Figure 02_image801
to
Figure 02_image803
Of
Figure 02_image165
A uniform grid of values is searched, where
Figure 02_image805
is the optimized value used to obtain Equation 82, and
Figure 02_image035
and
Figure 02_image077
exist
Figure 02_image807
In the range. for each
Figure 02_image809
Yes, find the maximum inverse variance rate (for
Figure 02_image165
) is the minimum
Figure 02_image053
. for all inspections
Figure 02_image809
Yes, this worst case rate is always at
Figure 02_image811
and
Figure 02_image813
between , where the minimum value is found to be
Figure 02_image815
), it is found that for all
Figure 02_image817
, there is always a condition that makes the inverse anomaly rate higher than the upper limit
Figure 02_image819
times
Figure 02_image165
s Choice. Combining these together, we get
Figure 02_image821
.
(84)

重要的是應注意,藉由使

Figure 02_image055
為連續的,
Figure 02_image035
Figure 02_image077
之特定值可引起使
Figure 02_image823
為負的最佳
Figure 02_image055
。因此,此等結果僅在
Figure 02_image825
(其確保
Figure 02_image827
)的情況下適用。預期此模型在大雜訊型態 (亦即,
Figure 02_image829
)下失效。It is important to note that by using
Figure 02_image055
for continuous,
Figure 02_image035
and
Figure 02_image077
A specific value can cause the
Figure 02_image823
negative best
Figure 02_image055
. Therefore, these results are only
Figure 02_image825
(which ensures
Figure 02_image827
) is applicable. The model is expected to be in the large noise regime (i.e.,
Figure 02_image829
) fails.

現在,將假設率追蹤此等兩個界限之幾何平均值,亦即,

Figure 02_image831
,記住上限及下限為其中之小的常數因數。Now, let the hypothetical rate track the geometric mean of these two bounds, that is,
Figure 02_image831
, remembering that the upper and lower bounds are the smaller constant factors.

假設逆變異數在時間上以逆變異數率

Figure 02_image833
所捕獲的差商表達式所給定的率持續增長。使
Figure 02_image835
表示此逆變異數,可將上文的率方程式重算為
Figure 02_image837
的微分方程式,
Figure 02_image839
(85)
Assume the inverse variance in time at the inverse variance rate
Figure 02_image833
The rate given by the captured differential quotient expression continues to grow. Make
Figure 02_image835
Representing this contravariance, the rate equation above can be recalculated as
Figure 02_image837
The differential equation of
Figure 02_image839
(85)

經由此表達式,可識別海森堡限值行為及散粒雜訊限值行為兩者。對於

Figure 02_image841
,微分方程式變為  
Figure 02_image843
(86)
Via this expression, both the Heisenberg limit behavior and the shot noise limit behavior can be identified. for
Figure 02_image841
, the differential equation becomes
Figure 02_image843
(86)

其積分為逆平方誤差的二次增長

Figure 02_image845
。此係海森堡限值型態之特徵。對於
Figure 02_image847
,率接近常數,  
Figure 02_image849
(87)
Its integral is the quadratic growth of the inverse squared error
Figure 02_image845
. This is a characteristic of the Heisenberg limit type. for
Figure 02_image847
, the rate is close to a constant,
Figure 02_image849
.
(87)

此型態產生逆平方誤差的線性增長

Figure 02_image851
,此指示散粒雜訊限值型態。This pattern produces a linear increase in the inverse squared error
Figure 02_image851
, which indicates the shot noise limit type.

為使積分易處理,可用可積分的上限及下限表達式(與先前的界限協同使用)來替換率表達式。使

Figure 02_image853
,將此等界限重新表達為,  
Figure 02_image855
(88)
To make integration tractable, the rate expressions can be replaced by integrable upper and lower bound expressions (used in conjunction with the previous bounds). Make
Figure 02_image853
, reformulating these bounds as,
Figure 02_image855
(88)

藉由將時間視為

Figure 02_image857
的函數並且積分,可自上限建立運行時間之下限,  
Figure 02_image859
(89)
 
Figure 02_image861
(90)
by viewing time as
Figure 02_image857
function of and integrated, a lower bound on the running time can be established from the upper bound,
Figure 02_image859
(89)
 
Figure 02_image861
(90)

類似地,可使用下限來建立運行時間之上限。此處引入如下假設,在最差情況下,相位估計之MSE

Figure 02_image863
為變異數的兩倍(亦即,變異數等於偏誤),因此變異數必須達到MSE的一半:
Figure 02_image865
。在最好情況下,假設估計值之偏誤為零,並且設定
Figure 02_image867
。將此等界限與方程式(84)之上限及下限組合,以得到作為目標MSE的函數之估計運行時間之界限,
Figure 02_image869
(91)
Similarly, a lower bound can be used to establish an upper bound on runtime. The following assumptions are introduced here. In the worst case, the MSE of the phase estimation
Figure 02_image863
is twice the variance (that is, the variance is equal to the bias), so the variance must be half of the MSE:
Figure 02_image865
. In the best case, assume that the bias in the estimate is zero, and set
Figure 02_image867
. Combining these bounds with the upper and lower bounds of equation (84) yields bounds on the estimated running time as a function of the target MSE,
Figure 02_image869
(91)

其中

Figure 02_image871
。in
Figure 02_image871
.

此時,可將相位估計

Figure 02_image795
轉換回成振幅估計
Figure 02_image873
。可就相位估計MSE將關於振幅估計之MSE
Figure 02_image875
近似為At this point, the phase estimate can be
Figure 02_image795
Convert back into amplitude estimate
Figure 02_image873
. The MSE for the amplitude estimate can be compared to the MSE for the phase estimate
Figure 02_image875
approximately

Figure 02_image877
Figure 02_image877

Figure 02_image879
Figure 02_image879

Figure 02_image881
 
Figure 02_image883
(92)
Figure 02_image881
Figure 02_image883
,
(92)

其中已假設估計量之分佈針對

Figure 02_image053
充分達到峰值,以忽略較高階項。此引起
Figure 02_image885
,可將其代入至上述界限表達式中,對於
Figure 02_image887
亦是如此。藉由去掉估計量下標(因為它們僅貢獻常數因數),可建立低雜訊及高雜訊限值中的運行時間定標,  
Figure 02_image889
(94)
where the distribution of the estimator is assumed for
Figure 02_image053
Peaked sufficiently to ignore higher-order terms. This causes
Figure 02_image885
, which can be substituted into the above bound expression, for
Figure 02_image887
The same is true. Run-time scaling in the low-noise and high-noise limits can be established by removing the estimator subscripts (since they only contribute constant factors),
Figure 02_image889
(94)

觀察到海森堡限值定標及散粒雜訊限值定標各自得到恢復。It is observed that the Heisenberg limit calibration and the shot noise limit calibration are each recovered.

使用切比雪夫概似函數之性質得到此等界限。如先前章節中已示出,藉由對概似函數工程化,在許多情況下可縮短估計運行時間。受到工程化概似函數之變異數縮減因數之數值發現(參見例如圖19)的激發,吾等猜測,使用工程化概似函數使方程式(84)中的最差情況逆變異數率增大至

Figure 02_image891
。These bounds are obtained using properties of the Chebyshev approximate function. As has been shown in previous sections, by engineering the likelihood function, the estimation runtime can be reduced in many cases. Motivated by the numerical discovery of the variance reduction factor of the engineered likelihood function (see e.g. Fig. 19), we conjecture that using the engineered likelihood function increases the worst-case inverse variance rate in equation (84) to
Figure 02_image891
.

為了賦予此模型更多意義,將其細分為以量子位元數目

Figure 02_image223
及雙量子位元閘保真度
Figure 02_image893
表示。考慮估計包立串
Figure 02_image019
關於狀態
Figure 02_image097
的預期值之任務。假設
Figure 02_image895
非常接近零,使得
Figure 02_image897
。設
Figure 02_image165
層中之每一者的雙量子位元閘深度為
Figure 02_image899
。將總層保真度建模為
Figure 02_image901
,其中已經忽略由單量子位元閘引起的誤差。由此,得到
Figure 02_image903
Figure 02_image905
。將此等組合起來,得到運行時間表達式,
Figure 02_image907
(95)
To give more meaning to this model, it is broken down by the number of qubits
Figure 02_image223
and two-qubit gate fidelity
Figure 02_image893
express. Consider estimating the packet string
Figure 02_image019
about status
Figure 02_image097
task of expected value. suppose
Figure 02_image895
is very close to zero, making
Figure 02_image897
. Assume
Figure 02_image165
The two-qubit gate depth for each of the layers is
Figure 02_image899
. Model the total layer fidelity as
Figure 02_image901
, where the error caused by the single-qubit gate has been neglected. From this, get
Figure 02_image903
and
Figure 02_image905
. Combining these, we get the runtime expression,
Figure 02_image907
(95)

最後,將一些有意義的數字放入此表達式,並且估計作為雙量子位元閘保真度的函數之所要求之運行時間(以秒為單位)。為了達成量子優勢,預期問題例子將要求大約

Figure 02_image909
個邏輯量子位元,並且要求雙量子位元閘深度為大約量子位元數目
Figure 02_image911
。此外,預期目標準確性
Figure 02_image079
將需要為大約
Figure 02_image913
Figure 02_image915
。運行時間模型依據擬設電路持續時間來量測時間。為了將此時間轉換成秒,假設雙量子位元閘之每一層將耗費時間
Figure 02_image917
s,此係針對當今的超導量子位元硬體之樂觀假設。圖26示出作為雙量子位元閘保真度的函數之此估計運行時間。Finally, put some meaningful numbers into this expression, and estimate the required runtime (in seconds) as a function of two-qubit gate fidelity. To achieve quantum supremacy, the expected problem example would require approximately
Figure 02_image909
logical qubits, and requires a two-qubit gate depth of approximately the number of qubits
Figure 02_image911
. Furthermore, the expected target accuracy
Figure 02_image079
will require approximately
Figure 02_image913
to
Figure 02_image915
. Run-time models measure time in terms of the duration of a proposed circuit. To convert this time to seconds, assume that each layer of the two-qubit gate will take time
Figure 02_image917
s, which is an optimistic assumption for today's superconducting qubit hardware. Figure 26 shows this estimated runtime as a function of two-qubit gate fidelity.

將運行時間縮短至實踐區域所要求的雙量子位元閘保真度將很有可能要求誤差校正。執行量子誤差校正要求額外負擔,從而增大此等運行時間。在設計量子誤差校正協定時,重要的是估計運行時間之增大不超越閘保真度之改良。所提議之模型給出量化此折衷的手段:當併入有用的誤差校正時,閘保真度與(經誤差校正之)閘時間的乘積應減小。在實踐中,爲了作出更嚴密的陳述,存在應考慮到的許多微小之處。此等微小之處包括考慮電路的閘之中的閘保真度變化,以及不同類型之閘之變化的時間成本。然而,此簡單模型所提供的成本分析在設計量子閘、量子晶片、誤差校正方案及雜訊減輕方案方面可為有用工具。Reducing run times to the required two-qubit gate fidelity in the practical region will likely require error correction. Performing quantum error correction requires additional overhead, increasing such runtimes. When designing a quantum error correction protocol, it is important to estimate that the increase in runtime does not outweigh the improvement in gate fidelity. The proposed model gives a means to quantify this tradeoff: when incorporating useful error corrections, the product of gate fidelity and (error corrected) gate time should decrease. In practice, there are many subtleties that should be taken into account in order to make a more rigorous statement. Such nuances include accounting for gate fidelity variations among the gates of the circuit, as well as the time cost of varying gates of different types. However, the cost analysis provided by this simple model can be a useful tool in designing quantum gates, quantum chips, error correction schemes, and noise mitigation schemes.

附錄appendix A.a. 基於附屬的方案Affiliate based programs

在此附錄中,呈現替代方案,該替代方案被稱為基於附屬的方案。在此方案中,工程化概似函數(ELF)由圖27中之量子電路產生,其中

Figure 02_image275
為可調諧參數。In this appendix, an alternative is presented, which is referred to as an affiliation-based approach. In this scheme, the engineered likelihood function (ELF) is generated by the quantum circuit in Fig. 27, where
Figure 02_image275
is a tunable parameter.

假設圖27中之電路無雜訊,工程化概似函數由下式給出  

Figure 02_image919
(96) Assuming that the circuit in Figure 27 has no noise, the engineering approximate function is given by
Figure 02_image919
(96)

其中  

Figure 02_image921
(97) in
Figure 02_image921
(97)

為概似函數之偏誤。結果是,第3.1節中的大部分論證在基於附屬的情況下仍然成立,只不過用

Figure 02_image923
替換了
Figure 02_image343
。因此,將使用與之前相同的標記(例如,
Figure 02_image297
Figure 02_image299
Figure 02_image301
Figure 02_image303
Figure 02_image305
Figure 02_image307
),除非另有說明。特別地,當考慮到圖27中之電路中之誤差時,有雜訊的概似函數由下式給出  
Figure 02_image925
(98)
is the bias of the approximate function. It turns out that most of the arguments in Section 3.1 still hold in the subordination-based case, just with
Figure 02_image923
replaced
Figure 02_image343
. Therefore, the same markup as before will be used (eg,
Figure 02_image297
,
Figure 02_image299
,
Figure 02_image301
,
Figure 02_image303
,
Figure 02_image305
,
Figure 02_image307
),Unless otherwise indicated. In particular, when considering errors in the circuit in Fig. 27, the noisy approximate function is given by
Figure 02_image925
(98)

其中

Figure 02_image375
為用於產生ELF之過程之保真度。然而,應注意,
Figure 02_image343
Figure 02_image923
之間存在差異,因為前者在隨
Figure 02_image017
為三角-多二次性的,而後者隨
Figure 02_image017
為三角-多線性的。in
Figure 02_image375
is the fidelity of the process used to generate the ELF. However, it should be noted that
Figure 02_image343
and
Figure 02_image923
There is a difference between the former because the former
Figure 02_image017
is triangular-multiquadratic, and the latter follows
Figure 02_image017
For triangular-multilinear.

將調諧電路角度

Figure 02_image017
,並且以與第3.2節中類似的方式藉由所得ELF執行貝氏推論。實際上,第3.2節中之論證在基於附屬的情況下仍然成立,只不過需要用
Figure 02_image923
替換
Figure 02_image343
。因此,將使用與之前相同的標記,除非另有說明。具體地,亦如同在方程式(37)及(38)中一樣定義變異數縮減因數
Figure 02_image493
,從而用
Figure 02_image923
替換
Figure 02_image343
。可示出,  
Figure 02_image927
(99)
will tune the circuit angle
Figure 02_image017
, and Bayesian inference is performed by the resulting ELF in a similar manner as in Section 3.2. In fact, the argument in Section 3.2 still holds in the case of subordination, but only with
Figure 02_image923
replace
Figure 02_image343
. Therefore, the same notation as before will be used unless otherwise stated. Specifically, the variation reduction factor is also defined as in equations (37) and (38)
Figure 02_image493
, thus using
Figure 02_image923
replace
Figure 02_image343
. can be shown,
Figure 02_image927
(99)

並且  

Figure 02_image929
(100) and
Figure 02_image929
(100)

亦即,在合理的假設下,概似函數

Figure 02_image931
Figure 02_image933
時的費雪資訊及斜率為變異數縮減因數
Figure 02_image935
之兩個代理。由於
Figure 02_image473
的直接最佳化通常很難,將改為藉由最佳化此等代理來調諧參數
Figure 02_image937
。That is, under reasonable assumptions, the likelihood function
Figure 02_image931
exist
Figure 02_image933
The Fisher information and the slope are the variance reduction factors
Figure 02_image935
of two agents. because
Figure 02_image473
Direct optimization of is usually difficult, and parameters will be tuned by optimizing such proxies instead
Figure 02_image937
.

A.1.A.1. 變異數縮減因數的代理之高效最大化Efficient Maximization of Proxies for Variation Reduction Factors

現在,呈現用於最大化變異數縮減因數

Figure 02_image473
的兩個代理(概似函數
Figure 02_image501
的費雪資訊及斜率)之高效啟發式演算法。所有此等演算法使用以下程序來評估偏誤
Figure 02_image923
及其關於
Figure 02_image265
的導數
Figure 02_image939
,其中
Figure 02_image549
。Now, the rendering factor for maximizing the variance reduction factor
Figure 02_image473
The two agents of (likelihood function
Figure 02_image501
An efficient heuristic algorithm for the Fisher information and slope of . All such algorithms evaluate bias using the following procedure
Figure 02_image923
and its about
Figure 02_image265
derivative of
Figure 02_image939
,in
Figure 02_image549
.

A.1.1.A.1.1. 評估偏誤及其導數的Evaluation bias and its derivatives CSDCSD 係數函數coefficient function

由於

Figure 02_image923
Figure 02_image017
中為三角-多線性的(對於任何
Figure 02_image941
),存在隨
Figure 02_image943
為三角-多線性的函數
Figure 02_image557
Figure 02_image559
,以使得  
Figure 02_image945
(101)
because
Figure 02_image923
exist
Figure 02_image017
is triangular-multilinear (for any
Figure 02_image941
), there exists
Figure 02_image943
is a trigonometric-multilinear function
Figure 02_image557
and
Figure 02_image559
, so that
Figure 02_image945
.
(101)

隨後,  

Figure 02_image947
(102) Subsequently,
Figure 02_image947
(102)

Figure 02_image017
亦為三角-多線性的,其中
Figure 02_image567
Figure 02_image569
分別為
Figure 02_image557
Figure 02_image559
關於
Figure 02_image053
的導數。with
Figure 02_image017
is also triangular-multilinear, where
Figure 02_image567
and
Figure 02_image569
respectively
Figure 02_image557
and
Figure 02_image559
about
Figure 02_image053
derivative of .

吾等的最佳化演算法要求高效程序來針對給定

Figure 02_image053
Figure 02_image573
評估
Figure 02_image557
Figure 02_image559
Figure 02_image949
以及
Figure 02_image951
。結果是,此等任務可在
Figure 02_image397
時間內完成。Our optimization algorithm requires an efficient program for a given
Figure 02_image053
and
Figure 02_image573
Evaluate
Figure 02_image557
,
Figure 02_image559
,
Figure 02_image949
as well as
Figure 02_image951
. As a result, such tasks can be found in
Figure 02_image397
completed within time.

引理2. 給定

Figure 02_image053
Figure 02_image573
,可在
Figure 02_image397
時間內計算
Figure 02_image557
Figure 02_image559
Figure 02_image949
Figure 02_image951
中的每一者。Lemma 2. Given
Figure 02_image053
and
Figure 02_image573
, available at
Figure 02_image397
time calculation
Figure 02_image557
,
Figure 02_image559
,
Figure 02_image949
and
Figure 02_image951
each of the

證明。爲了便利起見,引入以下標記。設

Figure 02_image953
Figure 02_image955
,其中
Figure 02_image957
。此外,設
Figure 02_image959
,其中
Figure 02_image961
。應注意,若
Figure 02_image269
為偶數,則
Figure 02_image963
。隨後,定義若
Figure 02_image965
,否則
Figure 02_image967
。prove. For convenience, the following markup is introduced. Assume
Figure 02_image953
,
Figure 02_image955
,in
Figure 02_image957
. In addition, set
Figure 02_image959
,in
Figure 02_image961
. It should be noted that if
Figure 02_image269
is an even number, then
Figure 02_image963
. Then, define if
Figure 02_image965
,otherwise
Figure 02_image967
.

藉由此標記,可示出  

Figure 02_image969
(103) With this notation, it can be shown that
Figure 02_image969
(103)

並且

Figure 02_image971
(104) and
Figure 02_image971
(104)

為了針對給定

Figure 02_image053
Figure 02_image573
評估
Figure 02_image557
Figure 02_image559
Figure 02_image949
Figure 02_image951
,分開考慮
Figure 02_image269
為偶數的情況及
Figure 02_image269
為奇數的情況。for a given
Figure 02_image053
and
Figure 02_image573
Evaluate
Figure 02_image557
,
Figure 02_image559
,
Figure 02_image949
and
Figure 02_image951
, considered separately
Figure 02_image269
is an even number and
Figure 02_image269
case of odd numbers.

• 情況1:

Figure 02_image973
為偶數,其中
Figure 02_image975
。在此情況下,
Figure 02_image977
。使用如下事實  
Figure 02_image979
(105)
 
Figure 02_image981
(106)
 
Figure 02_image983
(107)
• Case 1:
Figure 02_image973
is an even number, where
Figure 02_image975
. In this situation,
Figure 02_image977
. Use the following facts
Figure 02_image979
(105)
 
Figure 02_image981
(106)
 
Figure 02_image983
(107)

• 獲得

Figure 02_image985
(108) • get
Figure 02_image985
(108)

• 其中

Figure 02_image987
(109)
Figure 02_image989
(110)
• in
Figure 02_image987
,
(109)
Figure 02_image989
.
(110)

• 給定

Figure 02_image053
Figure 02_image573
,首先在
Figure 02_image397
時間內計算
Figure 02_image991
Figure 02_image993
。隨後,藉由方程式(109)及(110)計算
Figure 02_image557
Figure 02_image559
。此程序僅耗費
Figure 02_image397
時間。• given
Figure 02_image053
and
Figure 02_image573
, first at
Figure 02_image397
time calculation
Figure 02_image991
and
Figure 02_image993
. Then, by using equations (109) and (110) to calculate
Figure 02_image557
and
Figure 02_image559
. This procedure costs only
Figure 02_image397
time.

接著,描述如何計算

Figure 02_image575
Figure 02_image577
。藉由使用方程式(104)及事實
Figure 02_image995
,對於任何
Figure 02_image997
,獲得Next, describe how to calculate
Figure 02_image575
and
Figure 02_image577
. By using equation (104) and the fact
Figure 02_image995
, for any
Figure 02_image997
,get

Figure 02_image999
Figure 02_image999

Figure 02_image1001
Figure 02_image1001

Figure 02_image1003
Figure 02_image1003

Figure 02_image1005
Figure 02_image1005

Figure 02_image1007
Figure 02_image1007

Figure 02_image1003
Figure 02_image1003

Figure 02_image1009
Figure 02_image1011
(111)
Figure 02_image1009
Figure 02_image1011
(111)

Figure 02_image1013
(112)
Figure 02_image1015
(113)
Figure 02_image1017
(114)
Figure 02_image1019
(115)
Assume
Figure 02_image1013
(112)
Figure 02_image1015
,
(113)
Figure 02_image1017
(114)
Figure 02_image1019
.
(115)

隨後,方程式(111)產生

Figure 02_image1021
(116) Then, equation (111) yields
Figure 02_image1021
(116)

Figure 02_image1023
Figure 02_image1025
(117)
Figure 02_image1023
Figure 02_image1025
(117)

Figure 02_image1027
Figure 02_image1029
(118)
Figure 02_image1027
Figure 02_image1029
,
(118)

其引起

Figure 02_image1031
(119) which caused
Figure 02_image1031
,
(119)

其中

Figure 02_image1033
(120)
Figure 02_image1035
(121)
in
Figure 02_image1033
(120)
Figure 02_image1035
.
(121)

給定

Figure 02_image053
Figure 02_image573
,首先藉由標準動態程式化技術在總的
Figure 02_image397
時間內計算以下矩陣:given
Figure 02_image053
and
Figure 02_image573
, first by means of standard dynamic stylization techniques in the total
Figure 02_image397
Compute the following matrix in time:

Figure 02_image1037
Figure 02_image1039
,其中
Figure 02_image1041
Figure 02_image1037
and
Figure 02_image1039
,in
Figure 02_image1041
;

Figure 02_image1043
Figure 02_image1045
,其中
Figure 02_image1047
Figure 02_image1043
and
Figure 02_image1045
,in
Figure 02_image1047
;

Figure 02_image1049
Figure 02_image993
Figure 02_image1049
and
Figure 02_image993
.

隨後,藉由方程式(113)及(115)計算

Figure 02_image1051
Figure 02_image1053
。此後,藉由方程式(120)及(121)計算
Figure 02_image575
Figure 02_image577
。總體而言,此程序耗費
Figure 02_image397
時間。Then, by using equations (113) and (115) to calculate
Figure 02_image1051
and
Figure 02_image1053
. Thereafter, calculated by equations (120) and (121)
Figure 02_image575
and
Figure 02_image577
. Overall, the program consumes
Figure 02_image397
time.

1.   情況2:

Figure 02_image1055
為奇數,其中
Figure 02_image975
。在此情況下,
Figure 02_image1057
。使用如下事實
Figure 02_image1059
(122)
Figure 02_image1061
(123)
Figure 02_image1063
(124)
1. Case 2:
Figure 02_image1055
is an odd number, where
Figure 02_image975
. In this situation,
Figure 02_image1057
. Use the following facts
Figure 02_image1059
(122)
Figure 02_image1061
(123)
Figure 02_image1063
(124)

2.   獲得

Figure 02_image945
(125) 2. get
Figure 02_image945
,
(125)

3.   其中

Figure 02_image1065
(126)
Figure 02_image1067
(127)
3. Among them
Figure 02_image1065
,
(126)
Figure 02_image1067
.
(127)

4.   給定

Figure 02_image053
Figure 02_image573
,首先在
Figure 02_image397
時間內計算
Figure 02_image1069
Figure 02_image1071
。隨後,藉由方程式(126)及(127)計算
Figure 02_image557
Figure 02_image559
。此程序僅耗費
Figure 02_image397
時間。4. Given
Figure 02_image053
and
Figure 02_image573
, first at
Figure 02_image397
time calculation
Figure 02_image1069
and
Figure 02_image1071
. Then, by equations (126) and (127) to calculate
Figure 02_image557
and
Figure 02_image559
. This procedure costs only
Figure 02_image397
time.

接著,描述如何計算

Figure 02_image575
Figure 02_image577
。藉由使用方程式(104)及事實
Figure 02_image1073
,其中任何
Figure 02_image1075
,得到Next, describe how to calculate
Figure 02_image575
and
Figure 02_image577
. By using equation (104) and the fact
Figure 02_image1073
, any of which
Figure 02_image1075
,get

Figure 02_image1077
Figure 02_image1077

Figure 02_image1079
Figure 02_image1079

Figure 02_image1003
Figure 02_image1003

Figure 02_image1081
Figure 02_image1081

Figure 02_image1083
Figure 02_image1083

Figure 02_image1085
Figure 02_image1085

Figure 02_image1003
Figure 02_image1003

Figure 02_image1087
Figure 02_image1089
(128)
Figure 02_image1087
Figure 02_image1089
.
(128)

Figure 02_image1091
(129)
Figure 02_image1093
(130)
Figure 02_image1095
(131)
Figure 02_image1097
(132)
Assume
Figure 02_image1091
(129)
Figure 02_image1093
(130)
Figure 02_image1095
(131)
Figure 02_image1097
(132)

隨後,方程式(128)得到

Figure 02_image1099
(133) Then, equation (128) gives
Figure 02_image1099
(133)

Figure 02_image1101
Figure 02_image1101

Figure 02_image1103
Figure 02_image1105
(134)
Figure 02_image1103
Figure 02_image1105
(134)

Figure 02_image1107
Figure 02_image1109
(135)
Figure 02_image1107
Figure 02_image1109
(135)

其引起

Figure 02_image1111
(136) which caused
Figure 02_image1111
(136)

其中  

Figure 02_image1113
(137)  
Figure 02_image1115
(138)
in
Figure 02_image1113
(137)
 
Figure 02_image1115
(138)

給定

Figure 02_image053
Figure 02_image573
,首先藉由標準動態程式化技術在總的
Figure 02_image397
時間內計算以下矩陣:given
Figure 02_image053
and
Figure 02_image573
, first by means of standard dynamic stylization techniques in the total
Figure 02_image397
Compute the following matrix in time:

Figure 02_image1037
Figure 02_image1117
,其中
Figure 02_image1041
Figure 02_image1037
and
Figure 02_image1117
,in
Figure 02_image1041
;

Figure 02_image1119
Figure 02_image1045
,其中
Figure 02_image1121
Figure 02_image1119
and
Figure 02_image1045
,in
Figure 02_image1121
;

Figure 02_image1123
Figure 02_image1071
Figure 02_image1123
and
Figure 02_image1071
.

隨後,藉由方程式(130)及(132)計算

Figure 02_image1051
Figure 02_image1053
。此後,藉由方程式(137)及(138)計算
Figure 02_image575
Figure 02_image577
。總體而言,此程序耗費
Figure 02_image397
時間。Then, by using equations (130) and (132) to calculate
Figure 02_image1051
and
Figure 02_image1053
. Thereafter, calculated by equations (137) and (138)
Figure 02_image575
and
Figure 02_image577
. Overall, the program consumes
Figure 02_image397
time.

WW

A.1.2.A.1.2. 最大化概似函數的費雪資訊Fisher information for maximizing the likelihood function

提議用於最大化概似函數

Figure 02_image501
在給定點
Figure 02_image1125
(亦即,
Figure 02_image053
的事前平均值)的費雪資訊之兩種演算法。亦即,目標在於找到最大化下式的
Figure 02_image581
Figure 02_image1127
(139)
Proposed for maximizing the likelihood function
Figure 02_image501
at a given point
Figure 02_image1125
(that is,
Figure 02_image053
The two algorithms of the Fisher information of the prior average value of . That is, the goal is to find the one that maximizes
Figure 02_image581
Figure 02_image1127
(139)

在此等演算法亦分別基於梯度上升及坐標上升的意義上,此等演算法類似於在基於附屬的情況下用於費雪資訊最大化之演算法1及2。主要差異在於,現在調用引理2中之程序來針對給定

Figure 02_image651
Figure 02_image573
評估
Figure 02_image1129
Figure 02_image1131
Figure 02_image653
Figure 02_image655
,並且隨後使用它們來計算
Figure 02_image513
關於
Figure 02_image265
的部分導數(在梯度上升中)或針對
Figure 02_image265
定義單變數最佳化問題(在坐標上升中)。在演算法5及6中正式描述此等演算法。These algorithms are similar to Algorithms 1 and 2 for Fisher Information Maximization in the sense that they are also based on gradient ascent and coordinate ascent respectively. The main difference is that the procedure in Lemma 2 is now invoked for the given
Figure 02_image651
and
Figure 02_image573
Evaluate
Figure 02_image1129
,
Figure 02_image1131
,
Figure 02_image653
and
Figure 02_image655
, and then use them to compute
Figure 02_image513
about
Figure 02_image265
Partial derivatives of (in gradient ascent) or for
Figure 02_image265
Defines a univariate optimization problem (in coordinate ascent). These algorithms are formally described in Algorithms 5 and 6.

A.1.3.A.1.3. 最大化概似函數的斜率maximize the slope of the likelihood function

亦提議用於最大化概似函數

Figure 02_image501
在給定點
Figure 02_image503
(亦即,
Figure 02_image053
的事前平均值)的斜率之兩種演算法。亦即,目標在於找到最大化
Figure 02_image1133
Figure 02_image581
。Also proposed for maximizing the likelihood function
Figure 02_image501
at a given point
Figure 02_image503
(that is,
Figure 02_image053
The two algorithms of the slope of the prior mean value). That is, the goal is to find the maximum
Figure 02_image1133
of
Figure 02_image581
.

在此等演算法亦分別基於梯度上升及坐標上升的意義上,此等演算法類似於在基於附屬的情況下用於斜率最大化之演算法3及4。主要差異在於,現在調用引理2中之程序來針對給定

Figure 02_image651
Figure 02_image573
評估
Figure 02_image653
Figure 02_image655
。隨後,使用此等量來計算
Figure 02_image1135
關於
Figure 02_image265
的部分導數(在梯度上升中)或直接更新
Figure 02_image265
的值(在坐標上升中)。在演算法7及8中正式描述此等演算法。These algorithms are similar to Algorithms 3 and 4 for slope maximization in the dependency-based case, in the sense that these algorithms are also based on gradient ascent and coordinate ascent, respectively. The main difference is that the procedure in Lemma 2 is now invoked for the given
Figure 02_image651
and
Figure 02_image573
Evaluate
Figure 02_image653
and
Figure 02_image655
. Then, use these quantities to calculate
Figure 02_image1135
about
Figure 02_image265
Partial derivatives of (in gradient ascent) or direct update of
Figure 02_image265
The value of (in coordinate ascent). These algorithms are formally described in Algorithms 7 and 8.

A.2.A.2. 藉由工程化概似函數進行的近似貝氏推論Approximate Bayesian Inference via Engineered Likelihood Functions

在用於調諧電路參數

Figure 02_image017
的演算法就位後,現在簡要描述如何藉由所得概似函數高效地執行貝氏推論。此想法類似於第4.2節中用於無附屬方案的想法。parameters used in tuning the circuit
Figure 02_image017
With the algorithm for , now in place, we now briefly describe how Bayesian inference can be efficiently performed with the resulting approximate function. This idea is similar to that used for the unaffiliated scheme in Section 4.2.

假設

Figure 02_image053
具有事前分佈
Figure 02_image461
,其中
Figure 02_image661
,並且用於產生ELF之過程之保真度為
Figure 02_image375
。發現最大化
Figure 02_image513
(或
Figure 02_image1137
)的參數
Figure 02_image665
滿足以下性質:當
Figure 02_image053
接近
Figure 02_image651
時,亦即,
Figure 02_image667
時,得到
Figure 02_image669
(147)
suppose
Figure 02_image053
with prior distribution
Figure 02_image461
,in
Figure 02_image661
, and the fidelity of the process used to generate the ELF is
Figure 02_image375
. Discovery maximization
Figure 02_image513
(or
Figure 02_image1137
) parameters
Figure 02_image665
satisfy the following properties: when
Figure 02_image053
near
Figure 02_image651
when, that is,
Figure 02_image667
when, get
Figure 02_image669
(147)

其中一些

Figure 02_image671
。藉由解決以下最小平方問題來找到最佳擬合
Figure 02_image673
Figure 02_image675
Figure 02_image1139
(148)
some of them
Figure 02_image671
. Find the best fit by solving the following least squares problem
Figure 02_image673
and
Figure 02_image675
:
Figure 02_image1139
,
(148)

其中

Figure 02_image679
。此最小方根問題具有以下解析解:
Figure 02_image681
(149)
in
Figure 02_image679
. This least square root problem has the following analytical solution:
Figure 02_image681
(149)

其中

Figure 02_image1141
(156) in
Figure 02_image1141
.
(156)

圖34圖示說明真實概似函數及擬合概似函數的實例。Figure 34 illustrates examples of true and fitted likelihood functions.

一旦獲得最佳的

Figure 02_image673
Figure 02_image675
,就可藉由下式的平均值及變異數來近似
Figure 02_image053
的事後平均值及變異數
Figure 02_image1143
(157)
Once the best
Figure 02_image673
and
Figure 02_image675
, it can be approximated by the mean and variance of the following formula
Figure 02_image053
The post-hoc mean and variance of
Figure 02_image1143
(157)

上式具有解析公式。具體地,假設

Figure 02_image053
在回合
Figure 02_image111
處具有事前分佈
Figure 02_image687
。設
Figure 02_image689
成為量測成果,並且設
Figure 02_image691
為此回合的最佳擬合參數。隨後,藉由下式來近似
Figure 02_image053
的事後平均值與變異數
Figure 02_image1145
(158)
Figure 02_image695
(159)
The above formula has an analytical formula. Specifically, suppose
Figure 02_image053
in round
Figure 02_image111
ex ante distribution
Figure 02_image687
. Assume
Figure 02_image689
become a measurement result, and set
Figure 02_image691
Best fit parameters for this round. Then, it is approximated by
Figure 02_image053
The post hoc mean and variance of
Figure 02_image1145
,
(158)
Figure 02_image695
(159)

此後,繼續進行至下一回合,將

Figure 02_image697
設定為該回合之
Figure 02_image053
的事前分佈。由方程式(158)及(159)引起的近似誤差很小,並且出於與無附屬的情況相同的原因,該等近似誤差對整個演算法之效能具有的影響可忽略。Afterwards, proceed to the next round, the
Figure 02_image697
set to the round
Figure 02_image053
the prior distribution of . The approximation errors caused by equations (158) and (159) are small, and for the same reasons as the no-attachment case, they have negligible impact on the performance of the overall algorithm.

C.c. 引理的證明Lemma Proof

爲了便利起見,引入以下標記。設

Figure 02_image1147
Figure 02_image1149
Figure 02_image1151
Figure 02_image1153
,其中
Figure 02_image957
,並且
Figure 02_image1155
。此外,設
Figure 02_image959
,其中
Figure 02_image1157
。應注意,若
Figure 02_image269
為奇數,則
Figure 02_image963
。隨後,定義若
Figure 02_image1159
,否則
Figure 02_image967
。For convenience, the following markup is introduced. Assume
Figure 02_image1147
,
Figure 02_image1149
,
Figure 02_image1151
and
Figure 02_image1153
,in
Figure 02_image957
,and
Figure 02_image1155
. In addition, set
Figure 02_image959
,in
Figure 02_image1157
. It should be noted that if
Figure 02_image269
is an odd number, then
Figure 02_image963
. Then, define if
Figure 02_image1159
,otherwise
Figure 02_image967
.

藉由此標記,  

Figure 02_image1161
   
Figure 02_image1163
 
 
Figure 02_image1165
 
By this mark,
Figure 02_image1161
Figure 02_image1163
,
Figure 02_image1165

此外,關於

Figure 02_image053
求導產生  
Figure 02_image1167
 
In addition, regarding
Figure 02_image053
Derivation produces
Figure 02_image1167

Figure 02_image1169
Figure 02_image1169

Figure 02_image1171
Figure 02_image1171

Figure 02_image1003
Figure 02_image1003

Figure 02_image1173
 
Figure 02_image1175
 
Figure 02_image1173
Figure 02_image1175
,

其中  

Figure 02_image1177
  in
Figure 02_image1177

Figure 02_image1179
關於
Figure 02_image053
的導數,其中  
Figure 02_image1181
 
for
Figure 02_image1179
about
Figure 02_image053
derivative of , where
Figure 02_image1181

Figure 02_image331
關於
Figure 02_image053
的導數。隨後,for
Figure 02_image331
about
Figure 02_image053
derivative of . Subsequently,

Figure 02_image1183
Figure 02_image1183

Figure 02_image1185
Figure 02_image1185

Figure 02_image1003
Figure 02_image1003

Figure 02_image1187
 
Figure 02_image1189
 
Figure 02_image1187
Figure 02_image1189
.

以下事實將為有用的。假設

Figure 02_image067
Figure 02_image1191
Figure 02_image1193
為希伯特空間
Figure 02_image1195
上的任意線性算子。隨後,藉由直接計算,可驗證  
Figure 02_image1197
 
The following facts will be useful. suppose
Figure 02_image067
,
Figure 02_image1191
and
Figure 02_image1193
Hibbert space
Figure 02_image1195
Any linear operator on . Then, by direct calculation, it can be verified that
Figure 02_image1197

Figure 02_image1199
Figure 02_image1199

Figure 02_image1201
Figure 02_image1203
Figure 02_image1205
Figure 02_image1201
Figure 02_image1203
Figure 02_image1205

Figure 02_image1207
Figure 02_image1207

Figure 02_image1209
 
Figure 02_image1211
 
Figure 02_image1209
Figure 02_image1211
,

並且  

Figure 02_image1213
  and
Figure 02_image1213

Figure 02_image1215
Figure 02_image1215

Figure 02_image1217
 
Figure 02_image1219
 
Figure 02_image1217
 
Figure 02_image1219
 

以下事實亦將為有用的。關於

Figure 02_image053
求導產生The following facts will also be useful. about
Figure 02_image053
Derivation produces

Figure 02_image1221
Figure 02_image1221

Figure 02_image1223
 
Figure 02_image1225
 
Figure 02_image1223
 
Figure 02_image1225
 

Figure 02_image1227
 
Figure 02_image1229
 
Figure 02_image1227
 
Figure 02_image1229
 

為了針對給定

Figure 02_image053
Figure 02_image573
評估
Figure 02_image557
Figure 02_image559
Figure 02_image561
Figure 02_image575
Figure 02_image577
Figure 02_image579
,分開考慮
Figure 02_image269
為偶數的情況及
Figure 02_image269
為奇數的情況。for a given
Figure 02_image053
and
Figure 02_image573
Evaluate
Figure 02_image557
,
Figure 02_image559
,
Figure 02_image561
,
Figure 02_image575
,
Figure 02_image577
and
Figure 02_image579
, considered separately
Figure 02_image269
is an even number and
Figure 02_image269
case of odd numbers.

• 情況1:

Figure 02_image1231
為偶數,其中
Figure 02_image975
。在此情況下,
Figure 02_image1233
,並且
Figure 02_image1235
。隨後獲得  
Figure 02_image1237
 
 
Figure 02_image1239
 
• Case 1:
Figure 02_image1231
is an even number, where
Figure 02_image975
. In this situation,
Figure 02_image1233
,and
Figure 02_image1235
. subsequently obtained
Figure 02_image1237
Figure 02_image1239
,

• 其中  

Figure 02_image1241
   
Figure 02_image1243
 
 
Figure 02_image1245
 
• in
Figure 02_image1241
Figure 02_image1243
Figure 02_image1245

• 給定

Figure 02_image053
Figure 02_image573
,首先在
Figure 02_image397
時間內計算
Figure 02_image1069
Figure 02_image1247
Figure 02_image1249
。隨後,計算
Figure 02_image557
Figure 02_image559
Figure 02_image561
。此程序僅耗費
Figure 02_image397
時間。• given
Figure 02_image053
and
Figure 02_image573
, first at
Figure 02_image397
time calculation
Figure 02_image1069
,
Figure 02_image1247
and
Figure 02_image1249
. Then, calculate
Figure 02_image557
,
Figure 02_image559
and
Figure 02_image561
. This procedure costs only
Figure 02_image397
time.

接著示出如何計算

Figure 02_image575
Figure 02_image577
Figure 02_image579
。使用上式及事實
Figure 02_image1251
,其中任何
Figure 02_image1253
,獲得Then show how to calculate
Figure 02_image575
,
Figure 02_image577
and
Figure 02_image579
. Use the above formula and fact
Figure 02_image1251
, any of which
Figure 02_image1253
,get

Figure 02_image1255
Figure 02_image1255

Figure 02_image1257
Figure 02_image1257

Figure 02_image1003
Figure 02_image1003

Figure 02_image1259
Figure 02_image1259

Figure 02_image1261
Figure 02_image1261

Figure 02_image1003
Figure 02_image1003

Figure 02_image1263
 
Figure 02_image1265
 
Figure 02_image1263
 
Figure 02_image1265
 

隨後,得到  

Figure 02_image1267
   
Figure 02_image1269
 
Then, get
Figure 02_image1267
Figure 02_image1269

其中  

Figure 02_image1271
   
Figure 02_image1273
 
 
Figure 02_image1275
 
 
Figure 02_image1277
 
 
Figure 02_image1279
 
 
Figure 02_image1281
 
 
Figure 02_image1283
 
 
Figure 02_image1285
 
in
Figure 02_image1271
Figure 02_image1273
Figure 02_image1275
Figure 02_image1277
Figure 02_image1279
,
Figure 02_image1281
Figure 02_image1283
,
Figure 02_image1285
.

同時,得到  

Figure 02_image1287
   
Figure 02_image1289
 
At the same time, get
Figure 02_image1287
Figure 02_image1289
,

其中  

Figure 02_image1291
   
Figure 02_image1293
 
 
Figure 02_image1295
 
in
Figure 02_image1291
Figure 02_image1293
Figure 02_image1295
.

將上述事實組合起來,得到  

Figure 02_image1297
  Combining the above facts, we get
Figure 02_image1297

其中in

Figure 02_image1299
Figure 02_image1299

Figure 02_image1301
 
Figure 02_image1303
 
Figure 02_image1301
 
Figure 02_image1303
 

Figure 02_image1305
Figure 02_image1305

Figure 02_image1307
 
Figure 02_image1309
 
Figure 02_image1307
 
Figure 02_image1309
 

Figure 02_image1311
Figure 02_image1311

Figure 02_image1313
 
Figure 02_image1315
 
Figure 02_image1313
Figure 02_image1315
.

給定

Figure 02_image053
Figure 02_image573
,首先藉由標準動態程式化技術在總的
Figure 02_image397
時間內計算以下矩陣:given
Figure 02_image053
and
Figure 02_image573
, first by means of standard dynamic stylization techniques in the total
Figure 02_image397
Compute the following matrix in time:

Figure 02_image1123
Figure 02_image1247
Figure 02_image1249
Figure 02_image1071
Figure 02_image1317
Figure 02_image1123
,
Figure 02_image1247
,
Figure 02_image1249
,
Figure 02_image1071
,
Figure 02_image1317
;

Figure 02_image1319
Figure 02_image1321
Figure 02_image1319
and
Figure 02_image1321

Figure 02_image1323
Figure 02_image1325
Figure 02_image1323
and
Figure 02_image1325

隨後,計算

Figure 02_image1327
Figure 02_image1329
Figure 02_image1331
,其中
Figure 02_image1333
。此後,計算
Figure 02_image575
Figure 02_image1335
Figure 02_image579
。總體而言,此程序耗費
Figure 02_image397
時間。Then, calculate
Figure 02_image1327
,
Figure 02_image1329
and
Figure 02_image1331
,in
Figure 02_image1333
. Thereafter, calculate
Figure 02_image575
,
Figure 02_image1335
and
Figure 02_image579
. Overall, the program consumes
Figure 02_image397
time.

5.   情況2:

Figure 02_image1337
為奇數,其中
Figure 02_image975
。在此情況下,
Figure 02_image1339
,並且
Figure 02_image1341
。隨後,得到  
Figure 02_image1343
 
 
Figure 02_image1239
 
5. Case 2:
Figure 02_image1337
is an odd number, where
Figure 02_image975
. In this situation,
Figure 02_image1339
,and
Figure 02_image1341
. Then, get
Figure 02_image1343
Figure 02_image1239
,

6.   其中  

Figure 02_image1345
   
Figure 02_image1347
 
 
Figure 02_image1349
 
6. Among them
Figure 02_image1345
Figure 02_image1347
,
Figure 02_image1349

7.   給定

Figure 02_image053
Figure 02_image573
,首先在
Figure 02_image397
時間內計算
Figure 02_image991
Figure 02_image1351
Figure 02_image1353
。隨後,計算
Figure 02_image557
Figure 02_image559
Figure 02_image1355
。此程序僅耗費
Figure 02_image397
時間。7. given
Figure 02_image053
and
Figure 02_image573
, first at
Figure 02_image397
time calculation
Figure 02_image991
,
Figure 02_image1351
and
Figure 02_image1353
. Then, calculate
Figure 02_image557
,
Figure 02_image559
and
Figure 02_image1355
. This procedure costs only
Figure 02_image397
time.

接著,描述如何計算

Figure 02_image575
Figure 02_image577
Figure 02_image579
。使用上式及事實
Figure 02_image1357
,其中
Figure 02_image1359
,獲得Next, describe how to calculate
Figure 02_image575
,
Figure 02_image577
and
Figure 02_image579
. Use the above formula and fact
Figure 02_image1357
,in
Figure 02_image1359
,get

Figure 02_image1361
Figure 02_image1361

Figure 02_image1363
Figure 02_image1363

Figure 02_image1003
Figure 02_image1003

Figure 02_image1365
Figure 02_image1365

Figure 02_image1367
Figure 02_image1367

Figure 02_image1369
Figure 02_image1369

Figure 02_image1003
Figure 02_image1003

Figure 02_image1371
 
Figure 02_image1373
 
Figure 02_image1371
Figure 02_image1373
.

隨後,得到Then, get

Figure 02_image1375
Figure 02_image1375

Figure 02_image1377
Figure 02_image1379
Figure 02_image1381
Figure 02_image1383
Figure 02_image1385
Figure 02_image1377
Figure 02_image1379
,
Figure 02_image1381
Figure 02_image1383
Figure 02_image1385
,

其中  

Figure 02_image1387
   
Figure 02_image1389
 
 
Figure 02_image1391
 
 
Figure 02_image1393
 
 
Figure 02_image1395
 
 
Figure 02_image1397
 
 
Figure 02_image1399
 
 
Figure 02_image1401
 
 
Figure 02_image1403
 
 
Figure 02_image1405
 
 
Figure 02_image1407
 
in
Figure 02_image1387
,
Figure 02_image1389
,
Figure 02_image1391
Figure 02_image1393
,
Figure 02_image1395
,
Figure 02_image1397
Figure 02_image1399
,
Figure 02_image1401
,
Figure 02_image1403
Figure 02_image1405
Figure 02_image1407
.

同時,得到  

Figure 02_image1409
   
Figure 02_image1411
 
At the same time, get
Figure 02_image1409
Figure 02_image1411
,

其中

Figure 02_image1413
Figure 02_image1415
Figure 02_image1417
in
Figure 02_image1413
,
Figure 02_image1415
,
Figure 02_image1417
.

將上述事實組合起來,得到

Figure 02_image1297
Combining the above facts, we get
Figure 02_image1297

其中in

Figure 02_image1419
Figure 02_image1419

Figure 02_image1421
Figure 02_image1421

Figure 02_image1423
Figure 02_image1425
Figure 02_image1423
Figure 02_image1425
,

Figure 02_image1427
Figure 02_image1427

Figure 02_image1429
Figure 02_image1429

Figure 02_image1431
Figure 02_image1433
Figure 02_image1431
Figure 02_image1433

Figure 02_image1435
Figure 02_image1435

Figure 02_image1437
Figure 02_image1437

Figure 02_image1439
Figure 02_image1441
Figure 02_image1439
Figure 02_image1441
.

給定

Figure 02_image053
Figure 02_image573
,首先藉由標準動態程式化技術在總的
Figure 02_image397
時間內計算以下矩陣:given
Figure 02_image053
and
Figure 02_image573
, first by means of standard dynamic stylization techniques in the total
Figure 02_image397
Compute the following matrix in time:

Figure 02_image1049
Figure 02_image1351
Figure 02_image1353
Figure 02_image993
Figure 02_image1443
Figure 02_image1049
,
Figure 02_image1351
,
Figure 02_image1353
,
Figure 02_image993
,
Figure 02_image1443
;

Figure 02_image1445
Figure 02_image1447
,其中
Figure 02_image1449
Figure 02_image1445
and
Figure 02_image1447
,in
Figure 02_image1449
;

Figure 02_image1451
Figure 02_image1453
,其中
Figure 02_image1455
Figure 02_image1451
and
Figure 02_image1453
,in
Figure 02_image1455
.

隨後,計算

Figure 02_image1327
Figure 02_image1329
Figure 02_image1331
。,其中
Figure 02_image1457
此後,計算
Figure 02_image1459
Figure 02_image577
Figure 02_image579
。總體而言,此程序耗費
Figure 02_image397
時間。Then, calculate
Figure 02_image1327
,
Figure 02_image1329
and
Figure 02_image1331
. ,in
Figure 02_image1457
Thereafter, calculate
Figure 02_image1459
,
Figure 02_image577
and
Figure 02_image579
. Overall, the program consumes
Figure 02_image397
time.

應理解,儘管上文已就特定實施例來描述本發明,但是前述實施例僅提供為說明性的,並且並不限制或界定本發明之範疇。各種其他實施例(包括但不限於以下實施例)亦在申請專利範圍之範疇內。例如,本文所描述的元件及組件可進一步分成額外組件或結合在一起以形成更少的組件來執行相同功能。It should be understood that while the invention has been described above in terms of specific embodiments, the foregoing embodiments are provided as illustrative only, and do not limit or define the scope of the invention. Various other embodiments (including but not limited to the following embodiments) are also within the scope of the patent application. For example, elements and components described herein may be further divided into additional components or combined together to form fewer components to perform the same function.

量子電腦之各種實體實施例適合於根據本揭示案使用。通常,量子計算中的基本資料儲存單元為量子位元(quantum bit或qubit)。量子位元為古典數位電腦系統位元之量子計算類似物。認為古典位元在任何給定時間點佔據對應於二進制數位(位元) 0或1的兩個可能狀態中之一者。相比之下,量子位元係藉由具有量子機械特性之實體媒體在硬體中實現。實體地具現化量子位元之此種媒體在本文中可被稱為「量子位元之實體具現化」、「量子位元之實體實施例」、「體現量子位元之媒體」或類似術語,或爲了易於解釋,簡稱為「量子位元」。因此,應理解,本文中在本發明之實施例的描述中對「量子位元」的提及係指體現量子位元的實體媒體。Various physical embodiments of quantum computers are suitable for use in accordance with the present disclosure. Generally, the basic data storage unit in quantum computing is a quantum bit (quantum bit or qubit). A qubit is the quantum computing analog of a bit in a classical digital computer system. A classical bit is considered to occupy one of two possible states corresponding to a binary digit (bit) of 0 or 1 at any given point in time. Qubits, by contrast, are implemented in hardware by a physical medium with quantum mechanical properties. Such a medium that physically embodies a qubit may be referred to herein as a "physical realization of a qubit," a "physical embodiment of a qubit," "a medium embodying a qubit," or similar terms, Or simply "qubits" for ease of explanation. Therefore, it should be understood that the reference to "qubit" in the description of the embodiments of the present invention herein refers to the physical medium embodying the qubit.

每一量子位元具有無限數目個不同的潛在量子機械狀態。在實體地量測量子位元之狀態時,量測產生自量子位元的狀態解析的兩個不同基礎狀態中之一者。因此,單個量子位元可表示一、零,或彼等兩個量子位元狀態之任何量子疊加;一對量子位元可處於4個正交基礎狀態之任何量子疊加;並且三個量子位元可處於8個正交基礎狀態之任何疊加。定義量子位元之量子機械狀態的函數被稱為其波函數。波函數亦指定給定量測的成果之機率分佈。具有二維量子狀態(亦即,具有兩個正交基礎狀態)之量子位元可推廣至d維「量子位元」,其中d可為任何整數值,諸如2、3、4或更大。在量子位元之一般情況下,量子位元之量測產生自量子位元的狀態解析的d個不同基礎狀態中之一者。本文中對量子位元之任何提及應被理解為更一般地係指d維量子位元(d為任何值)。Each qubit has an infinite number of different potential quantum mechanical states. When physically measuring the state of a qubit, the measurement results from one of two different underlying states resulting from the state resolution of the qubit. Thus, a single qubit can represent one, zero, or any quantum superposition of their two-qubit states; a pair of qubits can be in any quantum superposition of four orthogonal fundamental states; and three qubits Can be in any superposition of 8 orthogonal base states. The function that defines the quantum mechanical state of a qubit is called its wave function. The wave function also specifies the probability distribution of the outcome of a given measurement. A qubit with a two-dimensional quantum state (ie, with two orthogonal basis states) can be generalized to a d-dimensional "qubit", where d can be any integer value, such as 2, 3, 4 or greater. In the general case of qubits, measurements of the qubit result from one of d different underlying states of the qubit's state resolution. Any reference herein to qubits should be understood to refer more generally to d-dimensional qubits (d is any value).

儘管本文中對量子位元的特定描述可就其數學性質來描述此類量子位元,但是每一此種量子位元可以各種不同方式中的任一者以實體媒體實現。此類實體媒體之實例包括超導材料、捕獲離子、光子、光學諧振腔、捕獲在量子點內的個別電子、固體中之點缺陷(例如,矽中之磷供體或金剛石中之氮空位中心)、分子(例如,丙胺酸、釩錯合物)、或展現量子位元行為(亦即,包含量子狀態及其間的轉變,該等轉變可被可控地誘發或偵測到)的上述各項中之任一者之彙總。Although the specific description of qubits herein may describe such qubits in terms of their mathematical properties, each such qubit may be implemented in a physical medium in any of a variety of different ways. Examples of such solid media include superconducting materials, trapped ions, photons, optical cavities, individual electrons trapped within quantum dots, point defects in solids (e.g., phosphorus donors in silicon or nitrogen vacancy centers in diamond) ), molecules (e.g., alanine, vanadium complexes), or any of the above that exhibit qubit behavior (that is, include quantum states and transitions between them that can be controllably induced or detected) A summary of any of the items.

對於實現量子位元之任何給定媒體,可選擇該媒體之各種性質中的任一者來實現量子位元。例如,若選擇電子來實現量子位元,則可選擇其自旋自由度之x分量作為此類電子的性質來表示此類量子位元之狀態。替代地,可選擇自旋自由度之y分量或z分量作為此類電子的性質來表示此類量子位元之狀態。此僅為如下一般特徵之特定實例:對於可經選擇來實現量子位元之任何實體媒體,可存在可經選擇來表示0及1的多個實體自由度(例如,電子自旋實例中的x、y及z分量)。對於任何特定的自由度,可將實體媒體可控地置於疊加狀態,並且可隨後以所選擇的自由度進行量測以獲得量子位元值之讀數。For any given medium that implements qubits, any of various properties of the medium can be chosen to implement the qubits. For example, if electrons are chosen to implement a qubit, then the x-component of their spin degree of freedom can be chosen as a property of such electrons to represent the state of such qubits. Alternatively, the y-component or the z-component of the spin degree of freedom can be chosen as a property of such electrons to represent the state of such qubits. This is just a specific example of the general feature that for any physical medium that can be chosen to implement a qubit, there can be multiple physical degrees of freedom that can be chosen to represent 0 and 1 (e.g. x in the electron spin example , y and z components). For any particular degree of freedom, the physical medium can be controllably placed in a superposition state, and can then be measured with the chosen degree of freedom to obtain a readout of the qubit value.

量子電腦之特定實現方式(稱為閘模型量子電腦)包含量子閘。相比古典閘,存在改變量子位元之狀態向量的無限數目個可能的單量子位元量子閘。改變量子位元狀態向量之狀態通常被稱為單量子位元旋轉,並且在本文中亦可被稱為狀態改變或單量子位元量子閘運算。旋轉、狀態改變或單量子位元量子閘運算可由具有複數元素的麼正2X2矩陣數學地表示。旋轉對應於量子位元狀態在其希伯特空間內的旋轉,該旋轉可概念化為布洛赫球體的旋轉。(如熟習此項技術者所熟知,布洛赫球體為量子位元之純粹狀態之空間的幾何表示。)多量子位元閘改變一組量子位元之量子狀態。例如,雙量子位元閘旋轉兩個量子位元之狀態作為兩個量子位元在四維希伯特空間中的旋轉。(如熟習此項技術者所熟知,希伯特空間為允許量測長度及角度之用於處理內積之結構的抽象向量空間。此外,希伯特空間為完整的:空間中存在足夠的限制以允許使用微積分技術。)A particular implementation of a quantum computer (called a gate-model quantum computer) involves quantum gates. In contrast to classical gates, there are an infinite number of possible single-qubit quantum gates that change the state vector of a qubit. Changing the state of a qubit state vector is often referred to as a single-qubit rotation, and may also be referred to herein as a state change or a single-qubit quantum gate operation. Rotations, state changes, or single-qubit quantum gate operations can be mathematically represented by monoregular 2X2 matrices with complex elements. The rotation corresponds to the rotation of the qubit state in its Hibert space, which can be conceptualized as the rotation of the Bloch sphere. (As is well known to those skilled in the art, a Bloch sphere is a geometric representation of the space of pure states of a qubit.) A multi-qubit gate changes the quantum state of a group of qubits. For example, a two-qubit gate rotates the state of two qubits as a rotation of the two qubits in four-dimensional Hibert space. (As is well known to those skilled in the art, a Hibbert space is an abstract vector space for structures that allow the measurement of lengths and angles for handling inner products. Furthermore, a Hibbert space is complete: there are sufficient constraints on the space to allow the use of calculus techniques.)

可將量子電路指定為量子閘之序列。如下文更詳細描述,如本文中所使用,術語「量子閘」係指將閘控制訊號(下文定義)應用於一或多個量子位元以致使彼等量子位元經受特定的實體變換並且藉此實現邏輯閘運算。為了概念化量子電路,可將對應於分量量子閘的矩陣以閘序列所指定的次序相乘,以產生表示n個量子位元的相同總體狀態變化的2n X2n 複數矩陣。因此,可將量子電路表達為單個所得算子。然而,依據組成閘來設計量子電路允許設計與一組標準閘一致,因此實現更輕鬆的部署。因此,量子電路對應於對量子電腦之實體組件採取之動作的設計。A quantum circuit can be specified as a sequence of quantum gates. As described in more detail below, as used herein, the term "quantum gate" refers to the application of a gate control signal (defined below) to one or more qubits so as to cause those qubits to undergo a specific physical transformation and thereby This realizes logic gate operation. To conceptualize a quantum circuit, the matrices corresponding to the component quantum gates can be multiplied in the order specified by the gate sequence to produce a 2 n X 2 n matrix of complex numbers representing the same overall state change of n qubits. Therefore, a quantum circuit can be expressed as a single resulting operator. However, designing quantum circuits in terms of constituent gates allows the design to be consistent with a set of standard gates, thus enabling easier deployment. A quantum circuit thus corresponds to the design of actions to be taken on the physical components of a quantum computer.

給定變分量子電路可以適當的裝置特定方式參數化。更一般地,構成量子電路之量子閘可具有相關聯的複數個調諧參數。例如,在基於光學切換之實施例中,調諧參數可對應於個別光學元件之角度。A given variable quantum circuit can be parameterized in an appropriate device-specific manner. More generally, quantum gates constituting a quantum circuit may have a plurality of tuning parameters associated therewith. For example, in an optical switching based embodiment, tuning parameters may correspond to angles of individual optical elements.

在量子電路之特定實施例中,量子電路包括一或多個閘及一或多個量測操作兩者。使用此類量子電路實現的量子電腦在本文中被稱為實現「量測反饋」。例如,實現量測反饋的量子電腦可執行量子電路中之閘,並且隨後僅量測量子電腦中之量子位元的子集(亦即,少於全部量子位元),並且隨後基於(多次)量測之(多個)成果決定接下來執行哪個(些)閘。特別地,(多次)量測可指示(多個)閘運算中的誤差度,並且量子電腦可基於誤差度決定接下來執行哪個(些)閘。隨後,量子電腦可執行決策所指示的(多個)閘。執行閘、量測量子位元之子集並且隨後決定接下來執行哪個(些)閘之此過程可重複任何數目次。量測反饋對執行量子誤差校正可為有用的,但並不限於在執行量子誤差校正中使用。對於每個量子電路,在有或沒有量測反饋的情況下,均存在電路之經誤差校正的實現方式。In a particular embodiment of a quantum circuit, the quantum circuit includes both one or more gates and one or more measurement operations. A quantum computer implemented using such quantum circuits is referred to in this paper as implementing "measurement feedback". For example, a quantum computer that implements measurement feedback can implement gates in a quantum circuit, and then measure only a subset (i.e., less than all qubits) of the qubits in the quantum computer, and then based on (multiple times ) measurement result(s) determines which gate(s) to execute next. In particular, the measurement(s) can indicate the degree of error in the gate(s) operation, and the quantum computer can decide which gate(s) to execute next based on the degree of error. The quantum computer can then execute the gate(s) dictated by the decision. This process of executing a gate, measuring a subset of sub-bits, and then deciding which gate(s) to execute next may be repeated any number of times. Measurement feedback can be useful for performing quantum error correction, but is not limited to use in performing quantum error correction. For every quantum circuit, there exists an error-corrected implementation of the circuit, with or without measurement feedback.

本文中所描述的一些實施例產生、量測或利用近似目標量子狀態(例如,哈密爾頓之基態)之量子狀態。如熟習此項技術者將瞭解,存在許多方式來量化第一量子狀態與第二量子狀態「近似」的程度。在以下描述中,此項技術中已知的任何近似概念或定義可在不脫離本發明之範疇的情況下使用。例如,當第一及第二量子狀態分別表示為第一及第二向量時,當第一及第二向量之間的內積(稱為兩個量子狀態之間的「保真度」)大於預定義量(通常標記為ϵ)時,第一量子狀態與第二量子狀態近似。在此實例中,保真度量化第一與第二量子狀態彼此「接近」或「類似」的程度。保真度表示第一量子狀態之量測將給出的結果與在對第二量子狀態執行該量測的情况下相同之機率。量子狀態之間的接近性亦可藉由距離度量(諸如歐式範數、漢明距離,或此項技術中已知的另一類型之範數)來量化。量子狀態之間的近似性亦可在計算方面定義。例如,當第一量子狀態之多項式時間取樣給出其與第二量子狀態共用的一些所要資訊或性質時,第一量子狀態與第二量子狀態近似。Some embodiments described herein generate, measure, or utilize a quantum state that approximates a target quantum state (eg, Hamilton's ground state). As those skilled in the art will appreciate, there are many ways to quantify how "similar" a first quantum state is to a second quantum state. In the following description, any approximate concepts or definitions known in the art may be used without departing from the scope of the present invention. For example, when the first and second quantum states are represented as first and second vectors, respectively, when the inner product between the first and second vectors (called the "fidelity" between the two quantum states) is greater than The first quantum state approximates the second quantum state by a predefined quantity (often denoted ϵ). In this example, fidelity measures how "close" or "similar" the first and second quantum states are to each other. Fidelity represents the probability that a measurement of a first quantum state will give the same result as if the measurement were performed on a second quantum state. Proximity between quantum states can also be quantified by a distance metric such as the Euclidean norm, Hamming distance, or another type of norm known in the art. The approximation between quantum states can also be defined computationally. For example, a first quantum state approximates a second quantum state when polynomial time sampling of the first quantum state gives it some desired information or property that it shares with the second quantum state.

並非所有量子電腦均為閘模型量子電腦。本發明之實施例並不限於使用閘模型量子電腦來實現。作為替代實例,本發明之實施例可整體或部分地使用利用量子退火架構實現的量子電腦來實現,該量子退火架構為閘模型量子計算架構之替代。更具體地,量子退火(QA)為用於藉由使用量子波動之過程來在一組給定候選解(候選狀態)中找到給定目標函數的總體最小值的元啟發法。Not all quantum computers are gate model quantum computers. Embodiments of the present invention are not limited to implementation using a gate-model quantum computer. As an alternative, embodiments of the present invention may be implemented in whole or in part using a quantum computer implemented using a quantum annealing architecture that is an alternative to a gate-model quantum computing architecture. More specifically, quantum annealing (QA) is a metaheuristic for finding the overall minimum of a given objective function in a given set of candidate solutions (candidate states) by using the process of quantum fluctuations.

圖2B示出圖示說明通常由實現量子退火之電腦系統250執行之操作的圖。系統250包括量子電腦252及古典電腦254兩者。在垂直虛線256左側示出之操作通常由量子電腦252執行,而在垂直虛線256右側示出之操作通常由古典電腦254執行。FIG. 2B shows a diagram illustrating operations typically performed by a computer system 250 implementing quantum annealing. System 250 includes both quantum computer 252 and classical computer 254 . Operations shown to the left of vertical dashed line 256 are typically performed by quantum computer 252 , while operations shown to the right of vertical dashed line 256 are typically performed by classical computer 254 .

量子退火從古典電腦254基於待解決之計算問題258產生初始哈密爾頓260及最終哈密爾頓262並且將初始哈密爾頓260、最終哈密爾頓262及退火排程270作為輸入提供至量子電腦252開始。量子電腦252基於初始哈密爾頓260準備熟知的初始狀態266 (圖2B,操作264),諸如,具有相同權重之所有可能狀態(候選狀態)之量子機械疊加。古典電腦254將初始哈密爾頓260、最終哈密爾頓262以及退火排程270提供至量子電腦252。量子電腦252在初始狀態266中開始,並且遵循時間相依性薛丁格方程式根據退火排程270來演化其狀態(實體系統之自然量子機械演化) (圖2B,操作268)。更具體地,量子電腦252之狀態在時間相依性哈密爾頓下經受時間演化,該演化自初始哈密爾頓260開始並且在最終哈密爾頓262處終止。若系統哈密爾頓的改變率足夠慢,則系統保持接近瞬時哈密爾頓之基態。若系統哈密爾頓的改變率加速,則系統可暫時離開基態,但產生在最終問題哈密爾頓之基態中結束(亦即,非絕熱量子計算)的更高可能性。在時間演化結束時,量子退火器上的該組量子位元處於最終狀態272,預期該狀態接近古典易辛模型之基態,其對應於原始最佳化問題258的解。在初始理論提案之後不久就報告了針對隨機磁鐵成功進行量子退火的實驗示範。Quantum annealing begins with classical computer 254 generating initial Hamilton 260 and final Hamilton 262 based on computational problem 258 to be solved and providing initial Hamilton 260 , final Hamilton 262 and annealing schedule 270 as input to quantum computer 252 . The quantum computer 252 prepares a well-known initial state 266 based on the initial Hamiltonian 260 (FIG. 2B, operation 264), such as a quantum mechanical superposition of all possible states (candidate states) with equal weights. The classical computer 254 provides the initial Hamilton 260 , the final Hamilton 262 and the annealing schedule 270 to the quantum computer 252 . The quantum computer 252 starts in an initial state 266 and evolves its state according to an annealing schedule 270 following the time-dependent Schrödinger equation (natural quantum-mechanical evolution of a physical system) (FIG. 2B, operation 268). More specifically, the state of the quantum computer 252 undergoes a time evolution under a time-dependent Hamiltonian starting from an initial Hamilton 260 and terminating at a final Hamilton 262 . If the rate of change of the Hamiltonian of the system is slow enough, the system remains close to the instantaneous Hamiltonian ground state. If the rate of change of the Hamiltonian of the system is accelerated, the system may temporarily leave the ground state, but yields a higher probability of ending up in the ground state of the final problem Hamiltonian (ie, non-adiabatic quantum computation). At the end of the time evolution, the set of qubits on the quantum annealer is in a final state 272 , which is expected to be close to the ground state of the classical Ising model, which corresponds to the solution of the original optimization problem 258 . The experimental demonstration of successful quantum annealing for random magnets was reported shortly after the initial theoretical proposal.

量測量子電腦254之最終狀態272,藉此產生結果276 (亦即,量測值) (圖2B,操作274)。量測操作274可例如以本文所揭示之方式中之任一者來執行,諸如以本文結合圖1中的量測單元110所揭示之方式中之任一者來執行。古典電腦254對量測結果276執行後處理以產生表示原始計算問題258的解之輸出280 (圖2B,操作278)。The final state 272 of the subcomputer 254 is measured, thereby producing a result 276 (ie, a measurement) (FIG. 2B, operation 274). Measurement operation 274 may be performed, for example, in any of the ways disclosed herein, such as in any of the ways disclosed herein in connection with measurement unit 110 in FIG. 1 . Classical computer 254 performs post-processing on measurement results 276 to generate output 280 representing a solution to original computational problem 258 (FIG. 2B, operation 278).

作為又一替代實例,本發明之實施例可整體或部分地使用利用單向量子計算架構(亦稱為基於量測之量子計算架構)實現的量子電腦來實現,該單向量子計算架構為閘模型量子計算架構之另一替代。更具體地,單向或基於量測之量子電腦(MBQC)為一種量子計算方法,其首先準備纏結資源狀態(通常為叢集狀態或圖形狀態),隨後對其執行單量子位元量測。此方法係「單向」的,因為資源狀態被量測毀壞。As yet another alternative, embodiments of the present invention may be implemented in whole or in part using a quantum computer implemented using a single-vector quantum computing architecture (also known as a measurement-based quantum computing architecture), which is a gate Another alternative to model quantum computing architectures. More specifically, a unidirectional or measurement-based quantum computer (MBQC) is a quantum computing approach that first prepares an entangled resource state (typically a cluster state or a graph state) and then performs single-qubit measurements on it. This method is "one-way" because the state of the resource is corrupted by the measurement.

每一個別量測之成果為隨機的,但是它們以使計算始終成功的方式相關。通常,後期量測的基礎之選擇需要視早期量測的結果而定,因此量測無法全部同時執行。The results of each individual measurement are random, but they are related in such a way that the computation always succeeds. Usually, the selection of the basis for later measurements depends on the results of earlier measurements, so the measurements cannot all be performed at the same time.

本文所揭示之功能中之任一者可使用用於執行彼等功能的構件來實現。此類構件包括但不限於,本文所揭示之組件中之任一者,諸如下文所描述的電腦相關組件。Any of the functions disclosed herein can be implemented using means for performing those functions. Such components include, but are not limited to, any of the components disclosed herein, such as the computer-related components described below.

參照圖1,示出根據本發明之一個實施例實現之系統100的圖。參照圖2A,示出根據本發明之一個實施例之由圖1的系統100執行之方法200的流程圖。系統100包括量子電腦102。量子電腦102包括複數個量子位元104,該複數個量子位元104可以本文中所揭示之方式中之任一者來實現。量子電腦104中可存在任何數目個量子位元104。例如,量子位元104可包括以下或由以下組成:不超過2個量子位元、不超過4個量子位元、不超過8個量子位元、不超過16個量子位元、不超過32個量子位元、不超過64個量子位元、不超過128個量子位元、不超過256個量子位元、不超過512個量子位元、不超過1024個量子位元、不超過2048個量子位元、不超過4096個量子位元,或不超過8192個量子位元。此等僅為實例,在實踐中,量子電腦102中可存在任何數目個量子位元104。Referring to FIG. 1 , a diagram of a system 100 implemented according to one embodiment of the present invention is shown. Referring to FIG. 2A , there is shown a flowchart of a method 200 performed by the system 100 of FIG. 1 according to an embodiment of the present invention. System 100 includes quantum computer 102 . Quantum computer 102 includes a plurality of qubits 104, which may be implemented in any of the ways disclosed herein. Any number of qubits 104 may exist in quantum computer 104 . For example, qubits 104 may comprise or consist of no more than 2 qubits, no more than 4 qubits, no more than 8 qubits, no more than 16 qubits, no more than 32 qubits Qubits, up to 64 qubits, up to 128 qubits, up to 256 qubits, up to 512 qubits, up to 1024 qubits, up to 2048 qubits elements, not exceeding 4096 qubits, or not exceeding 8192 qubits. These are examples only, and in practice any number of qubits 104 may exist in a quantum computer 102 .

量子電路中可存在任何數目個閘。然而,在一些實施例中,閘的數目可至少與量子電腦102中量子位元104的數目成正比。在一些實施例中,閘深度可不大於量子電腦102中量子位元104的數目,或不大於量子電腦102中量子位元104的數目之某一線性倍數 (例如,2、3、4、5、6或7)。Any number of gates can exist in a quantum circuit. However, in some embodiments, the number of gates may be at least proportional to the number of qubits 104 in the quantum computer 102 . In some embodiments, the gate depth may be no greater than the number of qubits 104 in the quantum computer 102, or no greater than some linear multiple of the number of qubits 104 in the quantum computer 102 (e.g., 2, 3, 4, 5, 6 or 7).

量子位元104可以任何圖形模式互連。例如,它們可以線性鏈、二維網格、多對多(all-to-all)連接、其任何組合,或前述各項中之任一者的任何子圖形加以連接。Qubits 104 may be interconnected in any pattern. For example, they may be connected by linear chains, two-dimensional grids, all-to-all connections, any combination thereof, or any sub-graph of any of the foregoing.

如將自以下描述變得顯而易見,儘管元件102在本文中被稱為「量子電腦」,但是此並不隱示量子電腦102之所有組件都利用量子現象。量子電腦102之一或多個組件可例如為並不利用量子現象之古典組件(亦即,非量子組件)。As will become apparent from the description below, although element 102 is referred to herein as a "quantum computer," this does not imply that all components of quantum computer 102 utilize quantum phenomena. One or more components of quantum computer 102 may, for example, be classical components that do not utilize quantum phenomena (ie, non-quantum components).

量子電腦102包括控制單元106,該控制單元106可包括用於執行本文所揭示之功能的各種電路及/或其他機械中之任一者。控制單元106可例如完全由古典組件組成。控制單元106產生一或多個控制訊號108,並且將其作為輸出提供至量子位元104。控制訊號108可採取各種形式中之任一者,諸如任何種類的電磁訊號,諸如電訊號、磁訊號、光學訊號(例如,鐳射脈衝),或其任何組合。Quantum computer 102 includes a control unit 106, which may include any of various circuits and/or other machinery for performing the functions disclosed herein. The control unit 106 may, for example, consist entirely of classical components. The control unit 106 generates one or more control signals 108 and provides them as outputs to the qubits 104 . The control signal 108 may take any of various forms, such as any kind of electromagnetic signal, such as an electrical signal, a magnetic signal, an optical signal (eg, laser pulses), or any combination thereof.

例如:E.g:

• 在量子位元104中之一些或全部實現為沿著波導行進之光子的實施例(亦稱為「量子光學」實現方式)中,控制單元106可為分束器(例如,加熱器或鏡子),控制訊號108可為控制加熱器或鏡子之旋轉的訊號,量測單元110可為光偵測器,並且量測訊號112可為光子。• In embodiments where some or all of the qubits 104 are implemented as photons traveling along a waveguide (also known as a "quantum optics" implementation), the control unit 106 may be a beam splitter (e.g., a heater or mirror ), the control signal 108 can be a signal to control the rotation of a heater or a mirror, the measurement unit 110 can be a photodetector, and the measurement signal 112 can be a photon.

• 在量子位元104中之一些或全部實現為電荷型量子位元(例如,transmon、X-mon、G-mon)或通量型量子位元(例如,通量量子位元、電容分流式通量量子位元)的實施例(亦稱為「電路量子電動力學」(電路QED)實現方式)中,控制單元106可為由驅動器啟動之匯流排諧振器,控制訊號108可為諧振腔模態,量測單元110可為第二諧振器(例如,低Q諧振器),並且量測訊號112可為使用色散讀出技術自第二諧振器量測的電壓。• Some or all of the qubits 104 are implemented as charge qubits (e.g. transmon, X-mon, G-mon) or flux qubits (e.g. flux qubits, capacitive shunt Flux qubit) embodiment (also referred to as a "circuit quantum electrodynamics" (circuit QED) implementation), the control unit 106 may be a busbar resonator activated by a driver, and the control signal 108 may be a resonant cavity mode In this state, the measurement unit 110 may be a second resonator (eg, a low-Q resonator), and the measurement signal 112 may be a voltage measured from the second resonator using a dispersive readout technique.

• 在量子位元104中之一些或全部實現為超導電路的實施例中,控制單元106可為電路QED輔助式控制單元或直接電容耦合控制單元或電感式電容耦合控制單元,控制訊號108可為諧振腔模態,量測單元110可為第二諧振器(例如,低Q諧振器),並且量測訊號112可為使用色散讀出技術自第二諧振器量測的電壓。• In embodiments where some or all of the qubits 104 are implemented as superconducting circuits, the control unit 106 may be a circuit QED assisted control unit or a direct capacitive coupling control unit or an inductive capacitive coupling control unit, and the control signal 108 may be For cavity modes, the measurement unit 110 may be a second resonator (eg, a low-Q resonator), and the measurement signal 112 may be a voltage measured from the second resonator using a dispersive readout technique.

• 在量子位元104中之一些或全部實現為捕獲離子(例如,(例如)鎂離子之電子狀態)的實施例中,控制單元106可為鐳射器,控制訊號108可為鐳射脈衝,量測單元110可為鐳射器及CCD或光偵測器(例如,光電倍增管),並且量測訊號112可為光子。• In embodiments where some or all of qubits 104 are implemented as trapping ions (such as the electronic state of (for example) magnesium ions), control unit 106 may be a laser, control signal 108 may be a laser pulse, measure Unit 110 can be a laser and a CCD or a photodetector (eg, a photomultiplier tube), and measurement signal 112 can be a photon.

• 在量子位元104中之一些或全部使用核磁共振(NMR)來實現(在此情況下量子位元可為分子,例如,呈液體或固體形式)的實施例中,控制單元106可為射頻(RF)天線,控制訊號108可為由RF天線發射之RF場,量測單元110可為另一RF天線,並且量測訊號112可為由第二RF天線量測之RF場。• In embodiments where some or all of the qubits 104 are implemented using nuclear magnetic resonance (NMR) (in which case the qubits may be molecules, eg, in liquid or solid form), the control unit 106 may be a radio frequency (RF) antenna, the control signal 108 can be the RF field emitted by the RF antenna, the measurement unit 110 can be another RF antenna, and the measurement signal 112 can be the RF field measured by the second RF antenna.

• 在量子位元104中之一些或全部實現為氮空位中心(NV中心)的實施例中,控制單元106可例如為鐳射器、微波天線或線圈,控制訊號108可為可見光、微波訊號或恆定電磁場,量測單元110可為光偵測器,並且量測訊號112可為光子。• In embodiments where some or all of the qubits 104 are implemented as nitrogen vacancy centers (NV centers), the control unit 106 can be, for example, a laser, microwave antenna or coil, and the control signal 108 can be visible light, a microwave signal, or a constant For the electromagnetic field, the measurement unit 110 can be a photodetector, and the measurement signal 112 can be a photon.

• 在量子位元104中之一些或全部實現為稱為「任意子」之二維準粒子的實施例(亦稱為「拓撲量子電腦」實現方式)中,控制單元106可為奈米線,控制訊號108可為局部電場或微波脈衝,量測單元110可為超導電路,並且量測訊號112可為電壓。• In embodiments where some or all of the qubits 104 are implemented as two-dimensional quasiparticles called "anyons" (also known as "topological quantum computer" implementations), the control unit 106 may be a nanowire, The control signal 108 can be a local electric field or a microwave pulse, the measurement unit 110 can be a superconducting circuit, and the measurement signal 112 can be a voltage.

• 在量子位元104中之一些或全部實現為半導材料(例如,奈米線)的實施例中,控制單元106可為微加工閘,控制訊號108可為RF或微波訊號,量測單元110可為微加工閘,並且量測訊號112可為RF或微波訊號。• In embodiments where some or all of the qubits 104 are implemented as semiconducting materials (eg, nanowires), the control unit 106 can be a micromachined gate, the control signal 108 can be an RF or microwave signal, the measurement unit 110 may be a micromachined gate, and measurement signal 112 may be an RF or microwave signal.

儘管圖1中並未明確示出並且並未要求,但是量測單元110可基於量測訊號112將一或多個反饋訊號114提供至控制單元106。例如,稱為「單向量子電腦」或「基於量測之量子電腦」的量子電腦利用自量測單元110至控制單元106之此種反饋114。此種反饋114對於容錯量子計算及誤差校正之操作亦為必要的。Although not explicitly shown in FIG. 1 and not required, the measurement unit 110 may provide one or more feedback signals 114 to the control unit 106 based on the measurement signal 112 . For example, quantum computers known as "one-way quantum computers" or "measurement-based quantum computers" utilize such feedback 114 from the measurement unit 110 to the control unit 106 . Such feedback 114 is also necessary for the operation of error-tolerant quantum computing and error correction.

控制訊號108可例如包括一或多個狀態準備訊號,該一或多個狀態準備訊號在由量子位元104接收時致使量子位元104中之一些或全部改變其狀態。此類狀態準備訊號構成亦稱為「擬設電路」的量子電路。量子位元104之所得狀態在本文中被稱為「初始狀態」或「擬設狀態」。輸出(多個)狀態準備訊號以致使量子位元104處於其初始狀態的過程在本文中被稱為「狀態準備」(圖2A,區段206)。狀態準備之特殊情況為「初始化」(亦稱為「重設操作」),其中初始狀態為其中量子位元104中之一些或全部處於「零」狀態(亦即,預設單量子位元狀態)的狀態。更一般地,狀態準備可涉及使用狀態準備訊號來致使量子位元104中之一些或全部處於所要狀態之任何分佈。在一些實施例中,控制單元106可藉由首先輸出第一組狀態準備訊號以初始化量子位元104,並且藉由隨後輸出第二組狀態準備訊號以將量子位元104部分或完全置於非零狀態,來首先對量子位元104執行初始化並且隨後對量子位元104執行準備。Control signals 108 may, for example, include one or more state-ready signals that, when received by qubits 104 , cause some or all of qubits 104 to change their state. Such state-ready signals constitute a quantum circuit, also known as a "supposed circuit". The resulting state of qubit 104 is referred to herein as an "initial state" or a "hypothetical state." The process of outputting the state-ready signal(s) to cause the qubit 104 to be in its initial state is referred to herein as "state-ready" (FIG. 2A, block 206). A special case of state preparation is "initialization" (also known as a "reset operation"), where the initial state is one in which some or all of the qubits 104 are in the "zero" state (i.e., the default single-qubit state )status. More generally, state preparation may involve using a state preparation signal to cause some or all of qubits 104 to be in any distribution of desired states. In some embodiments, control unit 106 may initialize qubit 104 by first outputting a first set of state-ready signals, and place qubit 104 partially or completely in non-state by subsequently outputting a second set of state-ready signals. Zero state, to first perform initialization on qubit 104 and then perform preparation on qubit 104 .

可由控制單元106輸出並且由量子位元104接收的控制訊號108之另一實例為閘控制訊號。控制單元106可輸出此類閘控制訊號,藉此將一或多個閘應用於量子位元104。將閘應用於一或多個量子位元致使該組量子位元經受實體狀態改變,該實體狀態改變體現由所接收之閘控制訊號指定之對應的邏輯閘運算(例如,單量子位元旋轉、雙量子位元纏結閘或多量子位元運算)。如此隱示,回應於接收到閘控制訊號,量子位元104經受實體變換,該等實體變換致使量子位元104改變狀態,其方式為使得量子位元104之狀態在被量測時(參見下文)表示執行由閘控制訊號指定之邏輯閘運算的結果。如本文中所使用,術語「量子閘」係指將閘控制訊號應用於一或多個量子位元以致使彼等量子位元經受上文所描述的實體變換並且藉此實現邏輯閘運算。Another example of a control signal 108 that may be output by the control unit 106 and received by the qubit 104 is a gate control signal. Control unit 106 may output such gate control signals, thereby applying one or more gates to qubits 104 . Applying a gate to one or more qubits causes the group of qubits to undergo a physical state change embodying a corresponding logical gate operation (e.g., single-qubit rotation, two-qubit entanglement gate or multi-qubit operations). Thus implied, in response to receiving the gate control signal, qubit 104 undergoes physical transformations that cause qubit 104 to change state in such a way that the state of qubit 104 when measured (see below ) indicates the result of executing the logic gate operation specified by the gate control signal. As used herein, the term "quantum gate" refers to the application of gate control signals to one or more qubits to cause those qubits to undergo the physical transformations described above and thereby implement logic gate operations.

應理解,可任意地選擇在狀態準備(以及對應的狀態準備訊號)與閘(以及對應的閘控制訊號)的應用之間的分割線。例如,在圖1及圖2A至圖2B中圖示說明為「狀態準備」之元件的組件及操作中之一些或全部可改為特徵化為閘應用之元件。相反地,例如,在圖1及圖2A至圖2B中圖示說明為「閘應用」之元件的組件及操作中之一些或全部可改為特徵化為狀態準備之元件。作為一個特定實例,圖1及圖2A至圖2B之系統及方法可特徵化為僅僅執行狀態準備,然後進行量測,而無任何閘應用,其中本文中描述為閘應用之部分的元件改為被視為狀態準備之部分。相反地,例如,圖1及圖2A至圖2B之系統及方法可特徵化為僅僅執行閘應用,然後進行量測,而無任何狀態準備,並且其中本文中描述為狀態準備之部分的元件改為被視為閘應用之部分。It should be understood that the dividing line between the status ready (and corresponding status ready signal) and application of the gate (and corresponding gate control signal) can be chosen arbitrarily. For example, some or all of the components and operations of elements illustrated as "state ready" in FIGS. 1 and 2A-2B may instead be characterized as elements of a gate application. Conversely, for example, some or all of the components and operations of elements illustrated as "gate applications" in FIGS. 1 and 2A-2B may instead be characterized as state-ready elements. As a specific example, the systems and methods of FIGS. 1 and 2A-2B can be characterized as performing only state preparation followed by measurements without any gate application, wherein elements described herein as part of gate application are replaced by Considered part of state readiness. Conversely, for example, the systems and methods of FIGS. 1 and 2A-2B may be characterized as simply performing a gate application followed by a measurement without any state preparation, and wherein the elements described herein as part of the state preparation are modified. is considered part of the gate application.

量子電腦102亦包括量測單元110,該量測單元110對量子位元104執行一或多個量測操作以自量子位元104讀出量測訊號112 (在本文中亦稱為「量測結果」),其中量測結果112為表示量子位元104中之一些或全部之狀態的訊號。在實踐中,控制單元106與量測單元110可彼此完全不同,或含有彼此共有的一些組件,或使用單個單元來實現(亦即,單個單元可實現控制單元106及量測單元110兩者)。例如,鐳射單元可用於產生控制訊號108並且向量子位元104提供刺激(例如,一或多個鐳射射束) 以致使產生量測訊號112。The quantum computer 102 also includes a measurement unit 110 that performs one or more measurement operations on the qubits 104 to read out measurement signals 112 (also referred to herein as "measurement signals") from the qubits 104. Result"), where measurement result 112 is a signal representing the state of some or all of qubits 104 . In practice, the control unit 106 and the measurement unit 110 may be completely different from each other, or contain some components common to each other, or be implemented using a single unit (i.e., a single unit may implement both the control unit 106 and the measurement unit 110) . For example, a laser unit may be used to generate control signal 108 and provide a stimulus (eg, one or more laser beams) to qubit 104 to cause measurement signal 112 to be generated.

通常,量子電腦102可執行上文所描述之各種操作任何數目次。例如,控制單元106可產生一或多個控制訊號108,藉此致使量子位元104執行一或多個量子閘運算。隨後,量測單元110可對量子位元104執行一或多個量測操作以讀出一組一或多個量測訊號112。量測單元110可在控制單元106產生額外控制訊號108之前對量子位元104重複此類量測操作,藉此致使量測單元110讀取由在讀出先前量測訊號112之前執行之相同閘運算得到的額外量測訊號112。量測單元110可重複此過程任何數目次,以產生對應於相同閘運算的任何數目個量測訊號112。隨後,量子電腦102可以各種方式中之任一者彙總相同閘運算之此類多個量測。In general, quantum computer 102 can perform the various operations described above any number of times. For example, control unit 106 may generate one or more control signals 108 , thereby causing qubit 104 to perform one or more quantum gate operations. Subsequently, the measurement unit 110 may perform one or more measurement operations on the qubits 104 to read out a set of one or more measurement signals 112 . Measurement unit 110 may repeat such a measurement operation on qubit 104 before control unit 106 generates additional control signal 108 , thereby causing measurement unit 110 to read the same gate that was performed before reading out previous measurement signal 112 . The additional measurement signal 112 obtained by calculation. The measurement unit 110 can repeat this process any number of times to generate any number of measurement signals 112 corresponding to the same gate operation. Quantum computer 102 may then aggregate such multiple measurements of the same gate operation in any of a variety of ways.

在量測單元110已對已執行一組閘運算之後的量子位元104執行一或多個量測操作之後,控制單元106可產生可不同於先前控制訊號108的一或多個額外控制訊號108,藉此致使量子位元104執行可不同於一組先前的量子閘運算的一或多個額外量子閘運算。隨後,可重複上文所描述之過程,其中量測單元110對處於其新狀態(由最近執行之閘運算得到)的量子位元104執行一或多個量測操作。After measurement unit 110 has performed one or more measurement operations on qubits 104 after a set of gate operations has been performed, control unit 106 may generate one or more additional control signals 108 that may be different from previous control signals 108 , thereby causing qubit 104 to perform one or more additional quantum gate operations that may be different from a set of previous quantum gate operations. Subsequently, the process described above may be repeated, with measurement unit 110 performing one or more measurement operations on qubit 104 in its new state (resulting from the most recently performed gate operation).

通常,系統100可如下實現複數個量子電路。對於複數個量子電路中之每一量子電路C (圖2A,操作202),系統100對量子位元104執行複數個「觸發」。觸發的意義將自以下描述變得顯而易見。對於複數個觸發中之每一觸發S (圖2A,操作204),系統100準備量子位元104之狀態(圖2A,區段206)。更具體地,對於量子電路C中之每一量子閘G (圖2A,操作210),系統100將量子閘G應用於量子位元104 (圖2A,操作212及214)。In general, system 100 can implement a plurality of quantum circuits as follows. For each quantum circuit C of the plurality of quantum circuits (FIG. 2A, operation 202), the system 100 performs a plurality of "toggles" on the qubits 104. The meaning of a trigger will become apparent from the description below. For each trigger S of the plurality of triggers (FIG. 2A, operation 204), system 100 prepares the state of qubit 104 (FIG. 2A, block 206). More specifically, for each quantum gate G in quantum circuit C (FIG. 2A, operation 210), system 100 applies quantum gate G to qubit 104 (FIG. 2A, operations 212 and 214).

隨後,對於量子位元Q 104中之每一者(圖2A,操作216),系統100量測量子位元Q以產生表示量子位元Q之當前狀態的量測輸出(圖2A,操作218及220)。Then, for each of qubit Q 104 (FIG. 2A, operation 216), system 100 measures subbit Q to produce a measurement output representing the current state of qubit Q (FIG. 2A, operation 218 and 220).

針對每一觸發S (圖2A,操作222)及電路C (圖2A,操作224)重複上文所描述之操作。上文的描述隱示,單個「觸發」涉及準備量子位元104之狀態以及將電路中之所有量子閘應用於量子位元104,並且隨後量測量子位元104之狀態;並且系統100可針對一或多個電路執行多個觸發。The operations described above are repeated for each trigger S (FIG. 2A, operation 222) and circuit C (FIG. 2A, operation 224). The above description implies that a single "trigger" involves preparing the state of the qubit 104 and applying all quantum gates in the circuit to the qubit 104, and then measuring the state of the qubit 104; and the system 100 can be directed to One or more circuits perform multiple triggers.

參照圖3,示出根據本發明之一個實施例實現之混合古典量子電腦(HQC) 300的圖。HQC 300包括量子電腦組件102 (可例如以結合圖1所示出並描述之方式實現)及古典電腦組件306。古典電腦組件可為根據由馮紐曼建立的通用計算模型實現之機器,其中程式係以指令之有序列表的形式編寫並儲存在古典(例如,數位)記憶體310中,並且由古典電腦之古典(例如,數位)處理器308執行。記憶體310在將資料以位元的形式儲存在儲存媒體中的意義上為古典的,該等位元在任何時間點具有單個確定的二進制狀態。儲存在記憶體310中之位元可例如表示電腦程式。古典電腦組件304通常包括匯流排314。處理器308可經由匯流排314自記憶體310讀取位元及將位元寫入至記憶體310。例如,處理器308可自記憶體310中之電腦程式讀取指令,並且可任選地自電腦302外部的來源(諸如自使用者輸入裝置,諸如滑鼠、鍵盤,或任何其他輸入裝置)接收輸入資料316。處理器308可使用已經自記憶體310讀取之指令來對自記憶體310讀取的資料及/或輸入316執行計算,並且自彼等指令產生輸出。處理器308可將輸出儲存回至記憶體310及/或經由輸出裝置(諸如監視器、揚聲器或網路裝置)在外部提供輸出作為輸出資料318。Referring to Figure 3, a diagram of a hybrid classical quantum computer (HQC) 300 implemented in accordance with one embodiment of the present invention is shown. HQC 300 includes quantum computer components 102 (which may be implemented, for example, in the manner shown and described in connection with FIG. 1 ) and classical computer components 306 . A classical computer component may be a machine implemented according to the general computing model developed by von Neumann, where a program is written in the form of an ordered list of instructions and stored in classical (e.g., digital) memory 310, and is programmed by the classical computer's classical The (eg, digital) processor 308 executes. Memory 310 is classical in the sense that data is stored on a storage medium in the form of bits that have a single definite binary state at any point in time. The bits stored in memory 310 may, for example, represent a computer program. Classical computer components 304 typically include bus bars 314 . The processor 308 can read bits from and write bits to the memory 310 via the bus 314 . For example, processor 308 may read instructions from a computer program in memory 310, and may optionally receive instructions from a source external to computer 302, such as from a user input device such as a mouse, keyboard, or any other input device. Enter data 316. Processor 308 may use instructions that have been read from memory 310 to perform computations on data read from memory 310 and/or input 316 and to generate output from those instructions. Processor 308 may store the output back to memory 310 and/or provide output externally as output data 318 via an output device such as a monitor, speaker, or network device.

量子電腦組件102可包括複數個量子位元104,如上文結合圖1所描述。單個量子位元可表示一、零,或彼等兩個量子位元狀態之任何量子疊加。古典電腦組件304可將古典狀態準備訊號Y32提供至量子電腦102,回應於該古典狀態準備訊號Y32,量子電腦102可以本文所揭示之方式中之任一者(諸如以結合圖1及圖2A至圖2B所揭示之方式中之任一者)準備量子位元104的狀態。Quantum computer component 102 may include a plurality of qubits 104 as described above in connection with FIG. 1 . A single qubit can represent one, zero, or any quantum superposition of the states of those two qubits. The classical computer component 304 can provide the classical state ready signal Y32 to the quantum computer 102, and in response to the classical state ready signal Y32, the quantum computer 102 can be in any of the ways disclosed herein (such as in conjunction with FIGS. The state of qubit 104 is prepared in any of the ways disclosed in FIG. 2B .

一旦量子位元104已準備好,古典處理器308就可將古典控制訊號Y34提供至量子電腦102,回應於該古典控制訊號Y34,量子電腦102可將由控制訊號Y32指定之閘運算應用於量子位元104,由此,量子位元104達到最終狀態。(可如上文結合圖1及圖2A至圖2B所描述來實現的)量子電腦102中之量測單元110可量測量子位元104之狀態,並且產生量測輸出Y38,該量測輸出Y38表示量子位元104的狀態崩潰至其本征狀態中之一者。因此,量測輸出Y38包括位元或由位元組成,並且因此表示古典狀態。量子電腦102將量測輸出Y38提供至古典處理器308。古典處理器308可將表示量測輸出Y38之資料及/或自其導出之資料儲存在古典記憶體310中。Once qubit 104 is ready, classical processor 308 may provide classical control signal Y34 to quantum computer 102, and in response to classical control signal Y34, quantum computer 102 may apply the gate operation specified by control signal Y32 to the qubit 104, whereby the qubit 104 reaches a final state. (It can be realized as described above in conjunction with FIGS. 1 and 2A to 2B) The measurement unit 110 in the quantum computer 102 can measure the state of the sub-bit 104, and generate a measurement output Y38, the measurement output Y38 Indicates that the state of the qubit 104 collapses to one of its eigenstates. The measurement output Y38 therefore comprises or consists of bits and thus represents the classical state. The quantum computer 102 provides the measured output Y38 to the classical processor 308 . Classical processor 308 may store data representing and/or derived from measured output Y38 in classical memory 310 .

可重複上文所描述之步驟任何數目次,其中上文描述為量子位元104之最終狀態的狀態用作下一疊代之初始狀態。以此方式,古典電腦304及量子電腦102可作為共處理器共同操作以作為單個電腦系統執行聯合計算。The steps described above may be repeated any number of times, with the state described above as the final state of qubit 104 being used as the initial state for the next iteration. In this manner, classical computer 304 and quantum computer 102 may operate together as co-processors to perform joint computations as a single computer system.

儘管一些功能可在本文中描述為由古典電腦執行,並且其他功能可在本文中描述為由量子電腦執行,但是此等僅為實例,並且並不構成對本發明之限制。在本文中揭示為由量子電腦執行的功能的子集可改為由古典電腦執行。例如,古典電腦可執行用於模仿量子電腦的功能性,並且提供本文中所描述的功能性之子集,儘管模擬的指數定標會限制功能性。在本文中揭示為由古典電腦執行的功能可改為由量子電腦執行。Although some functions may be described herein as being performed by classical computers, and other functions may be described herein as being performed by quantum computers, these are examples only, and should not be considered limitations of the invention. A subset of the functions disclosed herein as being performed by a quantum computer may instead be performed by a classical computer. For example, a classical computer can perform functionality to mimic a quantum computer and provide a subset of the functionality described herein, although the exponential scaling of the simulation would limit the functionality. Functions disclosed herein as being performed by a classical computer can instead be performed by a quantum computer.

上文所描述之技術可例如在硬體中、在有形地儲存在一或多個電腦可讀媒體上之一或多個電腦程式、韌體或其任何組合中實現,諸如單獨在量子電腦上、單獨在古典電腦上或在混合古典量子(HQC)電腦上實現。本文中所揭示之技術可例如僅在古典電腦上實現,其中古典電腦模仿本文中所揭示之量子電腦功能。The techniques described above may be implemented, for example, in hardware, in one or more computer programs, firmware, or any combination thereof tangibly stored on one or more computer-readable media, such as on a quantum computer alone , implemented on classical computers alone or on hybrid classical quantum (HQC) computers. The techniques disclosed herein can be implemented, for example, only on classical computers that mimic the functions of quantum computers disclosed herein.

上文所描述之技術可在一或多個電腦程式中實現,該一或多個電腦程式在可程式化電腦(諸如,古典電腦、量子電腦,或HQC)上執行(或可由可程式化電腦執行),該可程式化電腦包括任何數目個以下各項之任何組合:處理器、處理器可讀取及/或可寫入之儲存媒體(包括,例如,揮發性及非揮發性記憶體及/或儲存元件)、輸入裝置,以及輸出裝置。可將程式碼應用於使用輸入裝置鍵入之輸入,以執行所描述之功能並且使用輸出裝置產生輸出。The techniques described above can be implemented in one or more computer programs that execute on (or can be programmed by) a programmable computer (such as a classical computer, a quantum computer, or HQC). execution), the programmable computer includes any combination of any number of the following: a processor, processor-readable and/or writable storage media (including, for example, volatile and non-volatile memory and and/or storage elements), input devices, and output devices. Code can be applied to input, typed using input devices, to perform the functions described and to generate output using output devices.

本發明之實施例包括僅在藉由使用一或多個電腦、電腦處理器及/或電腦系統之其他元件來實現的情況下可能及/或可行的特徵。智能地及/或手動地實現此類特徵係不可能或不切實際的。例如,不可能自描述算子P及狀態|s>的複雜分佈智能地或手動地產生隨機樣本。Embodiments of the invention include features that are only possible and/or feasible if implemented using one or more computers, computer processors, and/or other elements of a computer system. It may not be possible or practical to implement such features intelligently and/or manually. For example, it is not possible to intelligently or manually generate random samples from complex distributions describing operators P and states |s>.

本文中肯定地要求電腦、處理器、記憶體或類似電腦相關元件的任何請求項意欲要求此類元件,並且不應理解為此類元件不存在於此類請求項中或由此類請求項要求。此類請求項並不意欲並且不應理解為涵蓋不含所陳述之電腦相關元件的方法及/或系統。例如,本文中陳述所主張方法係由電腦、處理器、記憶體及/或類似電腦相關元件執行的任何方法請求項意欲並且應僅理解為涵蓋由所陳述之(多個)電腦相關元件執行的方法。此種方法請求項不應理解為例如涵蓋智能地或手動地(例如,使用鉛筆及紙)執行的方法。類似地,本文中陳述所主張產品包括電腦、處理器、記憶體及/或類似電腦相關元件的任何產品請求項意欲並且應僅理解為涵蓋包括所陳述之(多個)電腦相關元件的產品。此種產品請求項不應理解為例如涵蓋並不包括所陳述之(多個)電腦相關元件的產品。Any claim herein affirmatively requiring a computer, processor, memory, or similar computer-related element is intended to require such element, and should not be construed to mean that such element is not present in or required by such claim . Such claims are not intended, and should not be construed, to cover methods and/or systems that do not include the stated computer-related components. For example, any method claim herein that states that a claimed method is performed by a computer, processor, memory, and/or similar computer-related element(s) is intended and should be understood only to cover implementation by the stated computer-related element(s) method. Such method claims are not to be read, for example, as covering methods performed intelligently or manually (eg, using a pencil and paper). Similarly, any product claim herein that states that the claimed product includes a computer, processor, memory, and/or similar computer-related component is intended and should be read only as covering a product that includes the stated computer-related component(s). Such product claims should not be read, for example, to cover products that do not include the stated computer-related component(s).

在古典計算組件執行提供在以下申請專利範圍之範疇內的功能性之任何子集的電腦程式的實施例中,電腦程式可以任何程式設計語言來實現,諸如組合語言、機器語言、高階程序程式設計語言,或對象導向式程式設計語言。例如,程式設計語言可為編譯或解譯程式設計語言。In embodiments where a classical computing component executes a computer program providing any subset of the functionality within the scope of the following claims, the computer program may be implemented in any programming language, such as assembly language, machine language, high-level programming language, or object-oriented programming language. For example, the programming language may be a compiled or interpreted programming language.

每一此種電腦程式可在有形地體現在機器可讀儲存裝置中以供電腦處理器(可為古典處理器或量子處理器)執行之電腦程式產品中實現。本發明之方法步驟可由執行有形地體現在電腦可讀媒體中之程式的一或多個電腦處理器執行,以藉由對輸入進行操作並且產生輸出來執行功能。例如,適合的處理器包括通用微處理器及專用微處理器兩者。通常,處理器自記憶體(諸如,唯讀記憶體及/或隨機存取記憶體)接收(讀取)指令及資料,並且將指令及資料寫入(儲存)至該記憶體。適合於有形地體現電腦程式指令及資料之儲存裝置包括例如所有形式的非揮發性記憶體,諸如半導體記憶體裝置,包括EPROM、EEPROM及快閃記憶體裝置;磁碟,諸如內部硬碟及可移磁碟;磁光碟;以及CD-ROM。上述各項中之任一者可由特殊設計的ASIC (特殊應用積體電路)或FPGA (場可程式化閘陣列)作為補充或併入其中。古典電腦通常亦可自諸如內部磁碟(未示出)或可移磁碟之非暫時性電腦可讀儲存媒體接收(讀取)程式及資料,並且將程式及資料寫入(儲存)至該非暫時性電腦可讀儲存媒體。此等元件亦將在習知的桌上型電腦或工作站電腦以及適合於執行實現本文中所描述之方法之電腦程式的其他電腦中找到,該等電腦可與任何數位列印引擎或標記引擎、顯示監視器,或能夠在紙、膜、顯示器螢幕或其他輸出媒體上產生彩色或灰階像素之其他光柵輸出裝置共同使用。Each such computer program may be implemented in a computer program product tangibly embodied in a machine-readable storage device for execution by a computer processor (which may be a classical processor or a quantum processor). Method steps of the invention can be performed by one or more computer processors executing a program tangibly embodied in a computer-readable medium to perform functions by operating on inputs and generating output. Suitable processors include, for example, both general and special purpose microprocessors. Generally, a processor receives (reads) instructions and data from and writes (stores) instructions and data to a memory, such as ROM and/or RAM. Storage devices suitable for tangibly embodying computer program instructions and data include, for example, all forms of non-volatile memory, such as semiconductor memory devices, including EPROM, EEPROM, and flash memory devices; magnetic disks, such as internal hard drives and memory removable disks; magneto-optical disks; and CD-ROMs. Any of the above can be supplemented or incorporated by specially designed ASICs (Application Specific Integrated Circuits) or FPGAs (Field Programmable Gate Arrays). Classical computers can also typically receive (read) programs and data from, and write (store) programs and data to, a non-transitory computer-readable storage medium such as an internal disk (not shown) or a removable disk. Transient computer readable storage media. These elements will also be found in conventional desktop or workstation computers and other computers suitable for executing computer programs for carrying out the methods described herein, which computers can be used with any digital printing engine or marking engine, Used in conjunction with display monitors, or other raster output devices capable of producing color or grayscale pixels on paper, film, display screen, or other output media.

本文揭示之任何資料可例如在有形地儲存在非暫時性電腦可讀媒體(諸如,古典電腦可讀媒體、量子電腦可讀媒體,或HQC電腦可讀媒體)上的一或多個資料結構中實現。本發明之實施例可將此種資料儲存在此(類)資料結構中,並且自此(類)資料結構讀取此種資料。Any data disclosed herein may be tangibly stored, for example, in one or more data structures on a non-transitory computer-readable medium, such as classical computer-readable media, quantum computer-readable media, or HQC computer-readable media accomplish. Embodiments of the invention may store such data in the data structure(s) and read such data from the data structure(s).

100:系統 102:量子電腦 104:量子位元 106:控制單元 108:控制訊號 110:量測單元 112:量測訊號 114:反饋訊號 200:方法 202:操作 204:操作 206:操作 208:操作 210:操作 212:操作 214:操作 216:操作 218:操作 220:操作 222:操作 224:操作 250:電腦系統 252:量子電腦 254:古典電腦 256:垂直虛線 258:問題 260:初始哈密爾頓 262:最終哈密爾頓 264:操作 266:初始狀態 268:操作 270:退火排程 272:最終狀態 274:操作 276:結果 278:結果 280:輸出 300:混合古典量子電腦(HQC) 306:古典電腦組件 308:處理器 310:記憶體 314:匯流排 316:輸入資料 318:輸出資料 400:算子 402:量子狀態 404:方塊 406:方塊 408:方塊 410:方塊 430:混合古典量子電腦(HQC) 432:量子電腦 434:古典電腦100: system 102: Quantum computer 104: Qubits 106: Control unit 108: Control signal 110: Measuring unit 112: Measurement signal 114: Feedback signal 200: method 202: Operation 204: Operation 206: Operation 208: Operation 210: Operation 212: Operation 214: Operation 216: Operation 218: Operation 220: Operation 222: Operation 224: Operation 250: Computer system 252: Quantum computer 254: Classical computer 256: vertical dotted line 258: question 260: Initial Hamilton 262: Final Hamilton 264: Operation 266: initial state 268: Operation 270: Annealing schedule 272: Final state 274: Operation 276: result 278: result 280: output 300: Hybrid Classical Quantum Computer (HQC) 306: Classical computer components 308: Processor 310: Memory 314: busbar 316: input data 318: Output data 400: operator 402: Quantum state 404: block 406: block 408: block 410: block 430: Hybrid Classical Quantum Computers (HQC) 432:Quantum computer 434: classical computer

圖1為根據本發明之一個實施例之量子電腦的圖; 圖2A為根據本發明之一個實施例之由圖1的量子電腦執行之方法的流程圖; 圖2B為根據本發明之一個實施例之執行量子退火的混合量子古典電腦的圖; 圖3為根據本發明之一個實施例之混合量子古典電腦的圖; 圖4為根據本發明之一個實施例之用於執行量子振幅估計的混合量子古典電腦(HQC)的圖; 圖5A至圖5C圖示說明本發明之一些實施例之標準取樣及增強取樣量子電路以及其對應的概似函數; 圖6A至圖6B圖示說明示出費雪資訊對各種概似函數之相依性的曲線圖; 圖7圖示說明根據本發明之一個實施例之用於產生對應於工程化概似函數的樣本的運算; 圖8圖示說明由本發明之實施例實現之演算法; 圖9A至圖9B、圖10、圖11A至圖11B以及圖12圖示說明由本發明之實施例執行之各種演算法; 圖13為根據本發明之各種實施例之真實概似函數及擬合概似函數的曲線圖; 圖14A至圖14B、圖15A至圖15B、圖16A至圖16B、圖17A至圖17B以及圖18A至圖18B示出圖示說明本發明之各種實施例之效能的曲線圖; 圖19示出本發明之實施例的

Figure 02_image001
因數; 圖20A至圖20B及圖21A至圖21B示出圖示說明本發明之各種實施例之效能的曲線圖; 圖22A至圖22B示出本發明之各種實施例的
Figure 02_image001
因數; 圖23A至圖23B及圖24A至圖24B示出圖示說明本發明之各種實施例之效能的曲線圖; 圖25A至圖25B示出本發明之各種實施例的
Figure 02_image001
因數; 圖26示出圖示說明本發明之各種實施例之運行時間相對目標準確性的曲線圖; 圖27至圖28示出根據本發明之實施例實現之量子電路; 圖29A至圖29B、圖30A至圖30B、圖31A至圖31B及圖32示出根據本發明之實施例實現之演算法;以及 圖33示出根據本發明之實施例之真實概似函數及擬合概似函數。1 is a diagram of a quantum computer according to an embodiment of the present invention; FIG. 2A is a flowchart of a method performed by the quantum computer of FIG. 1 according to an embodiment of the present invention; FIG. 2B is a flow chart according to an embodiment of the present invention Figure 3 is a diagram of a hybrid quantum classical computer performing quantum annealing; Figure 3 is a diagram of a hybrid quantum classical computer according to an embodiment of the invention; Figure 4 is a diagram of a hybrid quantum classical computer performing quantum amplitude estimation according to an embodiment of the invention A diagram of a classical computer (HQC); Figures 5A to 5C illustrate standard sampling and enhanced sampling quantum circuits of some embodiments of the present invention and their corresponding approximate functions; Figures 6A to 6B illustrate Fisher Information Graphs of dependence on various likelihood functions; FIG. 7 illustrates an operation for generating samples corresponding to engineered likelihood functions according to one embodiment of the present invention; FIG. Implemented Algorithms; Figures 9A to 9B, Figure 10, Figures 11A to 11B and Figure 12 illustrate various algorithms implemented by embodiments of the present invention; Figure 13 is a schematic representation of various embodiments according to the present invention Graphs of functions and fitted approximate functions; Figures 14A-14B, 15A-15B, 16A-16B, 17A-17B, and 18A-18B illustrate various implementations of the present invention The graph of performance of example; Fig. 19 shows the graph of the embodiment of the present invention
Figure 02_image001
Factor; Figures 20A to 20B and Figures 21A to 21B show graphs illustrating the performance of various embodiments of the present invention; Figures 22A to 22B show the performance of various embodiments of the present invention
Figure 02_image001
Factor; Figures 23A to 23B and Figures 24A to 24B show graphs illustrating the performance of various embodiments of the present invention; Figures 25A to 25B show the performance of various embodiments of the present invention
Figure 02_image001
Factor; FIG. 26 shows graphs illustrating run time versus target accuracy for various embodiments of the invention; FIGS. 27 to 28 illustrate quantum circuits implemented according to embodiments of the invention; FIGS. 29A to 29B, Figures 30A-30B, 31A-31B and 32 illustrate algorithms implemented according to embodiments of the present invention; and Figure 33 illustrates true and fitted approximate functions according to embodiments of the present invention.

400:算子400: operator

402:量子狀態402: Quantum state

404:方塊404: block

406:方塊406: block

408:方塊408: block

410:方塊410: block

430:混合古典量子電腦(HQC)430: Hybrid Classical Quantum Computers (HQC)

432:量子電腦432:Quantum computer

434:古典電腦434: classical computer

Claims (16)

一種用於量子振幅估計之方法,其包含:藉由一古典電腦選擇複數個量子電路參數值以最佳化一統計量之一準確性改良率,該統計量估計一可觀測P關於一量子狀態|s〉的一預期值〈sPs〉,其中,該統計量包含由自隨機變數取樣之複數個取樣值計算出的一值,該複數個取樣值係藉由量測一量子電腦的一或多個量子位元獲得,該複數個量子電路參數值係控制一或多個量子閘如何對該一或多個量子位元進行運算的複數個實數;將交替的第一及第二廣義反射算子之一序列應用於該量子電腦之該一或多個量子位元,以將該一或多個量子位元自該量子狀態|s〉變換成一反射量子狀態,該等第一及第二廣義反射算子中之每一者係為該複數個量子電路參數值中之對應一者之函數;關於該可觀測P量測處於該反射量子狀態之該複數個量子位元,以獲得一組量測成果;及在該古典電腦上用該組量測成果更新該統計量。 A method for quantum amplitude estimation, comprising: selecting a plurality of quantum circuit parameter values by a classical computer to optimize an accuracy improvement rate of a statistic estimating an observable P with respect to a quantum state | s 〉An expected value 〈 sPs 〉, where the statistic comprises a value calculated from a plurality of sampled values sampled from a random variable by measuring a quantum computer One or more qubits are obtained, and the complex number of quantum circuit parameter values is a complex number of real numbers that control how one or more quantum gates operate on the one or more qubits; the alternating first and second A sequence of generalized reflection operators is applied to the one or more qubits of the quantum computer to transform the one or more qubits from the quantum state | s > into a reflection quantum state, the first and Each of the second generalized reflection operators is a function of a corresponding one of the plurality of quantum circuit parameter values; the plurality of qubits in the reflection quantum state are measured with respect to the observable P to obtain a set of measurements; and updating the statistic with the set of measurements on the classical computer. 如請求項1所述之量子振幅估計方法,其進一步包含在該更新之後輸出該統計量。 The method for estimating quantum amplitude according to Claim 1, further comprising outputting the statistic after the update. 如請求項1所述之量子振幅估計方法,該統計量包含由自該隨機變數取樣之該複數個取樣值計算出的一平均值。 In the method for estimating quantum amplitude according to claim 1, the statistic includes an average value calculated from the plurality of sampled values sampled from the random variable. 如請求項1所述之量子振幅估計方法,該準確性改良率包含一變異數縮減因數。 According to the quantum amplitude estimation method described in Claim 1, the accuracy improvement rate includes a variation reduction factor. 如請求項1所述之量子振幅估計方法,該準確性改良率包含一資訊改良率。 According to the quantum amplitude estimation method described in Claim 1, the accuracy improvement rate includes an information improvement rate. 如請求項5所述之量子振幅估計方法,該資訊改良率包含一費雪資訊改良率及一熵減小率中之一者。 In the quantum amplitude estimation method described in claim 5, the information improvement rate includes one of a Fisher information improvement rate and an entropy reduction rate. 如請求項1所述之量子振幅估計方法,其中該第一及第二廣義反射算子之序列及該可觀測P定義一工程化概似函數之一偏誤。 The quantum amplitude estimation method as described in claim 1, wherein the sequence of the first and second generalized reflection operators and the observable P define a bias of an engineered likelihood function. 如請求項1所述之量子振幅估計方法,其進一步包含對該選擇、該應用、該量測及該更新進行疊代。 The quantum amplitude estimation method as claimed in claim 1, further comprising iterating the selection, the application, the measurement and the update. 如請求項1所述之量子振幅估計方法,其進一步包含:在該古典電腦上並且用該組量測成果更新該統計量之一準確性估計值;及當該準確性估計值大於一臨限值時,對該選擇、該應用、該量測及該更新進行疊代。 The quantum amplitude estimation method as described in Claim 1, which further comprises: updating an accuracy estimate of the statistic on the classical computer and using the set of measurement results; and when the accuracy estimate is greater than a threshold value, iterate over the selection, the application, the measurement, and the update. 如請求項1所述之量子振幅估計方法,其中該更新該統計量包含:用該複數個量測值更新一事前分佈以獲得一事後分佈;及自該事後分佈計算一更新的統計量。 The method for estimating quantum amplitude according to claim 1, wherein updating the statistic comprises: updating a prior distribution with the plurality of measured values to obtain a post-hoc distribution; and calculating an updated statistic from the post-hoc distribution. 如請求項1所述之量子振幅估計方法,其中該選擇係基於該統計量及該統計量之一準確性估計值。 The quantum amplitude estimation method as claimed in claim 1, wherein the selection is based on the statistic and an accuracy estimate of the statistic. 如請求項11所述之量子振幅估計方法,其中該選擇進一步係基於表示在該應用及該量測期間出現之誤差的一保真度。 The method of claim 11, wherein the selection is further based on a fidelity representative of errors occurring during the application and the measurement. 如請求項1所述之量子振幅估計方法,其中該選擇使用坐標上升及梯度下降中之一者。 The quantum amplitude estimation method as claimed in claim 1, wherein the selection uses one of coordinate ascent and gradient descent. 一種用於量子振幅估計之計算系統,其包含:一處理器;一量子古典介面,該量子古典介面將該計算系統與一量子電腦可通訊地耦合;及一記憶體,該記憶體與該處理器可通訊地耦合,該記憶體儲存機器可讀指令,該等機器可讀指令當由該處理器執行時控制該計算系統來:(i)選擇複數個量子電路參數值以最佳化一統計量之一準確性改良率,該統計量估計一可觀測P關於一量子狀態|s〉的一預期值〈sPs〉,其中,該統計量包含由自隨機變數取樣之複數個取樣值計算出的一值,該複數個取樣值係藉由量測該量子電腦的一或多個量子位元獲得,該複數個量子電路參數值係控制一或多個量子閘如何對該一或多個量子位元進行運算的複數個實數;(ii)經由該量子古典介面控制該量子電腦,以使用交替的第一及第二廣義反射算子之一序列將該量子電腦之該一或多個量子位元自該量子狀態|s〉變換成一反射量子狀態,該等第一及第二廣義反射算子中之每一者係為該複數個量子電路參數值中之對應一 者之函數,(iii)經由該量子古典介面控制該量子電腦,以關於該可觀測P量測處於該反射量子狀態之該複數個量子位元,以獲得一組量測成果,且(iv)用該組量測成果更新該統計量。 A computing system for quantum amplitude estimation comprising: a processor; a quantum classical interface communicatively coupling the computing system to a quantum computer; and a memory coupled to the processing The memory stores machine-readable instructions that, when executed by the processor, control the computing system to: (i) select a plurality of quantum circuit parameter values to optimize a statistical The rate of accuracy improvement of a statistic that estimates an expected value of an observable P with respect to a quantum state | s 〉 〈 s | P | s 〉, where the statistic consists of a complex number of samples sampled from The plurality of sampled values are obtained by measuring one or more qubits of the quantum computer, and the plurality of quantum circuit parameter values control how one or more quantum gates respond to one or more a plurality of real numbers operated on by a plurality of qubits; (ii) controlling the quantum computer via the quantum classical interface to use one or more sequences of alternating first and second generalized reflection operators of the quantum computer qubits are transformed from the quantum state | s > into a reflective quantum state, each of the first and second generalized reflective operators being a function of a corresponding one of the plurality of quantum circuit parameter values, (iii) controlling the quantum computer via the quantum classical interface to measure the plurality of qubits in the reflected quantum state with respect to the observable P to obtain a set of measurements, and (iv) using the set of quantities The statistics are updated according to the test results. 如請求項14所述之量子振幅估計計算系統,該記憶體儲存額外機器可讀指令,該等額外機器可讀指令當由該處理器執行時控制該計算系統來輸出該統計量。 In the quantum amplitude estimation computing system described in claim 14, the memory stores additional machine-readable instructions, and the additional machine-readable instructions control the computing system to output the statistics when executed by the processor. 如請求項14所述之量子振幅估計計算系統,其進一步包含該量子電腦。 The quantum amplitude estimation computing system according to claim 14, further comprising the quantum computer.
TW109139876A 2019-11-18 2020-11-16 Method and calculation system for quantum amplitude estimation TWI783297B (en)

Applications Claiming Priority (4)

Application Number Priority Date Filing Date Title
US201962936730P 2019-11-18 2019-11-18
US62/936,730 2019-11-18
US16/900,947 2020-06-14
US16/900,947 US11615329B2 (en) 2019-06-14 2020-06-14 Hybrid quantum-classical computer for Bayesian inference with engineered likelihood functions for robust amplitude estimation

Publications (2)

Publication Number Publication Date
TW202121267A TW202121267A (en) 2021-06-01
TWI783297B true TWI783297B (en) 2022-11-11

Family

ID=77516765

Family Applications (1)

Application Number Title Priority Date Filing Date
TW109139876A TWI783297B (en) 2019-11-18 2020-11-16 Method and calculation system for quantum amplitude estimation

Country Status (1)

Country Link
TW (1) TWI783297B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11615329B2 (en) 2019-06-14 2023-03-28 Zapata Computing, Inc. Hybrid quantum-classical computer for Bayesian inference with engineered likelihood functions for robust amplitude estimation

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11934920B2 (en) 2021-08-19 2024-03-19 Quantinuum Llc Quantum system controller configured for quantum error correction
TWI824578B (en) * 2022-01-24 2023-12-01 旺宏電子股份有限公司 Semiconductor circuit and operating method for the same
TWI836807B (en) * 2022-12-21 2024-03-21 財團法人工業技術研究院 Electronic device and method for performing monte carlo analysis based on quantum circuit

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2017027185A1 (en) * 2015-08-10 2017-02-16 Microsoft Technology Licensing, Llc Efficient online methods for quantum bayesian inference
US20180129965A1 (en) * 2015-04-01 2018-05-10 Microsoft Technology Licensing, Llc Efficient topological compilation for metaplectic anyon model
TW201945962A (en) * 2018-04-27 2019-12-01 香港商阿里巴巴集團服務有限公司 Method and system for quantum computing

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20180129965A1 (en) * 2015-04-01 2018-05-10 Microsoft Technology Licensing, Llc Efficient topological compilation for metaplectic anyon model
WO2017027185A1 (en) * 2015-08-10 2017-02-16 Microsoft Technology Licensing, Llc Efficient online methods for quantum bayesian inference
TW201945962A (en) * 2018-04-27 2019-12-01 香港商阿里巴巴集團服務有限公司 Method and system for quantum computing

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11615329B2 (en) 2019-06-14 2023-03-28 Zapata Computing, Inc. Hybrid quantum-classical computer for Bayesian inference with engineered likelihood functions for robust amplitude estimation

Also Published As

Publication number Publication date
TW202121267A (en) 2021-06-01

Similar Documents

Publication Publication Date Title
US11615329B2 (en) Hybrid quantum-classical computer for Bayesian inference with engineered likelihood functions for robust amplitude estimation
TWI783297B (en) Method and calculation system for quantum amplitude estimation
US10839306B2 (en) Hardware-efficient variational quantum eigenvalue solver for quantum computing machines
US11593707B2 (en) Compressed unsupervised quantum state preparation with quantum autoencoders
US11288121B2 (en) Simulating errors of a quantum device using variational quantum channels
US11488049B2 (en) Hybrid quantum-classical computer system and method for optimization
US10469087B1 (en) Bayesian tuning for quantum logic gates
US11537928B2 (en) Quantum-classical system and method for matrix computations
US20200327440A1 (en) Discrete Optimization Using Continuous Latent Space
US20200394547A1 (en) Hybrid Quantum-Classical Computer System and Method for Performing Function Inversion
US20210133618A1 (en) Quantum Computer System and Method for Partial Differential Equation-Constrained Optimization
US20210272002A1 (en) Computer Systems and Methods for Computing the Ground State of a Fermi-Hubbard Hamiltonian
US20220292385A1 (en) Flexible initializer for arbitrarily-sized parametrized quantum circuits
US20220358393A1 (en) Quantum computer system and method for performing quantum computation with reduced circuit depth
US20210133617A1 (en) Hybrid Quantum-Classical Computer System for Parameter-Efficient Circuit Training
CA3125749A1 (en) Measurement reduction via orbital frames decompositions on quantum computers
WO2021247656A1 (en) Realizing controlled rotations by a function of input basis state of a quantum computer
US20210365622A1 (en) Noise mitigation through quantum state purification by classical ansatz training