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

Method and calculation system for quantum amplitude estimation Download PDF

Info

Publication number
TW202121267A
TW202121267A TW109139876A TW109139876A TW202121267A TW 202121267 A TW202121267 A TW 202121267A TW 109139876 A TW109139876 A TW 109139876A TW 109139876 A TW109139876 A TW 109139876A TW 202121267 A TW202121267 A TW 202121267A
Authority
TW
Taiwan
Prior art keywords
quantum
computer
qubits
state
amplitude estimation
Prior art date
Application number
TW109139876A
Other languages
Chinese (zh)
Other versions
TWI783297B (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 calculation system for quantum amplitude estimation

本發明是有關於一種用於量子振幅估計之方法與計算系統。The present invention relates to a method and calculation 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. The main application areas include chemistry and materials, biological sciences and bioinformatics, logistics and finance. Recently, the attention to quantum computing has soared, partly due to a wave of advances in the performance of off-the-shelf quantum computers. However, the resources of quantum devices are still extremely limited recently, which hinders the deployment of quantum computers on practical concerns.

新近的一批迎合近期量子裝置之限制的方法已受到密切關注。此等方法包括變分量子本征解算器(VQE)、量子近似最佳化演算法(QAOA)及變體、變分量子線性系統解算器、利用變分原理的其他量子演算法,以及量子機器學習演算法。儘管此類演算法有所創新,但是此等方法中的許多對商業相關問題已表現為不切實際的,此係由於其在量測數目和運行時間上的高成本。然而,對於中等大小的問題例子,在運行時間上提供二次加速之方法(諸如,相位估計)所要求的量子資源遠遠超出近期裝置之能力範圍。A recent batch of methods that cater to the limitations of recent quantum devices has received close attention. These methods include variable quantum intrinsic solver (VQE), quantum approximate optimization algorithm (QAOA) and variants, variable quantum linear system solver, other quantum algorithms using the principle of variation, and Quantum machine learning algorithm. Despite the innovation of such algorithms, many of these methods have become impractical for business-related problems due to their high cost in the number of measurements and running time. However, for medium-sized problem examples, the quantum resources required for methods that provide secondary acceleration in runtime (such as phase estimation) are far 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 VQE is too high due to many practical value issues. The error rate required by quantum algorithms that reduce this cost (for example, quantum amplitude and phase estimation) is too low for recent implementations. Embodiments of the present invention include hybrid quantum classical (HQC) computers and methods executed by HQC computers. These computers and methods utilize available quantum coherence to maximize the ability to sample noisy quantum devices, thereby Compared with VQE, it reduces the number of measurements and shortens the running time. Such embodiments are inspired by quantum methods, phase estimation, and the more recent "α-VQE" proposal, resulting in a general formula that is robust to errors and does not require accessory qubits. The central object of this method is the so-called "Engineered Probability Function" (ELF), which is used to perform Bayesian inference. The embodiment of the present invention uses the ELF formal theory to enhance the quantum advantage in sampling, because the form of the intermediate-scale quantum computer with its own noise in the physical hardware is transformed into the form of a quantum error-corrected computer. This technology accelerates the central components of many quantum algorithms, and its applications include chemistry, materials, finance, and other fields.

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

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

Figure 02_image003
關於量子狀態
Figure 02_image005
之預期值
Figure 02_image007
。The embodiment of the present invention relates to a hybrid classical quantum computer (HQC) that performs quantum amplitude estimation. 4, there is shown a flow chart of an HQC 430 including both a quantum computer 432 and a classical computer 434, which executes the quantum amplitude estimation method according to an embodiment of the invention. In the block 404 executed by the classical computer 434, a plurality of quantum circuit parameter values are selected to optimize the accuracy improvement rate of the statistic, which is estimated to be observable
Figure 02_image003
About quantum states
Figure 02_image005
Expected value
Figure 02_image007
.

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

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

量子電路參數值係控制量子閘如何對量子位元進行運算的實數。在本論述中,可將每一量子電路表示為量子閘之序列,其中該序列之每一量子閘由量子電路參數值中之一者控制。例如,量子電路參數值中之每一者可表示一或多個量子位元之狀態在對應的希伯特空間中旋轉的角度。The quantum circuit parameter value is a real number that controls how the quantum gate operates on the qubit. 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 the angle at which the state of one or more qubits rotates in the corresponding Hibbert space.

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

在一些實施例中,使用坐標上升及梯度下降中的一者來選擇複數個量子電路參數值。此等兩種技術在第4.1.1節中更詳細描述。In some embodiments, one of coordinate rising and gradient descent is used to select a plurality of quantum circuit parameter values. 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 the block 406 executed by the quantum computer 432, the 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 computer 432. status
Figure 02_image009
Transform into a reflective quantum state. Each of the first and second generalized reflection operators is controlled according to the corresponding one of the plurality of quantum circuit parameter values. Operators described in Section 3.1
Figure 02_image011
and
Figure 02_image013
These are examples of the first and second generalized reflection operators, respectively. Operators 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 multiple quantum circuit parameter values. Sequences and observables of the first and second generalized reflection operators
Figure 02_image019
The deviation of the engineered probability 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, which is also executed by quantum computer 432, regarding the observable
Figure 02_image019
Measure a plurality of qubits in the reflective quantum state to obtain a set of measurement results. In block 410 executed by the classical computer 434, the set of measurement results are used to update the statistics to obtain
Figure 02_image007
It has a more accurate estimate.

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

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

在一些實施例中,基於統計量及統計量之準確性估計值來選擇複數個量子電路參數值。可進一步基於表示在該應用及量測期間發生的誤差之保真度來選擇複數個量子電路參數值。In some embodiments, a plurality of quantum circuit parameter values are selected based on the statistics and the accuracy estimates of the statistics. A plurality of quantum circuit parameter values can be further selected based on the fidelity representing the error occurred 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 Bayesian perspective produces Bayesian phase estimation technology, which is more suitable for noisy quantum devices capable of realizing finite depth quantum circuits than earlier proposals. Use the above markings, circuit parameters
Figure 02_image021
And the goal is to estimate the operator
Figure 02_image023
Eigenvalue
Figure 02_image025
Phase in
Figure 02_image027
. The important thing to note is the likelihood function here,
Figure 02_image029
(1)

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

Figure 02_image031
Figure 02_image033
分別為第一及第二種類之切比雪夫多項式。此共通性產生用於與相位估計相關的任務(諸如哈密爾頓特徵化)之貝氏推論機器。在藉由高斯先驗進行貝氏推論相比其他非適應性取樣方法的指數優勢中,係藉由展示預期事後變異數
Figure 02_image035
隨推論步驟之數目呈指數衰減來建立的。此種指數收斂以每一推論步驟所要求之數量為
Figure 02_image037
的量子相干性為代價。此種定標在貝氏相位估計的情境下亦得以確認。It is common in many environments except Bayesian phase estimation, among which
Figure 02_image031
and
Figure 02_image033
They are the first and second types of Chebyshev polynomials. This commonality produces Bayesian inference machines for tasks related to phase estimation, such as Hamiltonian characterization. Among the exponential advantages of Bayesian inference by Gaussian priors compared to other non-adaptive sampling methods, is by showing the expected post-event variance
Figure 02_image035
It is established as the number of inference steps decays exponentially. This kind of exponential convergence is based on the quantity required for each inference step
Figure 02_image037
At the expense of quantum coherence. This calibration 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
值愈低,貝氏相位估計所需要的量子電路愈深。此實現了量子相干性與量測過程之漸近加速之間的折衷。Equipped with Bayesian phase estimation technology and the perspective of overlap estimation as an amplitude estimation problem, it is possible to design a Bayesian inference method for operator measurement that smoothly interpolates between the standard sampling pattern and the phase estimation pattern. This is proposed as "
Figure 02_image039
-VQE", where the asymptotic calibration used to perform the operator measurement is
Figure 02_image041
, Where the extreme value
Figure 02_image043
Corresponds to the standard sampling mode (usually implemented in VQE), and
Figure 02_image045
Corresponds to the quantum enhanced state, where the calibration 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
versus
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 the asymptotic acceleration 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 that can reach the Heisenberg limit of amplitude estimation. In previous research, the author considered estimating the quantum state
Figure 02_image051
Parameters
Figure 02_image053
Task. Propose a parallel strategy in which the use of
Figure 02_image051
Of the parameterized circuit
Figure 02_image055
Replicas, and the initial entanglement state and entanglement-based measurements to create the parameters
Figure 02_image053
Zoom in to
Figure 02_image057
status. Such amplification can also generate a probability function similar to the probability function in Equation 1. Previous studies have shown that by randomized quantum operations and Bayesian inference, even in the presence of noise, it can extract information with fewer iterations than classical sampling. In the quantum amplitude estimation, consider the number of iterations with variation
Figure 02_image055
And the number of measurements
Figure 02_image059
The circuit. A set of specially selected pairs
Figure 02_image061
Generate a likelihood function that can be used to infer the amplitude to be estimated. The Heisenberg limit is shown for a specific probability function structure given by the author. Both studies emphasize the ability to parameterize the likelihood function, which makes it attractive to study its performance under imperfect hardware conditions.

1.2.1.2. 主要結果Main result

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

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 expectations
Figure 02_image063
System and method, where the state
Figure 02_image065
Quantum circuit
Figure 02_image067
Prepare to make
Figure 02_image069
. The embodiments of the present invention can use a series of quantum circuits, so that when the circuit follows
Figure 02_image067
When more repetitions of deepening, it is allowed as
Figure 02_image027
Likelihood function of even higher degree polynomials. As described by specific examples in the next section, the direct consequence of this increase in polynomial order is an increase in inference ability, 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 the quantum circuit and make the resulting likelihood function tunable. The embodiment of the present invention can optimize the parameters during each inference step to obtain the maximum information gain. The following lines of insights stem from our efforts:

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

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

Figure 02_image071
的最佳電路保真度,在此最佳保真度下,增強方案產生最大的量子加速量。Simulations using real error parameters for recent devices have revealed that the enhanced sampling scheme can be superior to VQE in terms of sampling efficiency. The experimental results have also revealed the perception of errors in the implementation of quantum algorithms that tolerate higher fidelity does not necessarily lead to better calculation performance. In certain embodiments of the present invention, there is roughly
Figure 02_image071
The best circuit fidelity of, under this best fidelity, the enhancement scheme produces the largest quantum acceleration.

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

Figure 02_image027
之特定值(「死點」),對於此等值,CLF用於推論之效率與
Figure 02_image027
之其他值相比顯著更低。本發明之實施例可藉由利用角度參數經使得可調諧的廣義反射算子工程化概似函數的形式來移除彼等死點。1. The effect of the tunability of the likelihood function: The parameterized likelihood function can be used in phase estimation or amplitude estimation routines. It is reported that all current methods focus on the Chebyshev form of the likelihood function (Equation 1). For this Chebyshev probability function (CLF), in the presence of noise, there are parameters
Figure 02_image027
Specific value ("dead point"). For these values, CLF is used to infer the efficiency and
Figure 02_image027
The other values are significantly lower than those. The embodiments of the present invention can remove these dead points by using the form of an engineered likelihood function of a generalized reflection operator that makes the angle parameter tunable.

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

Figure 02_image073
至相位估計的
Figure 02_image075
之平滑變換。本發明之實施例藉由研發用於使用具有雜訊度
Figure 02_image077
的裝置來在目標準確性
Figure 02_image079
上估計運行時間
Figure 02_image081
的模型來推進此思路(參見第6節):
Figure 02_image083
(2)
2. Running time model for estimation when the error rate decreases: previous work has shown that the asymptotic cost is calibrated from VQE
Figure 02_image073
To phase estimation
Figure 02_image075
The smooth transformation. The embodiments of the present invention are developed for use with noise
Figure 02_image077
The device comes in target accuracy
Figure 02_image079
Estimated running time
Figure 02_image081
Model to advance this idea (see section 6):
Figure 02_image083
.
(2)

3.   模型作為

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

本揭示案之後續章節組織如下。第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) The subsequent chapters of this disclosure are organized as follows. Section 2 presents a specific example of a solution implemented according to an embodiment of the present invention. Subsequently, the following chapters detail the general formula of this scheme according to various embodiments of the present invention. Section 3 describes in detail the general quantum circuit structure used to implement ELF, and analyzes the ELF structure in both noise and noise-free environments. In addition to the quantum circuit solution, the embodiments of the present invention also involve: 1) tuning circuit parameters to maximize information gain, and 2) for updating related
Figure 02_image027
Bayesian inference of the current credibility of the distribution of true values. Section 4 presents heuristic algorithms for both. Numerical results are presented in Section 5, comparing the 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 significance of the revealed results from a broad perspective of quantum computing. Program Bayesian Corollary Noise considerations Fully tunable LF Request attachment Required 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 proposal with related proposals in the literature. Here, the feature list includes whether the quantum circuit used in the scheme requires auxiliary qubits in addition to the qubits used for overlap estimation, whether the scheme uses Bayesian inference, whether any noise elasticity is considered, and whether it is required The initial state is the intrinsic state, and the likelihood function is completely tunable like the ELF proposed in this article or is it limited to the Chebyshev likelihood function.

2.2. 第一實例First instance

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

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

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

Figure 02_image095
的線性組合及「擬設狀態」
Figure 02_image097
的哈密爾頓,能量預期值估計為包立預期值估計值之線性組合
Figure 02_image099
(3)
The energy estimation sub-routine of VQE relates to Baoli string estimation amplitude. For decomposing into a string
Figure 02_image095
Linear combination and "proposed state"
Figure 02_image097
Hamilton, the energy expected value is estimated as a linear combination of the estimated value of Baoli
Figure 02_image099
(3)

其中

Figure 02_image101
Figure 02_image103
的(振幅)估計值。VQE使用標準取樣方法來關於擬設狀態建置包立預期值估計值,其可概述為如下:among them
Figure 02_image101
for
Figure 02_image103
Estimated value of (amplitude). VQE uses a standard sampling method to establish an estimated value of the expected value of the 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 operator
Figure 02_image019
To receive results
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
Results.

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)
Can be used as time
Figure 02_image119
The mean square error of the estimator of the function to quantify the effectiveness of this estimation strategy, where
Figure 02_image121
The time cost for each measurement. Because the estimator is unbiased, the mean square error is only 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
To ensure the mean square error
Figure 02_image127
The running time of the required algorithm is
Figure 02_image129
.
(5)

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

Figure 02_image027
中的小偏差之不靈敏度:標準取樣量測成果資料中所包含的有關
Figure 02_image027
之預期資訊增益為低。The total running time of energy estimation in VQE is the sum of the running time of the estimated running time of the individual including the expected value. For problems of interest, this runtime may be too costly, even when using specific parallelization techniques. The source of this cost is the standard sampling estimation process
Figure 02_image027
The insensitivity of small deviations in the medium: the relevant information contained in the standard sampling measurement result data
Figure 02_image027
The expected information gain is low.

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

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

其中

Figure 02_image133
為來自標準取樣的
Figure 02_image107
次重複的一組成果。費雪資訊將概似函數
Figure 02_image135
識別為負責資訊增益。(不偏)估計量之均方差的下限可藉由克拉瑪-拉歐(Cramer-Rao)界限獲得
Figure 02_image137
(7)
among them
Figure 02_image133
Is from standard sampling
Figure 02_image107
A set of results repeated times. Probability function
Figure 02_image135
Identified as responsible for information gain. (Unbiased) The lower bound of the mean square error of the 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 Fisher information is additive with the number of samples, we get
Figure 02_image139
,among them
Figure 02_image141
Self-likelihood function
Figure 02_image143
Fisher information of a single sample extracted. Using the Klamah-Raou boundary, you can find the lower bound of the running time of the estimation process
Figure 02_image145
,
(8)

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

增強取樣之一個目的在於藉由增大資訊增益率之工程化概似函數來縮短重疊估計的運行時間。考慮增強取樣之最簡單情況,該情況在圖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 enhanced sampling is to shorten the running time of overlap estimation by increasing the engineered likelihood function of the information gain rate. Consider the simplest case of enhanced sampling, which is illustrated in Figures 5A to 5C. In order to generate data, the embodiment of the present invention can prepare a proposed state
Figure 02_image097
, Applied computing
Figure 02_image019
, Apply the phase reversal of the proposed state, and then measure
Figure 02_image019
. The phase reversal of the proposed state can be achieved by applying the inverse of the proposed circuit
Figure 02_image147
、Apply the phase flip of the initial state
Figure 02_image149
, And then apply the proposed circuit
Figure 02_image067
Come to reach. 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
Second Chebyshev polynomial. The disclosure in this article refers to this type of likelihood function as Chebyshev likelihood function (CLF).

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

Figure 02_image155
的情況。這裡,
Figure 02_image157
,因此費雪資訊與概似函數之斜率之平方成正比
Figure 02_image159
(10)
In order to compare the Chebyshev probability function of enhanced sampling with the Chebyshev probability function of standard sampling, consider
Figure 02_image155
Case. Here,
Figure 02_image157
, So 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 probability function is
Figure 02_image155
The slope is more sloping than the slope of the standard sampling probability function. In each case, a single sample Fisher Information is evaluated as
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 of using enhanced sampling can reduce the number of measurements required to achieve the target error by at least nine times. As will be discussed later, the embodiments of the present invention can be measured by measuring
Figure 02_image019
Previously applied
Figure 02_image165
Floor
Figure 02_image167
To further increase Fisher Information. In fact, Fisher
Figure 02_image169
Follow
Figure 02_image165
Secondary growth.

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

Figure 02_image165
的選擇。在此情況下,給定來自具有變化的
Figure 02_image165
之電路之一組量測成果,
Figure 02_image109
Figure 02_image047
計數的樣本平均值失去其意義。代替使用樣本平均值,為了將量測成果處理成有關
Figure 02_image027
的資訊,本發明之實施例可使用貝氏推論。第2節描述使用貝氏推論進行估計的特定實施例。The estimation scheme for converting the enhanced sampling measurement data into an estimate has not been described. One of the complications introduced by enhanced sampling is that when the embodiment of the present invention collects measurement data, it changes
Figure 02_image165
s Choice. In this case, given the
Figure 02_image165
One of the measurement results of the circuit,
Figure 02_image109
and
Figure 02_image047
The counted sample average loses its meaning. Instead of using the sample average, in order to process the measurement results into relevant
Figure 02_image027
For information, the embodiments of the present invention can use Bayesian inference. Section 2 describes a specific embodiment 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, you can try to point out that the comparison between standard sampling and enhanced sampling is unfair, because in the case of standard sampling only
Figure 02_image067
Is a query, and the enhanced sampling plan is used to
Figure 02_image067
Of three queries. It seems that if one considers the likelihood function generated by the three standard sampling steps, the third degree polynomial form can also be obtained in the likelihood function. In fact, assuming that three independent standard sampling steps are performed, the results are obtained
Figure 02_image171
, And by self-distribution
Figure 02_image173
Sampling to classically produce binary results
Figure 02_image175
. Subsequently, the likelihood function takes the following 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
Changeable distribution
Figure 02_image181
Classically tuned parameters. More specifically,
Figure 02_image183
,among them
Figure 02_image185
Bit string
Figure 02_image187
The Hamming weight. Suppose hope
Figure 02_image189
Equal to Equation 9
Figure 02_image191
. This implies
Figure 02_image193
,
Figure 02_image195
,
Figure 02_image197
and
Figure 02_image199
, Which clearly exceeds the classical tunability of the likelihood function in Equation 12. This series shows evidence that the likelihood function produced by the quantum scheme in Equation 9 is beyond 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
Follow
Figure 02_image165
Increase linearly. The linear increase of the number of circuit layers and the second increase of Fisher Information cause the lower limit of the expected operating time
Figure 02_image201
,
(13)

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

Figure 02_image165
式估計策略之情況下。在實踐中,在量子電腦上實現之運算受誤差影響。幸運的是,本發明之實施例可使用貝氏推論,該推論可將此類誤差併入至估計過程中。只要誤差對概似函數之形式的影響得到準確地建模,此類誤差的主要效應就僅僅是減緩資訊增益率。當電路層之數目
Figure 02_image165
增大時,量子電路中的誤差累積。因此,超出電路層之特定數目,就將關於費雪資訊的增益(或運行時間的縮減)接收到遞減的返回。隨後,估計演算法可試圖平衡此等競爭因素,以便最佳化總體效能。This system assumes a fixed unbiased estimator
Figure 02_image165
In the case of formula estimation strategy. In practice, calculations implemented on quantum computers are affected by 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 only to slow down the rate of information gain. When the number of circuit layers
Figure 02_image165
When increasing, errors in the quantum circuit accumulate. Therefore, if the specific number of circuit layers is exceeded, the gain (or reduction in running time) on Fisher information is received in a decreasing return. Subsequently, the estimation algorithm can try to balance these competing factors in order to optimize the 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 errors causes another problem for estimation. When there is no error, for all
Figure 02_image027
,in
Figure 02_image203
In the case of enhanced sampling, the Fisher information gain per sample is greater than or equal to
Figure 02_image205
. As shown in Figures 6A to 6B, when even a small error is introduced, where the probability 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 points. This observation inspired the concept of engineering the likelihood function (ELF) to enhance its statistical power. By
Figure 02_image019
and
Figure 02_image207
Generalized reflection
Figure 02_image209
and
Figure 02_image211
The embodiment of the present invention can use the rotation angle to increase the information gain near such a dead point. Even for deeper enhanced sampling circuits, engineering the likelihood function still allows embodiments of the present invention to reduce the effect of estimating dead points.

3.3. 工程化概似函數Engineering Probability Function

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

3.1.3.1. 用於工程化概似函數的量子電路Quantum circuits for engineering probabilistic functions

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

Figure 02_image213
(18) The techniques for designing, implementing, and executing a program on a computer (for example, a quantum computer or a hybrid quantum classical computer) for estimating the following 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
分別為此等廣義反射之角度。among them
Figure 02_image215
,among them
Figure 02_image217
Qubit operator,
Figure 02_image219
Eigenvalue
Figure 02_image221
of
Figure 02_image223
Qubit Hemet operator, and introduce
Figure 02_image225
To facilitate Bayesian inference later. When constructing the estimation algorithm disclosed herein, it can be assumed that the embodiment of the present invention can perform the following primitive operations. First, the embodiment of the present invention can be prepared to calculate the basic state
Figure 02_image227
And apply quantum circuits to it
Figure 02_image067
To get
Figure 02_image229
. Secondly, the embodiment of the present invention is suitable for any angle
Figure 02_image231
Realizing the positive operator
Figure 02_image233
. Finally, the embodiment of the present invention executes
Figure 02_image019
Measurement, the
Figure 02_image019
Modeled as having separate achievement markers
Figure 02_image235
Projected value metric
Figure 02_image237
. The embodiment of the present invention can also use a positive operator
Figure 02_image239
,among them
Figure 02_image241
And
Figure 02_image243
. Follow convention,
Figure 02_image011
and
Figure 02_image013
In this article will be referred to as
Figure 02_image019
of
Figure 02_image245
Eigenspace and state
Figure 02_image097
Generalized reflection, where
Figure 02_image247
and
Figure 02_image249
Respectively the angle of this generalized reflection.

本發明之實施例可使用圖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)
The embodiment of the present invention can use the unattached in Figure 7 (we call this scheme "unattached" (AF) because this scheme does not involve any attached qubits. In Appendix A, we consider naming it as A different scheme of the "attachment-based" (AB) scheme, which involves an attached qubit) quantum circuit to generate an engineered likelihood function (ELF), which is based on a given unknown quantity to be estimated
Figure 02_image053
Results in the case of
Figure 02_image251
Probability distribution. The circuit may, for example, include a sequence of generalized reflections. Specifically, in preparation for the proposed state
Figure 02_image229
After that, the embodiments of the present invention can be applied to it
Figure 02_image253
Generalized reflection
Figure 02_image255
,
Figure 02_image257
,
Figure 02_image259
,
Figure 02_image261
,
Figure 02_image263
To change the rotation angle in each operation
Figure 02_image265
. For convenience,
Figure 02_image267
In this article will be referred to as the circuit’s
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
。among them
Figure 02_image275
Is a vector of tunable parameters. Finally, the embodiment of the present invention can perform projection measurement on this state
Figure 02_image237
To receive the results
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, generalized reflection
Figure 02_image277
and
Figure 02_image279
Ensure that the quantum state is for any
Figure 02_image269
Are kept in two-dimensional subspace
Figure 02_image281
Medium (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, depending on the phase), that is,
Figure 02_image293
(20)

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

Figure 02_image097
Figure 02_image295
分別寫為
Figure 02_image297
Figure 02_image299
。To help the analysis, treat this two-dimensional subspace as a qubit, thus taking
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
Respectively, the Baoli operator and the identity operator on this virtual qubit. Then, focus on the subspace
Figure 02_image309
, Can be
Figure 02_image019
Rewritten as
Figure 02_image311
(twenty one)

並且將廣義反射

Figure 02_image277
Figure 02_image279
重寫為
Figure 02_image313
(22)
Generalized reflection
Figure 02_image277
and
Figure 02_image279
Rewritten 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)
among them
Figure 02_image317
It is a tunable parameter. Subsequently, by
Figure 02_image165
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, and
Figure 02_image323
,
Figure 02_image325
and
Figure 02_image327
Visual unknown
Figure 02_image053
Depends. As a result, it is more convenient 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 probability function (that is, the measurement result
Figure 02_image251
The probability distribution) depends on the output state of the circuit
Figure 02_image329
Observable
Figure 02_image331
Depends.

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

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

其中

Figure 02_image335
(26) among them
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 error of the likelihood function (from now on, we will use
Figure 02_image337
and
Figure 02_image339
To express separately
Figure 02_image341
and
Figure 02_image343
on
Figure 02_image053
Derivative). In particular, if
Figure 02_image345
, You get
Figure 02_image347
. That is, this
Figure 02_image017
The error of the likelihood function is
Figure 02_image027
Of (of the first category)
Figure 02_image349
Second Chebyshev polynomial. For this reason, this
Figure 02_image017
The probability function of will be called Chebyshev probability function (CLF) in this article. Section 5 will explore the performance gap between CLF and general 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 model into the likelihood function.

在實踐中,雜訊模型的建立可利用用於針對所使用之特定裝置校準概似函數之程序。關於貝氏推論,此模型之參數被稱為多餘參數;目標參數並不直接視多餘參數而定,而是多餘參數判定資料與目標參數的相關程度,因此,多餘參數可併入推論過程中。本揭示案之剩餘部分將假設雜訊模型已校準至足夠的精度,以便使模型誤差的效應可忽略。In practice, the establishment of the noise model can use a procedure for calibrating the likelihood function for the specific device used. Regarding Bayesian inference, the parameters of this model are called redundant parameters; the target parameters are not directly determined by the redundant parameters, but the degree of correlation between the redundant parameters and the target parameters. Therefore, 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 effect of model error is negligible.

假設每一電路層

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

其中

Figure 02_image355
為此層之保真度。在此類不完善運算的組成下,
Figure 02_image165
層電路之輸出狀態變為
Figure 02_image357
(28)
among them
Figure 02_image355
The fidelity of this layer. Under the composition of such imperfect calculations,
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, and later for
Figure 02_image019
Of imperfect measurement. In the context of randomized benchmarks, this type of error is called State Preparation and Measurement (SPAM) error. The embodiment of the present invention can also model the SPAM error by the depolarization model, so that
Figure 02_image097
Noisy preparation department
Figure 02_image359
And make
Figure 02_image019
Noisy measurement system POVM
Figure 02_image361
. Combine the SPAM error parameters into
Figure 02_image363
, Get the model of the probability function with noise
Figure 02_image365
(29)

其中

Figure 02_image367
為用於產生ELF之整個過程之保真度,並且
Figure 02_image369
為理想概似函數之偏誤,如方程式(26)中所定義的(自此,本揭示案將使用
Figure 02_image371
來表示
Figure 02_image373
的導數)。應注意,雜訊對ELF的總體效應為,雜訊將偏誤再縮放
Figure 02_image375
倍。此隱示,產生過程中的誤差愈少,所得ELF的斜率愈大(此意謂對於貝氏推論愈有用),如所預期。among them
Figure 02_image367
Is the fidelity of the whole process used to generate ELF, and
Figure 02_image369
Is the deviation of the ideal probability function, as defined in equation (26) (from now on, this disclosure will use
Figure 02_image371
To represent
Figure 02_image373
Derivative). It should be noted that the overall effect of noise on ELF is that the noise will be biased and then scaled
Figure 02_image375
Times. This implies that the less error in the generation process, the greater the slope of the resulting ELF (which means the 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 with the discussion of Bayesian inference by ELF, it is worth mentioning the following properties of the engineered probability function, because it will play a role 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)
Multivariate function
Figure 02_image389
Is trigonometric-multilinear, and will
Figure 02_image381
and
Figure 02_image383
Called
Figure 02_image375
on
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
的演算法的構造。Multivariate function
Figure 02_image389
Is trigonometric-quadratic, and will
Figure 02_image381
,
Figure 02_image383
and
Figure 02_image391
Called
Figure 02_image375
on
Figure 02_image265
The cosine-sine-bias-decomposition (CSBD) coefficient function of. The concepts of trigonometric-multilinear and trigonometric-multiquadratic can also be naturally extended to linear operators. That is, if each term of a linear operator (written arbitrarily) is trigonometric-polylinear (or multiquadratic) in a set of variables, then this operator is trigonometric-multilinear in the same variable (Or Triangular-more quadratic). Now, equations (22), (23) and (24) imply
Figure 02_image395
for
Figure 02_image017
The triangle-multilinear operator. Then, from equation (26),
Figure 02_image343
for
Figure 02_image017
The trigonometric-multi-quadratic function. In addition, it reveals the
Figure 02_image397
Time evaluation
Figure 02_image343
About any
Figure 02_image265
The CSBD coefficient function, and this significantly promotes the angle used to tune the circuit in Section 4.1
Figure 02_image399
The structure of the algorithm.

3.23.2 藉由工程化概似函數進行的貝氏推論Bayesian Inference by Engineering Probability Function

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

Figure 02_image017
並且藉由用於振幅估計之所得概似函數執行貝氏推論的本發明之實施例。After the (noisy) engineered probability function model is in place, the parameters used to tune the circuit will be described
Figure 02_image017
And an embodiment of the present invention of Bayesian inference is performed by the obtained likelihood 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 the pair used to estimate
Figure 02_image401
A high-level overview of the implementation of the algorithm begins. For convenience, such embodiments can be
Figure 02_image225
Effective, not right
Figure 02_image027
effective. The embodiment of the present invention can be represented by Gaussian distribution
Figure 02_image053
Knowledge, and as the inference process continues, the distribution gradually converges to
Figure 02_image053
The true value of. The embodiments of the present invention can be obtained from
Figure 02_image027
The initial distribution of (which can be generated by standard sampling or domain knowledge) starts and transforms it into
Figure 02_image053
The initial distribution. Subsequently, the embodiments of the present invention may iteratively perform the following procedures until the convergence criterion is met. In each round, the embodiment of the present invention can be found in a specific sense (based on
Figure 02_image053
Current knowledge) to maximize the results from the measurement
Figure 02_image403
Circuit parameters of 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, the embodiments of the present invention can use Bayes’ rule to
Figure 02_image403
Condition to update
Figure 02_image053
Distribution. Once this loop is over, the embodiment of the present invention can change
Figure 02_image053
The final distribution is transformed into
Figure 02_image027
The final distribution of and set the average of this distribution to
Figure 02_image027
The final estimate. For a conceptual diagram of this algorithm, see Figure 8.

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

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 whole inference process, the embodiment of the present invention uses Gaussian distribution to track
Figure 02_image053
The credibility of the value. That is, in each round, for a certain ex-ante average
Figure 02_image405
And prior variance
Figure 02_image407
,
Figure 02_image053
Pre-distribution
Figure 02_image409
(32)

在接收到量測成果

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

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

Figure 02_image413
(回想起
Figure 02_image415
用於產生ELF之過程之保真度)。儘管真實的事後分佈將不會為高斯分佈,但是本發明之實施例可將其近似為如此。遵循先前的方法,本發明之實施例可用相同平均值及變異數(儘管本發明之實施例可直接按定義來計算事後分佈
Figure 02_image417
的平均值及變異數,但是此方法耗時,因為其涉及數值積分。相反,本發明之實施例可藉由利用工程化概似函數之特定性質來加速此過程。有關更多詳情,請參見第4.2節)的高斯分佈來替換真實事後,並且將其設定為下一回合之
Figure 02_image053
的事前。本發明之實施例可重複此量測及貝氏更新程序,直至
Figure 02_image053
的分佈充分集中在單個值附近為止。Where the normalization factor or model evidence is defined as
Figure 02_image413
(recall
Figure 02_image415
The fidelity of the process used to generate ELF). Although the true posterior distribution will not be a Gaussian distribution, the embodiment of the present invention can approximate it to this. Following the previous method, the embodiment of the present invention can use the same average value and variance (although the embodiment of the present invention can directly calculate the post-mortem distribution by definition
Figure 02_image417
The mean and variance of, but this method is time-consuming because it involves numerical integration. On the contrary, embodiments of the present invention can speed up this process by taking advantage of the specific properties of the engineered probability function. For more details, please refer to the Gaussian distribution in Section 4.2) to replace the real hindsight and set it as the next round
Figure 02_image053
Beforehand. The embodiment of the present invention can repeat this measurement and Bayesian update procedure until
Figure 02_image053
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)
Because the algorithm is mainly for
Figure 02_image053
Effective, and we are ultimately
Figure 02_image027
Interested, the embodiments of the present invention can be found in
Figure 02_image053
versus
Figure 02_image027
Convert between estimated values. This process proceeds as follows. Suppose in round
Figure 02_image419
,
Figure 02_image053
The pre-distribution of is
Figure 02_image421
,and
Figure 02_image027
The pre-distribution of is
Figure 02_image423
(note,
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 of are
Figure 02_image425
and
Figure 02_image429
. given
Figure 02_image053
Distribution
Figure 02_image421
, The embodiment of the present invention can be calculated
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, just like
Figure 02_image437
, Followed by
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 be calculated
Figure 02_image443
average value
Figure 02_image425
And variance
Figure 02_image445
(will
Figure 02_image027
Clamp 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 the embodiment of the present invention can approximate it to this, and it is found that this has negligible influence 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
。Used to tune the angle of the circuit
Figure 02_image017
The method can be implemented by the embodiment of the present invention as follows. Ideally, the angle 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. However, in practice, it is difficult to directly calculate this quantity, and embodiments of the present invention can seek a proxy for its value. The MSE of the estimator is the sum of the variance of the estimator and the square error of the estimator.
Figure 02_image425
The squared error of can be less than its variance, that is,
Figure 02_image453
,among them
Figure 02_image455
for
Figure 02_image053
The true value of.
Figure 02_image053
Of variance
Figure 02_image445
Often close
Figure 02_image425
The variance of, that is,
Figure 02_image457
Has a high probability. Combine these facts and learn
Figure 02_image459
Has a high probability. Therefore, the embodiment of the present invention can be changed to find the minimize
Figure 02_image053
Of variance
Figure 02_image445
Parameters
Figure 02_image017
.

具體地,假設

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

Figure 02_image463
Figure 02_image463

=

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

其中

Figure 02_image467
(37) among them
Figure 02_image467
(37)

其中

Figure 02_image343
為理想概似函數之偏誤,如方程式(26)中所定義,並且
Figure 02_image375
為用於產生概似函數之過程之保真度。現在,引入用於對概似函數工程化的量,並且在本文中將其稱為變異數縮減因數,
Figure 02_image469
(38)
among them
Figure 02_image343
Is the deviation of the ideal probability function, as defined in equation (26), and
Figure 02_image375
It is the fidelity of the process used to generate the likelihood function. Now, introduce the quantity used to engineer the likelihood function, and call it the variance reduction factor in this article,
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. In addition, in order to quantify
Figure 02_image053
The growth rate of the contravariant anomalous number (per time step), the following quantities 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
,其中時間以擬設持續時間為單位。among them
Figure 02_image479
It is the time cost of the inference round. It should be noted that
Figure 02_image481
for
Figure 02_image473
Monotonic function, where
Figure 02_image483
. Therefore, when the number of circuit layers
Figure 02_image165
When fixed, the embodiments of the present invention can be maximized by
Figure 02_image473
To maximize
Figure 02_image481
(on
Figure 02_image017
). In addition, when
Figure 02_image035
Very small,
Figure 02_image481
Approximately
Figure 02_image473
Is directly proportional, that is,
Figure 02_image485
. The remainder of this disclosure will assume that the proposed circuit most significantly constitutes the duration of the overall circuit. Make
Figure 02_image479
It is proportional to the number of calls to be set in the circuit, thus setting
Figure 02_image487
, Where the time is based on the planned 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, it will be revealed 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
Of technology. Usually, this optimization problem becomes difficult to solve. Fortunately, in practice, the embodiments of the present invention can assume
Figure 02_image053
Ex ante variance
Figure 02_image497
Very small (e.g. at most
Figure 02_image499
), and in this case,
Figure 02_image493
Likelihood function
Figure 02_image501
in
Figure 02_image503
To approximate the Fisher information below, that is,
Figure 02_image505
,
Figure 02_image507
(42)

其中

Figure 02_image509
(43)
Figure 02_image511
(44)
among them
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)
Probability function
Figure 02_image501
The Fisher information of is as defined in equation (29). Therefore, instead of directly optimizing the variance reduction factor
Figure 02_image493
, The embodiment of the present invention can optimize Fisher Information
Figure 02_image513
This can be done efficiently by the embodiment of the present invention using the algorithm in section 4.1.1. In addition, when used to generate the fidelity of the ELF process
Figure 02_image375
When it 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 this case, the embodiment of the present invention can be optimized
Figure 02_image519
, Which is the same as the probability function
Figure 02_image501
in
Figure 02_image503
The slope of the lower is proportional, and this task can be efficiently accomplished by the embodiment 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, the embodiments of the present invention can be predicted as
Figure 02_image419
When growing
Figure 02_image027
Estimator of
Figure 02_image429
How fast is MSE. Assuming the number of circuit layers during the inference process
Figure 02_image165
Is fixed. when
Figure 02_image521
When, this gives
Figure 02_image523
.
Figure 02_image429
The growth rate of the inverse MSE can be predicted as follows. when
Figure 02_image521
When, get
Figure 02_image525
,
Figure 02_image527
,
Figure 02_image529
and
Figure 02_image531
Has a 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, from 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)
among them
Figure 02_image539
. due to
Figure 02_image429
The bias of is usually much smaller than its standard deviation, and the latter can be determined by
Figure 02_image541
Approximately, forecast 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 should be roughly
Figure 02_image545
,
(49)

其中

Figure 02_image017
關於
Figure 02_image547
得到最佳化。將在第5節中將此率與
Figure 02_image429
的逆MSE之經驗增長率進行比較。among them
Figure 02_image017
on
Figure 02_image547
Get optimized. This rate will be compared with
Figure 02_image429
Compare the empirical growth rate of the inverse MSE.

4.4. 用於電路參數調諧的高效啟發式演算法及貝氏推論Efficient heuristic algorithm and Bayesian inference for circuit parameter tuning

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

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

4.1.4.1. 變異數縮減因數的代理的高效最大化The efficiency maximization of the agent of the variance reduction factor

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

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)
Circuit angle for tuning implemented according to embodiments of the present invention
Figure 02_image017
The algorithm is based on maximizing the variance reduction factor
Figure 02_image473
Two proxies (likelihood function
Figure 02_image501
Fisher information and slope). All these algorithms are required to assess bias
Figure 02_image343
And its derivative
Figure 02_image339
on
Figure 02_image265
An efficient program for the CSBD coefficient function, where
Figure 02_image549
. Recall that it was shown in Section 3.1 that the bias
Figure 02_image343
Follow
Figure 02_image551
It is 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
To make
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
中的每一者。Follow
Figure 02_image017
It is also triangular-multiquadratic, where
Figure 02_image567
,
Figure 02_image569
,
Figure 02_image571
Respectively
Figure 02_image557
,
Figure 02_image559
,
Figure 02_image561
on
Figure 02_image053
The bias. As a result, 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 them.

引理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 them.

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

4.1.1.4.1.1. 最大化概似函數的費雪資訊Fisher Information for Maximizing Probability Function

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

Figure 02_image501
在給定點
Figure 02_image503
(亦即,
Figure 02_image053
的事前平均值)的費雪資訊之兩種演算法中的一或多種。假設目標在於找到最大化下式的
Figure 02_image581
Figure 02_image583
(52)
The embodiment of the present invention can be used to maximize the likelihood function
Figure 02_image501
At a given point
Figure 02_image503
(that is,
Figure 02_image053
One or more of Fisher Information’s two algorithms. Suppose the goal is to find the maximization
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
Figure 02_image585
The gradient is proportional to the steps until the convergence criterion is met. Specifically, let
Figure 02_image587
Iterative
Figure 02_image419
The parameter vector at. The embodiment of the present invention can be updated 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)
among them
Figure 02_image591
Schedule the steps (in the simplest case,
Figure 02_image593
Is a constant. However, in order to achieve better performance, you may wish to
Figure 02_image595
). This requirement is calculated
Figure 02_image513
About each
Figure 02_image265
Part of the derivative of, this calculation can be performed as follows. The embodiment of the present invention first uses the procedure in Lemma 1 to target each
Figure 02_image269
Calculation
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 equal amounts, the embodiment of the present invention can be calculated as follows
Figure 02_image513
on
Figure 02_image265
Part of the derivative:
Figure 02_image617
(58)

本發明之實施例可針對

Figure 02_image549
重複此程序。隨後,本發明之實施例可獲得
Figure 02_image619
。演算法的每一次疊代耗費
Figure 02_image621
時間。演算法中的疊代次數視初始點、終止準則及步長排程
Figure 02_image623
而定。有關更多詳情,請參見演算法65。The embodiments of the present invention can be aimed at
Figure 02_image549
Repeat this procedure. Subsequently, the embodiment of the present invention can be obtained
Figure 02_image619
. The cost of each iteration of the algorithm
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. For more details, see Algorithm 65.

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

Figure 02_image513
,直至滿足收斂準則為止。在每一回合的第
Figure 02_image269
個步驟之後,解決以下針對坐標
Figure 02_image265
的單變數最佳化問題:
Figure 02_image625
(59)
The second algorithm is based on coordinate ascent. Unlike gradient ascent, this algorithm does not require a step size and allows each variable to be changed drastically in a single step. Therefore, the second algorithm can converge faster than the previous algorithm. Specifically, the embodiment of the present invention implementing this algorithm can start from a random initial point, and successively maximize the objective function along the coordinate direction
Figure 02_image513
, Until the convergence criterion is met. In the first round of each round
Figure 02_image269
After three steps, solve the following for coordinates
Figure 02_image265
The single variable optimization problem:
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
時間。演算法中的回合數視初始點及終止準則而定。among them
Figure 02_image627
,
Figure 02_image629
,
Figure 02_image631
,
Figure 02_image633
,
Figure 02_image635
,
Figure 02_image637
The procedure in Lemma 1 can be used in
Figure 02_image397
Calculated in time. This single-variable optimization problem can be solved by a method based on standard gradients, and the
Figure 02_image265
Set to its solution. against
Figure 02_image549
Repeat this procedure. This algorithm generates a sequence
Figure 02_image639
,
Figure 02_image641
,
Figure 02_image643
,
Figure 02_image259
To make
Figure 02_image645
. That is, with
Figure 02_image419
increase,
Figure 02_image647
The value of increases 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
。The embodiment of the present invention can be used 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 average). Suppose the goal is to find the maximization
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 maximizing Fisher Information, the algorithms for maximizing the slope are also based on gradient ascent and coordinate ascent, respectively. Both call the procedure in Lemma 1 for a given
Figure 02_image651
and
Figure 02_image573
Evaluation
Figure 02_image653
,
Figure 02_image655
and
Figure 02_image657
. However, algorithms based on gradient ascent use the above quantities to calculate
Figure 02_image659
on
Figure 02_image265
Part of the derivative of, and the algorithm based on coordinate ascent uses the above quantity 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 by Engineering Probability Function

在用於調諧電路參數

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

假設

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)
Hypothesis
Figure 02_image053
Pre-distribution
Figure 02_image461
,among them
Figure 02_image661
, And the fidelity of the process used to generate ELF is
Figure 02_image375
. The embodiments of the present invention can be found to maximize
Figure 02_image513
(or
Figure 02_image663
) Parameters
Figure 02_image665
Meet the following properties: when
Figure 02_image053
Close to
Figure 02_image651
时, 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, the embodiments of the present invention can be obtained by
Figure 02_image053
The sine function in this area to approximate
Figure 02_image343
. Figure 13 illustrates one such example.

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

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

其中

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

其中

Figure 02_image683
(76) among them
Figure 02_image683
.
(76)

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

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

Figure 02_image673
Figure 02_image675
,其就可藉由針對下式的平均值及變異數來近似
Figure 02_image053
的事後平均值及變異數
Figure 02_image685
(77)
Once the embodiment of the present invention is optimal
Figure 02_image673
and
Figure 02_image675
, Which can be approximated by the mean and variance of the following formula
Figure 02_image053
Post hoc mean and variance
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, assuming
Figure 02_image053
In the round
Figure 02_image111
Pre-distribution
Figure 02_image687
. Assume
Figure 02_image689
For measuring results, and
Figure 02_image691
The best fit parameters for this round. Subsequently, the embodiment of the present invention can be approximated by
Figure 02_image053
Post hoc mean and variance
Figure 02_image693
(78)
Figure 02_image695
(79)

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

Figure 02_image697
設定為該回合之
Figure 02_image053
的事前分佈。After that, the embodiment of the present invention can continue to the next round, thereby changing
Figure 02_image697
Set as the round
Figure 02_image053
The ex-ante distribution.

應注意,如圖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
时, that is,
Figure 02_image699
At this time, the difference between the true likelihood function and the fitted likelihood function may be very large. However, due to the prior distribution
Figure 02_image701
Follow
Figure 02_image703
Decay exponentially, such
Figure 02_image053
Pair calculation
Figure 02_image053
The contribution of the post hoc mean and variance is small. Therefore, equations (78) and (79) give
Figure 02_image053
The post-event average and variance are highly accurate estimates, and the error has negligible influence on the performance of the entire algorithm.

5.5. 模擬結果Simulation result

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

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, the hypothetical realization
Figure 02_image705
And perform projection measurement
Figure 02_image237
It takes longer than implementation
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
,among them
Figure 02_image709
for
Figure 02_image067
Time cost (note that
Figure 02_image165
Layer circuit use
Figure 02_image067
and
Figure 02_image711
Times. For the sake of simplicity, assume that in the subsequent discussion
Figure 02_image067
It takes a unit of time (that is,
Figure 02_image713
). In addition, it is assumed that there is no error 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)
Hypothesis is to estimate the expected value
Figure 02_image401
. Assume
Figure 02_image429
for
Figure 02_image027
In time
Figure 02_image419
Estimated amount. It should be noted that
Figure 02_image429
Itself is a random variable, because it depends on time
Figure 02_image419
It depends on the history of random measurement results. By
Figure 02_image429
The root mean square error (RMSE) is used to measure the efficiency of the scheme, which is given by the following formula
Figure 02_image717
.
(80)

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

Figure 02_image419
增長
Figure 02_image719
衰減有多快,該等方案包括基於附屬的切比雪夫概似函數(AB CLF)、基於附屬的工程化概似函數(AB ELF)、無附屬的切比雪夫概似函數(AF CLF),以及無附屬的工程化概似函數(AF ELF)。The following will describe various scenarios with
Figure 02_image419
increase
Figure 02_image719
How fast is the decay? These schemes include the attached Chebyshev Probability Function (AB CLF), the attached engineered Probability Function (AB ELF), and the Chebyshev Probability Function (AF CLF) without attachment. And the unaffiliated engineering probabilistic function (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
Analyze the formula. In order to estimate this amount, the embodiment of the present invention can 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
,among them
Figure 02_image729
for
Figure 02_image027
In the first
Figure 02_image731
Round (where
Figure 02_image733
) In time
Figure 02_image419
Estimated value at the place. Subsequently, the embodiment of the present invention can be used
Figure 02_image735
(81)

來近似真實

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

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

Figure 02_image017
。此示出演算法1及2產生相等品質的解,並且演算法5及6亦如此。因此,若改為使用基於梯度上升的演算法1及5來調諧電路角度
Figure 02_image017
,實驗結果將不變。The embodiment of the present invention can use algorithms 2 and 6 based on coordinate ascent to optimize the circuit parameters in the case of no attachment and the case based on attachment, respectively
Figure 02_image017
. This shows that Algorithms 1 and 2 produce solutions of equal quality, and Algorithms 5 and 6 do the same. Therefore, if you change to use gradient-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的高品質正弦擬合。In order to perform Bayesian update by ELF, the embodiment of the present invention can use the methods in Section 4.2 and Appendix A.2 to calculate the non-attachment case and the attachment-based case respectively
Figure 02_image053
The post hoc mean and variance of the results. In particular, during the sine fitting of ELF, the embodiment of the present invention can set the equations (68) and (148)
Figure 02_image739
(that is,
Figure 02_image741
Contained in
Figure 02_image743
Evenly distributed
Figure 02_image745
Points). It has been found that this is sufficient to obtain a high-quality sine fit of the ELF.

6.6. 有雜訊的演算法效能的模型Noisy algorithm performance model

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

Figure 02_image027
的估計值之目標均方根誤差所需要的。此模型可基於兩個主要假設來建置。第一假設為,逆均方差的增長率係由逆變異數率表達式(參見方程式(40))的一半來良好描述。一半係歸因於如下保守估計:變異數及平方偏誤對均方差有同等貢獻(來自先前章節的模擬示出平方偏誤趨於小於變異數)。第二假設為變異數縮減因數之經驗下限,該經驗下限由切比雪夫概似函數之數值研究激發。Embodiments of the present invention can implement a model for runtime that is achieved when scaling to a larger system and running on a device with better gate fidelity
Figure 02_image027
The estimated value of the target root mean square error is required. 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 contravariant rate expression (see equation (40)). Half of the lines are due to conservative estimates: the variance and squared error contribute equally to the mean square error (simulation from the previous section shows that the squared error tends to be smaller than the variance). The second hypothesis is the empirical lower limit of the variance reduction factor, which is inspired by the numerical study of the Chebyshev probability function.

對關於

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

為了幫助分析,進行代換

Figure 02_image749
,並且藉由引入
Figure 02_image077
Figure 02_image039
以使得
Figure 02_image751
來重參數化雜訊的併入方式。To help analysis, make substitutions
Figure 02_image749
And by introducing
Figure 02_image077
and
Figure 02_image039
So that
Figure 02_image751
To re-parameterize the way the noise is incorporated.

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

Figure 02_image753
。由於切比雪夫概似函數係工程化概似函數之子集,切比雪夫效能的下限給出ELF效能的下限。吾等猜測,在ELF之情況下此率的上限為針對切比雪夫率建立的上限之小的倍數(例如,1.5倍)。The upper and lower limits of this rate expression are based on the discovery of the Chebyshev probability function, where
Figure 02_image753
. Since the Chebyshev probability function is a subset of the engineered probability function, the lower limit of Chebyshev efficiency gives the lower limit of ELF efficiency. We guess that in the case of ELF, the upper limit of this rate is a small multiple (for example, 1.5 times) of the upper limit 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 ceiling is established as follows. For fixed
Figure 02_image035
,
Figure 02_image077
and
Figure 02_image055
, It can be shown (for the Chebyshev probability function, the variance reduction factor can be expressed as
Figure 02_image755
(as long as
Figure 02_image757
). Subsequently,
Figure 02_image759
Implied
Figure 02_image761
) The variance reduction factor reaches the maximum
Figure 02_image763
, Dasein
Figure 02_image765
Appear everywhere. This expression is less than
Figure 02_image767
,Its
Figure 02_image769
Maximum value
Figure 02_image771
. Therefore, the factor
Figure 02_image773
Cannot exceed
Figure 02_image775
. Put all of the above together, 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 is derived from the following facts:
Figure 02_image481
Follow
Figure 02_image473
Is monotonous, and
Figure 02_image473
in
Figure 02_image765
Maximization. In practice, the embodiment of the present invention can use the
Figure 02_image165
Value. Discrete
Figure 02_image165
The rate of achievement cannot exceed that of
Figure 02_image055
The value obtained when the above upper limit is optimized on the continuous value of. This optimal value is for
Figure 02_image779
achieve. By evaluating the optimal value
Figure 02_image781
To define
Figure 02_image783
,
Figure 02_image785
,
(82)

其給出切比雪夫率的上限  

Figure 02_image787
(83) Which gives the upper limit of 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)
The embodiments of the present invention do not have a lower analytical limit for Chebyshev's probable performance. The lower limit of experience can be established based on numerical verification. For any fixed
Figure 02_image165
, The inverter anomalous rate is at
Figure 02_image789
Points
Figure 02_image791
Where is zero. As the rate for all
Figure 02_image165
Are zero at these endpoints,
Figure 02_image793
The overall lower limit is zero. However, there is no concern about the poor performance of the inverter outlier near these endpoints. When the estimator is measured from
Figure 02_image795
Convert to
Figure 02_image797
At this time, the information gain near these end points actually tends to be a large value. In order to establish useful boundaries, the
Figure 02_image651
Limited to scope
Figure 02_image799
Inside. In the numerical test (to
Figure 02_image053
Of 50000 values, from
Figure 02_image801
to
Figure 02_image803
Of
Figure 02_image165
Search for a uniform grid of values, where
Figure 02_image805
Is used to obtain the optimized value of Equation 82, and
Figure 02_image035
and
Figure 02_image077
in
Figure 02_image807
In the range. For each
Figure 02_image809
Yes, find the maximum contravariant anomalous rate (for
Figure 02_image165
) Is the minimum
Figure 02_image053
. For all inspected
Figure 02_image809
Yes, this worst case rate is always
Figure 02_image811
versus
Figure 02_image813
, Where the minimum value is found to be
Figure 02_image815
), found that for all
Figure 02_image817
, There is always a factor that makes the contravariant anomalous rate higher
Figure 02_image819
Times
Figure 02_image165
s Choice. Combine these to 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
Is continuous,
Figure 02_image035
and
Figure 02_image077
The specific value of can cause
Figure 02_image823
Negative best
Figure 02_image055
. Therefore, these results are only
Figure 02_image825
(It ensures
Figure 02_image827
) Is applicable. This model is expected to be in the form of large noise (i.e.,
Figure 02_image829
) Is invalid.

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

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

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

Figure 02_image833
所捕獲的差商表達式所給定的率持續增長。使
Figure 02_image835
表示此逆變異數,可將上文的率方程式重算為
Figure 02_image837
的微分方程式,
Figure 02_image839
(85)
Assuming that the inverting anomalous number is in the time
Figure 02_image833
The rate given by the captured difference quotient expression continues to increase. Make
Figure 02_image835
Represents this contravariant anomaly, and the above rate equation can be recalculated as
Figure 02_image837
The differential equation of
Figure 02_image839
(85)

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

Figure 02_image841
,微分方程式變為  
Figure 02_image843
(86)
With this expression, both Heisenberg limit behavior and 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 increase of the inverse square error
Figure 02_image845
. This is the characteristic of Heisenberg limit type. for
Figure 02_image847
, The rate is close to a constant,
Figure 02_image849
.
(87)

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

Figure 02_image851
,此指示散粒雜訊限值型態。This type produces linear growth of inverse square error
Figure 02_image851
, This indicates the type of shot noise limit.

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

Figure 02_image853
,將此等界限重新表達為,  
Figure 02_image855
(88)
To make the integration easier to handle, the upper and lower limit expressions (used in conjunction with the previous limit) that can be integrated can be used to replace the rate expression. Make
Figure 02_image853
, Re-express these boundaries as,
Figure 02_image855
(88)

藉由將時間視為

Figure 02_image857
的函數並且積分,可自上限建立運行時間之下限,  
Figure 02_image859
(89)
 
Figure 02_image861
(90)
By treating time as
Figure 02_image857
The function of and the integration can establish the lower limit of the running time from the upper limit,
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, the lower limit can be used to establish the upper limit of the running time. The following assumptions are introduced here. In the worst case, the MSE of the phase estimation
Figure 02_image863
It is twice the variance (that is, the variance equals the bias), so the variance must reach half of the MSE:
Figure 02_image865
. In the best case, assume that the bias of the estimated value is zero, and set
Figure 02_image867
. Combine these bounds with the upper and lower bounds of equation (84) to obtain the bounds of the estimated running time as a function of the target MSE,
Figure 02_image869
(91)

其中

Figure 02_image871
。among them
Figure 02_image871
.

此時,可將相位估計

Figure 02_image795
轉換回成振幅估計
Figure 02_image873
。可就相位估計MSE將關於振幅估計之MSE
Figure 02_image875
近似為At this point, the phase can be estimated
Figure 02_image795
Convert back to amplitude estimation
Figure 02_image873
. Can estimate MSE for phase and MSE for amplitude 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)
The distribution of the assumed estimator is for
Figure 02_image053
The peak value is reached sufficiently to ignore higher-order terms. This caused
Figure 02_image885
, Can be substituted into the above limit expression, for
Figure 02_image887
The same is true. By removing the estimator subscripts (because they only contribute constant factors), it is possible to establish runtime calibrations in the low noise and high noise limits,
Figure 02_image889
(94)

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

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

Figure 02_image891
。Use the properties of Chebyshev's probability function to obtain these limits. As shown in the previous section, by engineering the likelihood function, the estimated running time can be shortened in many cases. Motivated by the numerical discovery of the variance reduction factor of the engineered likelihood function (see, for example, Figure 19), we guessed that using the engineered likelihood function to increase the worst-case contravariant anomaly 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)
In order to give this model more meaning, it is subdivided into the number of qubits
Figure 02_image223
And dual qubit gate fidelity
Figure 02_image893
Said. Consider the estimation of Bao Li string
Figure 02_image019
About status
Figure 02_image097
The expected value of the task. Hypothesis
Figure 02_image895
Very close to zero, making
Figure 02_image897
. Assume
Figure 02_image165
The depth of the dual qubit gate for each of the layers is
Figure 02_image899
. Model the total layer fidelity as
Figure 02_image901
, Which has neglected the error caused by the single qubit gate. From this, get
Figure 02_image903
and
Figure 02_image905
. Combine these to 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 running time (in seconds) as a function of the fidelity of the dual-qubit gate. In order to achieve quantum advantage, it is expected that the problem example will require approximately
Figure 02_image909
Logical qubits, and the dual-qubit gate depth is required to be approximately the number of qubits
Figure 02_image911
. In addition, the expected target accuracy
Figure 02_image079
Will need to be approximately
Figure 02_image913
to
Figure 02_image915
. The running time model measures the time based on the duration of the circuit to be set up. In order to convert this time into seconds, it is assumed that each layer of the dual qubit gate will consume time
Figure 02_image917
s, this is an optimistic hypothesis for today's superconducting qubit hardware. Figure 26 shows this estimated run time as a function of the fidelity of the dual qubit gate.

將運行時間縮短至實踐區域所要求的雙量子位元閘保真度將很有可能要求誤差校正。執行量子誤差校正要求額外負擔,從而增大此等運行時間。在設計量子誤差校正協定時,重要的是估計運行時間之增大不超越閘保真度之改良。所提議之模型給出量化此折衷的手段:當併入有用的誤差校正時,閘保真度與(經誤差校正之)閘時間的乘積應減小。在實踐中,爲了作出更嚴密的陳述,存在應考慮到的許多微小之處。此等微小之處包括考慮電路的閘之中的閘保真度變化,以及不同類型之閘之變化的時間成本。然而,此簡單模型所提供的成本分析在設計量子閘、量子晶片、誤差校正方案及雜訊減輕方案方面可為有用工具。Reducing the running time to the dual-qubit gate fidelity required by the practical area will most likely require error correction. Performing quantum error correction requires an additional burden, thereby increasing this running time. When designing a quantum error correction protocol, it is important to estimate that the increase in running time does not exceed the improvement of gate fidelity. The proposed model gives a means to quantify this trade-off: when incorporating useful error correction, the product of gate fidelity and gate time (error-corrected) should be reduced. In practice, in order to make a more rigorous statement, there are many subtleties that should be considered. These minorities include considering the fidelity changes of the gates of the circuit, and the time cost of the changes of different types of gates. 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. 基於附屬的方案Attached-based scheme

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

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

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

Figure 02_image919
(96) Assuming that there is no noise in the circuit in Figure 27, the engineered likelihood function is given by
Figure 02_image919
(96)

其中  

Figure 02_image921
(97) among them
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 error of the likelihood function. As a result, most of the arguments in Section 3.1 are still valid in the case of attachment, but with
Figure 02_image923
Replaced
Figure 02_image343
. Therefore, the same notation as before will be used (e.g.,
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 the error in the circuit in Fig. 27, the probability function with noise is given by
Figure 02_image925
(98)

其中

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

將調諧電路角度

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 perform Bayesian inference with the resulting ELF in a similar way as in Section 3.2. In fact, the argument in Section 3.2 is still valid in the case of attachment, but it needs to be used
Figure 02_image923
replace
Figure 02_image343
. Therefore, the same notation as before will be used unless otherwise stated. Specifically, the variance reduction factor is also defined as in equations (37) and (38)
Figure 02_image493
To use
Figure 02_image923
replace
Figure 02_image343
. Can show,
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
in
Figure 02_image933
Fisher information at time and the slope of the variance reduction factor
Figure 02_image935
Of the two agents. due to
Figure 02_image473
The direct optimization of is usually difficult, and the parameters will be tuned by optimizing these agents instead
Figure 02_image937
.

A.1.A.1. 變異數縮減因數的代理之高效最大化The efficiency maximization of the agent of the variance reduction factor

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

Figure 02_image473
的兩個代理(概似函數
Figure 02_image501
的費雪資訊及斜率)之高效啟發式演算法。所有此等演算法使用以下程序來評估偏誤
Figure 02_image923
及其關於
Figure 02_image265
的導數
Figure 02_image939
,其中
Figure 02_image549
。Now, the reduction factor used to maximize the variance
Figure 02_image473
Two proxies (likelihood function
Figure 02_image501
Fisher-Price information and slope) efficient heuristic algorithm. All these algorithms use the following procedure to assess bias
Figure 02_image923
And its about
Figure 02_image265
Derivative of
Figure 02_image939
,among them
Figure 02_image549
.

A.1.1.A.1.1. 評估偏誤及其導數的Evaluation of 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)
due to
Figure 02_image923
in
Figure 02_image017
Medium is triangular-multilinear (for any
Figure 02_image941
), there is random
Figure 02_image943
Is a trigonometric-multilinear function
Figure 02_image557
and
Figure 02_image559
To make
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
的導數。Follow
Figure 02_image017
Is also triangular-multilinear, where
Figure 02_image567
and
Figure 02_image569
Respectively
Figure 02_image557
and
Figure 02_image559
on
Figure 02_image053
The 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 efficient procedures to target a given
Figure 02_image053
and
Figure 02_image573
Evaluation
Figure 02_image557
,
Figure 02_image559
,
Figure 02_image949
as well as
Figure 02_image951
. As a result, these tasks can be
Figure 02_image397
Completed in 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 them.

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

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 notation is introduced. Assume
Figure 02_image953
,
Figure 02_image955
,among them
Figure 02_image957
. In addition, suppose
Figure 02_image959
,among them
Figure 02_image961
. It should be noted that if
Figure 02_image269
Is an even number, then
Figure 02_image963
. Subsequently, define if
Figure 02_image965
,otherwise
Figure 02_image967
.

藉由此標記,可示出  

Figure 02_image969
(103) With this mark, you can show
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
為奇數的情況。In order to target a given
Figure 02_image053
and
Figure 02_image573
Evaluation
Figure 02_image557
,
Figure 02_image559
,
Figure 02_image949
and
Figure 02_image951
, Consider separately
Figure 02_image269
Is an even number and
Figure 02_image269
Is an odd number.

• 情況1:

Figure 02_image973
為偶數,其中
Figure 02_image975
。在此情況下,
Figure 02_image977
。使用如下事實  
Figure 02_image979
(105)
 
Figure 02_image981
(106)
 
Figure 02_image983
(107)
• Situation 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) • Obtain
Figure 02_image985
(108)

• 其中

Figure 02_image987
(109)
Figure 02_image989
(110)
• among them
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 in
Figure 02_image397
Time calculation
Figure 02_image991
and
Figure 02_image993
. Then, calculate by equations (109) and (110)
Figure 02_image557
and
Figure 02_image559
. This procedure only costs
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
,obtain

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) Subsequently, equation (111) produces
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)
among them
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 of all by standard dynamic programming technology in the total
Figure 02_image397
Calculate the following matrix in time:

Figure 02_image1037
Figure 02_image1039
,其中
Figure 02_image1041
Figure 02_image1037
and
Figure 02_image1039
,among them
Figure 02_image1041

Figure 02_image1043
Figure 02_image1045
,其中
Figure 02_image1047
Figure 02_image1043
and
Figure 02_image1045
,among them
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, calculate by equations (113) and (115)
Figure 02_image1051
and
Figure 02_image1053
. After that, use equations (120) and (121) to calculate
Figure 02_image575
and
Figure 02_image577
. Overall, this procedure costs
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. Situation 2:
Figure 02_image1055
Is odd, 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. Obtain
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 in
Figure 02_image397
Time calculation
Figure 02_image1069
and
Figure 02_image1071
. Then, calculate by equations (126) and (127)
Figure 02_image557
and
Figure 02_image559
. This procedure only costs
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 them
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) Subsequently, equation (128) yields
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)
among them
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 of all by standard dynamic programming technology in the total
Figure 02_image397
Calculate the following matrix in time:

Figure 02_image1037
Figure 02_image1117
,其中
Figure 02_image1041
Figure 02_image1037
and
Figure 02_image1117
,among them
Figure 02_image1041

Figure 02_image1119
Figure 02_image1045
,其中
Figure 02_image1121
Figure 02_image1119
and
Figure 02_image1045
,among them
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, calculate by equations (130) and (132)
Figure 02_image1051
and
Figure 02_image1053
. After that, use equations (137) and (138) to calculate
Figure 02_image575
and
Figure 02_image577
. Overall, this procedure costs
Figure 02_image397
time.

WW

A.1.2.A.1.2. 最大化概似函數的費雪資訊Fisher Information for Maximizing Probability Function

提議用於最大化概似函數

Figure 02_image501
在給定點
Figure 02_image1125
(亦即,
Figure 02_image053
的事前平均值)的費雪資訊之兩種演算法。亦即,目標在於找到最大化下式的
Figure 02_image581
Figure 02_image1127
(139)
Proposal for maximizing the likelihood function
Figure 02_image501
At a given point
Figure 02_image1125
(that is,
Figure 02_image053
The prior average) of Fisher Information’s two algorithms. That is, the goal is to find the maximization
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中正式描述此等演算法。In the sense that these algorithms are also based on gradient ascending and coordinate ascending, respectively, these algorithms are similar to the algorithms 1 and 2 used to maximize Fisher information under the condition of attachment. The main difference is that the procedure in Lemma 2 is now called to target a given
Figure 02_image651
and
Figure 02_image573
Evaluation
Figure 02_image1129
,
Figure 02_image1131
,
Figure 02_image653
and
Figure 02_image655
, And then use them to calculate
Figure 02_image513
on
Figure 02_image265
Partial derivative of (in gradient ascent) or for
Figure 02_image265
Define the single variable optimization problem (in the 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
。It is also proposed to maximize the likelihood function
Figure 02_image501
At a given point
Figure 02_image503
(that is,
Figure 02_image053
The two algorithms for the slope of the prior average). 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中正式描述此等演算法。In the sense that these algorithms are also based on gradient ascent and coordinate ascent respectively, these algorithms are similar to algorithms 3 and 4 for slope maximization in the case of attachment-based. The main difference is that the procedure in Lemma 2 is now called to target a given
Figure 02_image651
and
Figure 02_image573
Evaluation
Figure 02_image653
and
Figure 02_image655
. Then, use this equivalent to calculate
Figure 02_image1135
on
Figure 02_image265
Partial derivative of (in gradient ascent) or update directly
Figure 02_image265
The value of (in the ascending coordinates). These algorithms are formally described in Algorithms 7 and 8.

A.2.A.2. 藉由工程化概似函數進行的近似貝氏推論Approximate Bayesian Inference by Engineering Probability Function

在用於調諧電路參數

Figure 02_image017
的演算法就位後,現在簡要描述如何藉由所得概似函數高效地執行貝氏推論。此想法類似於第4.2節中用於無附屬方案的想法。Used to tune circuit parameters
Figure 02_image017
With the algorithm in place, now briefly describe how to efficiently perform Bayesian inference with the resulting likelihood function. This idea is similar to the idea 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)
Hypothesis
Figure 02_image053
Pre-distribution
Figure 02_image461
,among them
Figure 02_image661
, And the fidelity of the process used to generate ELF is
Figure 02_image375
. Discovery maximization
Figure 02_image513
(or
Figure 02_image1137
) Parameters
Figure 02_image665
Meet the following properties: when
Figure 02_image053
Close to
Figure 02_image651
时, 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)
among them
Figure 02_image679
. This least square root problem has the following analytical solutions:
Figure 02_image681
(149)

其中

Figure 02_image1141
(156) among them
Figure 02_image1141
.
(156)

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

一旦獲得最佳的

Figure 02_image673
Figure 02_image675
,就可藉由下式的平均值及變異數來近似
Figure 02_image053
的事後平均值及變異數
Figure 02_image1143
(157)
Once you get the best
Figure 02_image673
and
Figure 02_image675
, Can be approximated by the mean and variance of the following formula
Figure 02_image053
Post hoc mean and variance
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, assuming
Figure 02_image053
In the round
Figure 02_image111
Pre-distribution
Figure 02_image687
. Assume
Figure 02_image689
Become a measurement result, and set
Figure 02_image691
The best fit parameters for this round. Then, approximate by
Figure 02_image053
Post hoc mean and variance
Figure 02_image1145
,
(158)
Figure 02_image695
(159)

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

Figure 02_image697
設定為該回合之
Figure 02_image053
的事前分佈。由方程式(158)及(159)引起的近似誤差很小,並且出於與無附屬的情況相同的原因,該等近似誤差對整個演算法之效能具有的影響可忽略。After that, continue to the next round and put
Figure 02_image697
Set as the round
Figure 02_image053
The ex-ante distribution. The approximation errors caused by equations (158) and (159) are very small, and for the same reason as the case without attachment, the effect of these approximation errors on the performance of the entire algorithm is negligible.

C.C. 引理的證明Proof of Lemma

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

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 notation is introduced. Assume
Figure 02_image1147
,
Figure 02_image1149
,
Figure 02_image1151
and
Figure 02_image1153
,among them
Figure 02_image957
,and
Figure 02_image1155
. In addition, suppose
Figure 02_image959
,among them
Figure 02_image1157
. It should be noted that if
Figure 02_image269
Is odd, then
Figure 02_image963
. Subsequently, define if
Figure 02_image1159
,otherwise
Figure 02_image967
.

藉由此標記,  

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

此外,關於

Figure 02_image053
求導產生  
Figure 02_image1167
 
In addition, about
Figure 02_image053
Derivative generation
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
  among them
Figure 02_image1177

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

Figure 02_image331
關於
Figure 02_image053
的導數。隨後,for
Figure 02_image331
on
Figure 02_image053
The 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. Hypothesis
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
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. on
Figure 02_image053
Derivative generation

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
為奇數的情況。In order to target a given
Figure 02_image053
and
Figure 02_image573
Evaluation
Figure 02_image557
,
Figure 02_image559
,
Figure 02_image561
,
Figure 02_image575
,
Figure 02_image577
and
Figure 02_image579
, Consider separately
Figure 02_image269
Is an even number and
Figure 02_image269
Is an odd number.

• 情況1:

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

• 其中  

Figure 02_image1241
   
Figure 02_image1243
 
 
Figure 02_image1245
 
• among them
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 in
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 only costs
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 facts
Figure 02_image1251
, Any of them
Figure 02_image1253
,obtain

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
 
among them
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
 
among them
Figure 02_image1291
Figure 02_image1293
Figure 02_image1295
.

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

Figure 02_image1297
  Combine the above facts to get
Figure 02_image1297

其中among them

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 of all by standard dynamic programming technology in the total
Figure 02_image397
Calculate 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
,among them
Figure 02_image1333
. After that, calculate
Figure 02_image575
,
Figure 02_image1335
and
Figure 02_image579
. Overall, this procedure costs
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. Situation 2:
Figure 02_image1337
Is odd, 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 in
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 only costs
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 facts
Figure 02_image1357
,among them
Figure 02_image1359
,obtain

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
 
among them
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
among them
Figure 02_image1413
,
Figure 02_image1415
,
Figure 02_image1417
.

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

Figure 02_image1297
Combine the above facts to get
Figure 02_image1297

其中among them

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 of all by standard dynamic programming technology in the total
Figure 02_image397
Calculate 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
,among them
Figure 02_image1449

Figure 02_image1451
Figure 02_image1453
,其中
Figure 02_image1455
Figure 02_image1451
and
Figure 02_image1453
,among them
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
. ,among them
Figure 02_image1457
After that, calculate
Figure 02_image1459
,
Figure 02_image577
and
Figure 02_image579
. Overall, this procedure costs
Figure 02_image397
time.

應理解,儘管上文已就特定實施例來描述本發明,但是前述實施例僅提供為說明性的,並且並不限制或界定本發明之範疇。各種其他實施例(包括但不限於以下實施例)亦在申請專利範圍之範疇內。例如,本文所描述的元件及組件可進一步分成額外組件或結合在一起以形成更少的組件來執行相同功能。It should be understood that although the present invention has been described above in terms of specific embodiments, the foregoing embodiments are only provided for illustration, and do not limit or define the scope of the present invention. Various other embodiments (including but not limited to the following embodiments) are also within the scope of the patent application. For example, the elements and components described herein can 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 according to the present disclosure. Generally, the basic data storage unit in quantum computing is a quantum bit (qubit). Qubits are the quantum computing analogues of classical digital computer system bits. It is considered that a classical bit occupies one of two possible states corresponding to a binary digit (bit) 0 or 1 at any given point in time. In contrast, qubits are realized in hardware by physical media with quantum mechanical properties. This kind of media that physically manifests qubits can be referred to herein as "the physical realization of qubits", "substantial embodiments of qubits", "media embodying qubits" or similar terms. Or for ease of explanation, it is simply referred to as "qubit". 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 media embodying qubits.

每一量子位元具有無限數目個不同的潛在量子機械狀態。在實體地量測量子位元之狀態時,量測產生自量子位元的狀態解析的兩個不同基礎狀態中之一者。因此,單個量子位元可表示一、零,或彼等兩個量子位元狀態之任何量子疊加;一對量子位元可處於4個正交基礎狀態之任何量子疊加;並且三個量子位元可處於8個正交基礎狀態之任何疊加。定義量子位元之量子機械狀態的函數被稱為其波函數。波函數亦指定給定量測的成果之機率分佈。具有二維量子狀態(亦即,具有兩個正交基礎狀態)之量子位元可推廣至d維「量子位元」,其中d可為任何整數值,諸如2、3、4或更大。在量子位元之一般情況下,量子位元之量測產生自量子位元的狀態解析的d個不同基礎狀態中之一者。本文中對量子位元之任何提及應被理解為更一般地係指d維量子位元(d為任何值)。Each qubit has an unlimited number of different potential quantum mechanical states. When the state of the sub-bit is physically measured, the measurement results from one of the two different basic states of the state analysis of the qubit. Therefore, 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 4 orthogonal basic states; and three qubits Can be in any superposition of 8 orthogonal basic 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 result of a given quantitative measurement. A qubit with a two-dimensional quantum state (that is, with two orthogonal base 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, the measurement of qubits results from one of d different basic states of the qubit's state analysis. Any reference to qubits in this text should be understood as referring more generally to d-dimensional qubits (d is any value).

儘管本文中對量子位元的特定描述可就其數學性質來描述此類量子位元,但是每一此種量子位元可以各種不同方式中的任一者以實體媒體實現。此類實體媒體之實例包括超導材料、捕獲離子、光子、光學諧振腔、捕獲在量子點內的個別電子、固體中之點缺陷(例如,矽中之磷供體或金剛石中之氮空位中心)、分子(例如,丙胺酸、釩錯合物)、或展現量子位元行為(亦即,包含量子狀態及其間的轉變,該等轉變可被可控地誘發或偵測到)的上述各項中之任一者之彙總。Although the specific description of qubits in this article can describe such qubits in terms of their mathematical properties, each such qubit can be implemented in physical media in any of a variety of different ways. Examples of such physical media include superconducting materials, trapped ions, photons, optical resonators, individual electrons trapped in quantum dots, point defects in solids (for example, phosphorous donors in silicon or nitrogen vacancy centers in diamonds) ), molecules (for example, alanine, vanadium complexes), or exhibiting qubit behavior (that is, including quantum states and transitions between them, and these transitions 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 realizes qubits, any one of the various properties of the medium can be selected to realize qubits. For example, if an electron is selected to realize a qubit, the x component of its spin degree of freedom can be selected as the property of the electron to express the state of the qubit. Alternatively, the y-component or z-component of the spin degrees of freedom can be selected as the properties of such electrons to represent the state of such qubits. This is just a specific example of the following general characteristics: For any physical media that can be selected to implement qubits, there may be multiple physical degrees of freedom that can be selected to represent 0 and 1 (for example, x in the electron spin example) , Y and z components). For any specific degree of freedom, the physical media can be controllably placed in a superimposed state, and then the selected degree of freedom can be measured to obtain a reading of the qubit value.

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

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

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

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

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

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

圖2B示出圖示說明通常由實現量子退火之電腦系統250執行之操作的圖。系統250包括量子電腦252及古典電腦254兩者。在垂直虛線256左側示出之操作通常由量子電腦252執行,而在垂直虛線256右側示出之操作通常由古典電腦254執行。FIG. 2B shows a diagram illustrating operations generally performed by a computer system 250 that implements quantum annealing. The system 250 includes both a quantum computer 252 and a classical computer 254. The operations shown to the left of the vertical dotted line 256 are usually performed by the quantum computer 252, and the operations shown to the right of the vertical dotted line 256 are usually performed by the 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 starts from the classical computer 254 generating the initial Hamiltonian 260 and the final Hamiltonian 262 based on the calculation problem 258 to be solved, and the initial Hamiltonian 260, the final Hamiltonian 262 and the annealing schedule 270 are provided to the quantum computer 252 as inputs. The quantum computer 252 prepares a well-known initial state 266 (FIG. 2B, operation 264) based on the initial Hamilton 260, such as a quantum mechanical superposition of all possible states (candidate states) with the same weight. The classical computer 254 provides the initial Hamiltonian 260, the final Hamiltonian 262, and the annealing schedule 270 to the quantum computer 252. The quantum computer 252 starts in the initial state 266, and follows the time-dependent Schrodinger equation to evolve its state according to the annealing schedule 270 (natural quantum mechanical evolution of the physical system) (FIG. 2B, operation 268). More specifically, the state of the quantum computer 252 undergoes time evolution under the time-dependent Hamiltonian, which starts from the initial Hamilton 260 and ends at the final Hamilton 262. If the rate of change of the system Hamilton is slow enough, the system remains close to the instantaneous Hamiltonian ground state. If the rate of change of the system Hamiltonian accelerates, the system can temporarily leave the ground state, but there is a higher possibility of ending in the final problem Hamilton's ground state (that is, non-adiabatic quantum calculation). At the end of the time evolution, the group of qubits on the quantum annealing is in the 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. An experimental demonstration of successful quantum annealing of 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 sub-computer 254 is measured, thereby generating a result 276 (ie, measured value) (FIG. 2B, operation 274). The 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 conjunction with the measurement unit 110 in FIG. 1. The classical computer 254 performs post-processing on the measurement result 276 to generate an output 280 representing the solution of the original calculation problem 258 (FIG. 2B, operation 278).

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

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

本文所揭示之功能中之任一者可使用用於執行彼等功能的構件來實現。此類構件包括但不限於,本文所揭示之組件中之任一者,諸如下文所描述的電腦相關組件。Any of the functions disclosed herein can be implemented using components for performing their 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, there is shown a diagram of a system 100 implemented in accordance with an embodiment of the present invention. 2A, there is shown a flowchart of a method 200 executed by the system 100 of FIG. 1 according to an embodiment of the present invention. The system 100 includes a quantum computer 102. The quantum computer 102 includes a plurality of qubits 104, and the plurality of qubits 104 can be implemented in any of the ways disclosed herein. Any number of qubits 104 can exist in the quantum computer 104. For example, the qubit 104 may include or consist of the following: 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, no more than 64 qubits, no more than 128 qubits, no more than 256 qubits, no more than 512 qubits, no more than 1024 qubits, no more than 2048 qubits Yuan, no more than 4096 qubits, or no more than 8192 qubits. These are just examples. In practice, any number of qubits 104 can exist in the quantum computer 102.

量子電路中可存在任何數目個閘。然而,在一些實施例中,閘的數目可至少與量子電腦102中量子位元104的數目成正比。在一些實施例中,閘深度可不大於量子電腦102中量子位元104的數目,或不大於量子電腦102中量子位元104的數目之某一線性倍數 (例如,2、3、4、5、6或7)。There can be any number of gates in a quantum circuit. However, in some embodiments, the number of gates can 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 a 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)連接、其任何組合,或前述各項中之任一者的任何子圖形加以連接。The qubits 104 can be interconnected in any pattern. For example, they can 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 following description, although the element 102 is referred to herein as a "quantum computer", this does not imply that all components of the quantum computer 102 utilize quantum phenomena. One or more components of the quantum computer 102 may be, for example, classical components (ie, non-quantum components) that do not utilize quantum phenomena.

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

例如:E.g:

• 在量子位元104中之一些或全部實現為沿著波導行進之光子的實施例(亦稱為「量子光學」實現方式)中,控制單元106可為分束器(例如,加熱器或鏡子),控制訊號108可為控制加熱器或鏡子之旋轉的訊號,量測單元110可為光偵測器,並且量測訊號112可為光子。• In an embodiment where some or all of the qubits 104 are implemented as photons traveling along a waveguide (also referred to as a "quantum optics" implementation), the control unit 106 may be a beam splitter (for example, a heater or a mirror) ), the control signal 108 can be a signal for controlling the rotation of a heater or a mirror, the measurement unit 110 can be a light detector, 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 type qubits (for example, transmon, X-mon, G-mon) or flux type qubits (for example, flux qubits, capacitive shunt type In the embodiment of the flux qubit (also known as "circuit quantum electrodynamics" (circuit QED) implementation), the control unit 106 can be a bus resonator activated by a driver, and the control signal 108 can be a cavity mode In this case, the measurement unit 110 may be a second resonator (for example, a low-Q resonator), and the measurement signal 112 may be a voltage measured from the second resonator using a dispersion readout technique.

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

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

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

• 在量子位元104中之一些或全部實現為氮空位中心(NV中心)的實施例中,控制單元106可例如為鐳射器、微波天線或線圈,控制訊號108可為可見光、微波訊號或恆定電磁場,量測單元110可為光偵測器,並且量測訊號112可為光子。• In the embodiment 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, a microwave antenna or a coil, and the control signal 108 can be a visible light, a microwave signal or a constant For the electromagnetic field, the measurement unit 110 may be a photodetector, and the measurement signal 112 may be a photon.

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

• 在量子位元104中之一些或全部實現為半導材料(例如,奈米線)的實施例中,控制單元106可為微加工閘,控制訊號108可為RF或微波訊號,量測單元110可為微加工閘,並且量測訊號112可為RF或微波訊號。• In an embodiment where some or all of the qubits 104 are implemented as semiconducting materials (for example, nanowires), the control unit 106 can be a micro-machining gate, the control signal 108 can be an RF or microwave signal, and the measurement unit 110 can be a micro-machining gate, and the measurement signal 112 can 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, a quantum computer called a "single quantum computer" or a "quantum computer based on measurement" utilizes such feedback 114 from the measurement unit 110 to the control unit 106. Such feedback 114 is also necessary for the operation of fault-tolerant quantum computation and error correction.

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

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

應理解,可任意地選擇在狀態準備(以及對應的狀態準備訊號)與閘(以及對應的閘控制訊號)的應用之間的分割線。例如,在圖1及圖2A至圖2B中圖示說明為「狀態準備」之元件的組件及操作中之一些或全部可改為特徵化為閘應用之元件。相反地,例如,在圖1及圖2A至圖2B中圖示說明為「閘應用」之元件的組件及操作中之一些或全部可改為特徵化為狀態準備之元件。作為一個特定實例,圖1及圖2A至圖2B之系統及方法可特徵化為僅僅執行狀態準備,然後進行量測,而無任何閘應用,其中本文中描述為閘應用之部分的元件改為被視為狀態準備之部分。相反地,例如,圖1及圖2A至圖2B之系統及方法可特徵化為僅僅執行閘應用,然後進行量測,而無任何狀態準備,並且其中本文中描述為狀態準備之部分的元件改為被視為閘應用之部分。It should be understood that the dividing line between the state preparation (and the corresponding state preparation signal) and the application of the gate (and the corresponding gate control signal) can be arbitrarily selected. For example, some or all of the components and operations of the components illustrated as "state preparation" in FIGS. 1 and 2A to 2B can be changed to be characterized as components for gate applications. Conversely, for example, some or all of the components and operations of the components illustrated as "gate application" in FIGS. 1 and 2A to 2B can be changed to be characterized as state-ready components. As a specific example, the system and method of FIGS. 1 and 2A to 2B can be characterized as only performing state preparation and then performing measurement without any gate application. The components described herein as part of the gate application are changed to It is regarded as part of the state preparation. Conversely, for example, the systems and methods of FIGS. 1 and 2A to 2B can be characterized as only performing gate application and then performing measurement without any state preparation, and the component changes described herein as part of the state preparation It is regarded as 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 qubit 104 to read the measurement signal 112 from the qubit 104 (also referred to herein as "measurement Result”), where the measurement result 112 is a signal representing the state of some or all of the qubits 104. In practice, the control unit 106 and the measurement unit 110 can be completely different from each other, or contain some common components, or be implemented by a single unit (that is, a single unit can realize both the control unit 106 and the measurement unit 110) . For example, the laser unit can be used to generate the control signal 108 and the subbit 104 to provide a stimulus (eg, one or more laser beams) to cause the measurement signal 112 to be generated.

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

在量測單元110已對已執行一組閘運算之後的量子位元104執行一或多個量測操作之後,控制單元106可產生可不同於先前控制訊號108的一或多個額外控制訊號108,藉此致使量子位元104執行可不同於一組先前的量子閘運算的一或多個額外量子閘運算。隨後,可重複上文所描述之過程,其中量測單元110對處於其新狀態(由最近執行之閘運算得到)的量子位元104執行一或多個量測操作。After the measurement unit 110 has performed one or more measurement operations on the qubit 104 after a set of gate operations has been performed, the control unit 106 may generate one or more additional control signals 108 that may be different from the previous control signals 108 , Thereby causing the 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 can be repeated, in which the measurement unit 110 performs one or more measurement operations on the qubit 104 in its new state (obtained 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)。Generally, the system 100 can implement a plurality of quantum circuits as follows. For each quantum circuit C in the plurality of quantum circuits (FIG. 2A, operation 202 ), the system 100 performs a plurality of "triggers" on the qubit 104. The meaning of triggering will become apparent from the following description. For each trigger S in the plurality of triggers (FIG. 2A, operation 204), the system 100 prepares the state of the qubit 104 (FIG. 2A, section 206). More specifically, for each quantum gate G in the quantum circuit C (FIG. 2A, operation 210), the system 100 applies the quantum gate G to the qubit 104 (FIG. 2A, operations 212 and 214).

隨後,對於量子位元Q 104中之每一者(圖2A,操作216),系統100量測量子位元Q以產生表示量子位元Q之當前狀態的量測輸出(圖2A,操作218及220)。Subsequently, for each of the qubits Q 104 (FIG. 2A, operation 216), the system 100 measures the sub-bit Q to generate a measurement output representing the current state of the qubit Q (FIG. 2A, operations 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 the quantum gates in the circuit to the qubit 104, and then measuring the state of the sub-bit 104; and the system 100 can target 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 FIG. 3, there is shown a diagram of a hybrid classical quantum computer (HQC) 300 implemented according to an embodiment of the present invention. The HQC 300 includes a quantum computer component 102 (which can be implemented, for example, in the manner shown and described in conjunction with FIG. 1) and a classical computer component 306. A classical computer component can be a machine implemented according to a general computing model established by von Newman, in which the program is written in the form of an ordered list of instructions and stored in the classical (for example, digital) memory 310, and is used by the classical computer of the classical computer. (E.g., digital) processor 308 executes. The memory 310 is classical in the sense that data is stored in the storage medium in the form of bits, and these bits have a single definite binary state at any point in time. The bits stored in the memory 310 may, for example, represent a computer program. The classical computer component 304 usually includes a bus 314. The processor 308 can read bits from the memory 310 and write bits to the memory 310 via the bus 314. For example, the processor 308 can read instructions from a computer program in the memory 310, and can optionally receive instructions from a source external to the computer 302 (such as from a user input device such as a mouse, keyboard, or any other input device) Enter data 316. The processor 308 can use the instructions that have been read from the memory 310 to perform calculations on the data read from the memory 310 and/or the input 316, and generate output from those instructions. The processor 308 may store the output back to the memory 310 and/or provide the output externally as the output data 318 via an output device (such as a monitor, a speaker, or a network device).

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

一旦量子位元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 the qubit 104 is ready, the classical processor 308 can provide the classical control signal Y34 to the quantum computer 102. In response to the classical control signal Y34, the quantum computer 102 can apply the gate operation specified by the control signal Y32 to the qubit Element 104, whereby the qubit 104 reaches its final state. (It can be implemented as described above in conjunction with FIG. 1 and FIG. 2A to FIG. 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, which is a measurement output Y38 It means that the state of the qubit 104 collapses to one of its intrinsic states. Therefore, the measurement output Y38 includes or consists of bits, and therefore represents the classical state. The quantum computer 102 provides the measurement output Y38 to the classical processor 308. The classic processor 308 can store data representing the measurement output Y38 and/or data derived therefrom in the classic memory 310.

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

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

上文所描述之技術可例如在硬體中、在有形地儲存在一或多個電腦可讀媒體上之一或多個電腦程式、韌體或其任何組合中實現,諸如單獨在量子電腦上、單獨在古典電腦上或在混合古典量子(HQC)電腦上實現。本文中所揭示之技術可例如僅在古典電腦上實現,其中古典電腦模仿本文中所揭示之量子電腦功能。The technology described above can 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 , It can be implemented on a classical computer alone or on a hybrid classical quantum (HQC) computer. The technology disclosed in this article can be implemented, for example, only on a classical computer, where the classical computer mimics the functions of the quantum computer disclosed in this article.

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

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

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

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

每一此種電腦程式可在有形地體現在機器可讀儲存裝置中以供電腦處理器(可為古典處理器或量子處理器)執行之電腦程式產品中實現。本發明之方法步驟可由執行有形地體現在電腦可讀媒體中之程式的一或多個電腦處理器執行,以藉由對輸入進行操作並且產生輸出來執行功能。例如,適合的處理器包括通用微處理器及專用微處理器兩者。通常,處理器自記憶體(諸如,唯讀記憶體及/或隨機存取記憶體)接收(讀取)指令及資料,並且將指令及資料寫入(儲存)至該記憶體。適合於有形地體現電腦程式指令及資料之儲存裝置包括例如所有形式的非揮發性記憶體,諸如半導體記憶體裝置,包括EPROM、EEPROM及快閃記憶體裝置;磁碟,諸如內部硬碟及可移磁碟;磁光碟;以及CD-ROM。上述各項中之任一者可由特殊設計的ASIC (特殊應用積體電路)或FPGA (場可程式化閘陣列)作為補充或併入其中。古典電腦通常亦可自諸如內部磁碟(未示出)或可移磁碟之非暫時性電腦可讀儲存媒體接收(讀取)程式及資料,並且將程式及資料寫入(儲存)至該非暫時性電腦可讀儲存媒體。此等元件亦將在習知的桌上型電腦或工作站電腦以及適合於執行實現本文中所描述之方法之電腦程式的其他電腦中找到,該等電腦可與任何數位列印引擎或標記引擎、顯示監視器,或能夠在紙、膜、顯示器螢幕或其他輸出媒體上產生彩色或灰階像素之其他光柵輸出裝置共同使用。Each such computer program can be implemented in a computer program product tangibly embodied in a machine-readable storage device for execution by a computer processor (which can be a classical processor or a quantum processor). The method steps of the present invention can be executed by one or more computer processors executing programs tangibly embodied in a computer-readable medium to perform functions by operating on input and generating output. For example, suitable processors include both general-purpose microprocessors and special-purpose microprocessors. Generally, the processor receives (reads) instructions and data from a memory (such as read-only memory and/or random access memory), and writes (stores) the instructions and data to the memory. 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 disks and Removable disks; magneto-optical disks; and CD-ROMs. Any of the above can be supplemented by or incorporated into a specially designed ASIC (application-specific integrated circuit) or FPGA (field programmable gate array). Classical computers can usually also receive (read) programs and data from non-transitory computer-readable storage media such as internal disks (not shown) or removable disks, and write (store) the programs and data to the non-transitory computer-readable storage media. Temporary computer-readable storage media. These components will also be found in conventional desktop computers or workstation computers and other computers suitable for executing computer programs that implement the methods described in this article. These computers can be combined with any digital printing engine or markup engine, Display monitors, or other raster output devices that can produce color or grayscale pixels on paper, film, display screens, or other output media are used together.

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

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: Qubit 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: Bus 316: Input data 318: output data 400: operator 402: Quantum State 404: Block 406: Block 408: Block 410: Block 430: Hybrid Classical Quantum Computer (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示出根據本發明之實施例之真實概似函數及擬合概似函數。Fig. 1 is a diagram of a quantum computer according to an embodiment of the present invention; Fig. 2A is a flowchart of a method executed by the quantum computer of Fig. 1 according to an embodiment of the present invention; Fig. 2B is an embodiment according to the present invention A diagram of a hybrid quantum classical computer performing quantum annealing; Fig. 3 is a diagram of a hybrid quantum classical computer according to an embodiment of the present invention; Fig. 4 is a diagram of a hybrid quantum computer for performing quantum amplitude estimation according to an embodiment of the present invention A diagram of a classical computer (HQC); Figs. 5A to 5C illustrate standard sampling and enhanced sampling quantum circuits and their corresponding likelihood functions of some embodiments of the present invention; Figs. 6A to 6B illustrate Fisher Information A graph of the dependence of various likelihood functions; FIG. 7 illustrates an operation for generating samples corresponding to an engineered likelihood function according to an embodiment of the present invention; FIG. 8 illustrates an embodiment of the present invention Algorithms implemented; Figs. 9A to 9B, Fig. 10, Figs. 11A to 11B and Fig. 12 illustrate various algorithms executed by embodiments of the present invention; Fig. 13 is a true overview of various embodiments of the present invention Graphs of functions and fitting probability functions; Figures 14A to 14B, 15A to 15B, 16A to 16B, 17A to 17B, and 18A to 18B show diagrams illustrating various implementations of the present invention Example of the performance of the graph; Figure 19 shows the example of the present invention
Figure 02_image001
Factors; 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 diagrams of various embodiments of the present invention
Figure 02_image001
Factors; 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
Factors; Figure 26 shows a graph illustrating the relative accuracy of the target of the running time of various embodiments of the present invention; Figures 27 to 28 show quantum circuits implemented according to embodiments of the present invention; Figures 29A to 29B, FIGS. 30A to 30B, FIGS. 31A to 31B, and FIG. 32 show algorithms implemented according to an embodiment of the present invention; and FIG. 33 shows a true likelihood function and a fitting likelihood function according to an embodiment 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 Computer (HQC)

432:量子電腦432: Quantum Computer

434:古典電腦434: Classical Computer

Claims (16)

一種用於量子振幅估計之方法,其包含: 藉由一古典電腦選擇複數個量子電路參數值以最佳化一統計量之一準確性改良率,該統計量估計一可觀測
Figure 03_image019
關於一量子狀態
Figure 03_image009
的一預期值
Figure 03_image007
; 將交替的第一及第二廣義反射算子之一序列應用於一量子電腦之一或多個量子位元,以將該一或多個量子位元自該量子狀態
Figure 03_image009
變換成一反射量子狀態,該等第一及第二廣義反射算子中之每一者係根據該複數個量子電路參數值中之對應一者加以控制; 關於該可觀測
Figure 03_image1461
量測處於該反射量子狀態之該複數個量子位元,以獲得一組量測成果;及 在該古典電腦上用該組量測成果更新該統計量。
A method for quantum amplitude estimation, which includes: selecting a plurality of quantum circuit parameter values by a classical computer to optimize a statistic and an accuracy improvement rate, the statistic estimates an observable
Figure 03_image019
About a quantum state
Figure 03_image009
An expected value of
Figure 03_image007
; Apply a sequence of alternating first and second generalized reflection operators to one or more qubits of a quantum computer, so as to remove the one or more qubits from the quantum state
Figure 03_image009
Transformed into a reflection quantum state, each of the first and second generalized reflection operators is controlled according to the corresponding one of the plurality of quantum circuit parameter values; about the observable
Figure 03_image1461
Measure the plurality of qubits in the reflection quantum state to obtain a set of measurement results; and update the statistics with the set of measurement results on the classical computer.
如請求項1所述之量子振幅估計方法,其進一步包含在該更新之後輸出該統計量。The quantum amplitude estimation method according to claim 1, which further includes outputting the statistic after the update. 如請求項1所述之量子振幅估計方法,該統計量包含一平均值。According to the quantum amplitude estimation method described in claim 1, the statistic includes an average value. 如請求項1所述之量子振幅估計方法,該準確性改良率包含一變異數縮減因數。According to the quantum amplitude estimation method of claim 1, the accuracy improvement rate includes a variance reduction factor. 如請求項1所述之量子振幅估計方法,該準確性改良率包含一資訊改良率。According to the quantum amplitude estimation method of claim 1, the accuracy improvement rate includes an information improvement rate. 如請求項5所述之量子振幅估計方法,該資訊改良率包含一費雪資訊改良率及一熵減小率中之一者。According to 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所述之量子振幅估計方法,其中該第一及第二廣義反射算子之序列及該可觀測
Figure 03_image1463
定義一工程化概似函數之一偏誤。
The quantum amplitude estimation method according to claim 1, wherein the sequence of the first and second generalized reflection operators and the observable
Figure 03_image1463
Define an error of an engineered probability function.
如請求項1所述之量子振幅估計方法,其進一步包含對該選擇、該應用、該量測及該更新進行疊代。The quantum amplitude estimation method according to claim 1, further comprising iterating the selection, the application, the measurement, and the update. 如請求項1所述之量子振幅估計方法,其進一步包含: 在該古典電腦上並且用該組量測成果更新該統計量之一準確性估計值;及 當該準確性估計值大於一臨限值時,對該選擇、該應用、該量測及該更新進行疊代。The quantum amplitude estimation method according to claim 1, which further includes: Update one of the accuracy estimates 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, the selection, the application, the measurement, and the update are iterated. 如請求項1所述之量子振幅估計方法,其中該更新該統計量包含: 用該複數個量測值更新一事前分佈以獲得一事後分佈;及 自該事後分佈計算一更新的統計量。The quantum amplitude estimation method according to claim 1, wherein the updating the statistic includes: Use the plurality of measured values to update a pre-distribution to obtain a post-distribution; and An updated statistic is calculated from the post-event distribution. 如請求項1所述之量子振幅估計方法,其中該選擇係基於該統計量及該統計量之一準確性估計值。The quantum amplitude estimation method according to claim 1, wherein the selection is based on the statistic and an accuracy estimate of one of the statistic. 如請求項11所述之量子振幅估計方法,其中該選擇進一步係基於表示在該應用及該量測期間出現之誤差的一保真度。The quantum amplitude estimation method according to claim 11, wherein the selection is further based on a fidelity representing an error occurring during the application and the measurement. 如請求項1所述之量子振幅估計方法,其中該選擇使用坐標上升及梯度下降中之一者。The quantum amplitude estimation method according to claim 1, wherein the selection uses one of coordinate rising and gradient descent. 一種用於量子振幅估計之計算系統,其包含: 一處理器; 一量子古典介面,該量子古典介面將該計算系統與一量子電腦可通訊地耦合;及 一記憶體,該記憶體與該處理器可通訊地耦合,該記憶體儲存機器可讀指令,該等機器可讀指令當由該處理器執行時控制該計算系統來: (i)                選擇複數個量子電路參數值以最佳化一統計量之一準確性改良率,該統計量估計一可觀測
Figure 03_image019
關於一量子狀態
Figure 03_image009
的一預期值
Figure 03_image007
, (ii)             經由該量子古典介面控制該量子電腦,以使用交替的第一及第二廣義反射算子之一序列將該量子電腦之一或多個量子位元自該量子狀態
Figure 03_image009
變換成一反射量子狀態,該等第一及第二廣義反射算子中之每一者係根據該複數個量子電路參數值中之對應一者加以控制, (iii)           經由該量子古典介面控制該量子電腦,以關於該可觀測
Figure 03_image019
量測處於該反射量子狀態之該複數個量子位元,以獲得一組量測成果,且 (iv)           用該組量測成果更新該統計量。
A computing system for quantum amplitude estimation, comprising: a processor; a quantum classical interface that communicably couples the computing system with a quantum computer; and a memory, the memory and the processing The memory is communicatively coupled, and 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 statistic The accuracy improvement rate of a quantity, the statistic estimates an observable
Figure 03_image019
About a quantum state
Figure 03_image009
An expected value of
Figure 03_image007
, (Ii) controlling the quantum computer through the quantum classical interface to use a sequence of alternating first and second generalized reflection operators to bring one or more qubits of the quantum computer from the quantum state
Figure 03_image009
Transformed into a reflection quantum state, each of the first and second generalized reflection operators is controlled according to the corresponding one of the plurality of quantum circuit parameter values, (iii) the quantum is controlled via the quantum classical interface Computer, with regard to the observable
Figure 03_image019
Measure the plurality of qubits in the reflection quantum state to obtain a set of measurement results, and (iv) update the statistics with the set of measurement results.
如請求項14所述之量子振幅估計計算系統,該記憶體儲存額外機器可讀指令,該等額外機器可讀指令當由該處理器執行時控制該計算系統來輸出該統計量。According to the quantum amplitude estimation computing system of 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 calculation system according to claim 14, which further includes 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 US11615329B2 (en) 2019-06-14 2020-06-14 Hybrid quantum-classical computer for Bayesian inference with engineered likelihood functions for robust amplitude estimation
US16/900,947 2020-06-14

Publications (2)

Publication Number Publication Date
TW202121267A true TW202121267A (en) 2021-06-01
TWI783297B 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 (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI824578B (en) * 2022-01-24 2023-12-01 旺宏電子股份有限公司 Semiconductor circuit and operating method for the same
US11934920B2 (en) 2021-08-19 2024-03-19 Quantinuum Llc Quantum system controller configured for quantum error correction

Families Citing this family (1)

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

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2016161220A1 (en) * 2015-04-01 2016-10-06 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
CN110428055A (en) * 2018-04-27 2019-11-08 阿里巴巴集团控股有限公司 Quantum computing method and equipment

Cited By (2)

* 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

Also Published As

Publication number Publication date
TWI783297B (en) 2022-11-11

Similar Documents

Publication Publication Date Title
AU2020292425B2 (en) Hybrid quantum-classical computer for bayesian inference with engineered likelihood functions for robust amplitude estimation
US10839306B2 (en) Hardware-efficient variational quantum eigenvalue solver for quantum computing machines
US10469087B1 (en) Bayesian tuning for quantum logic gates
US11593707B2 (en) Compressed unsupervised quantum state preparation with quantum autoencoders
TWI783297B (en) Method and calculation system for quantum amplitude estimation
Wang et al. Minimizing estimation runtime on noisy quantum computers
Terhal et al. Encoding a qubit into a cavity mode in circuit QED using phase estimation
US20200134502A1 (en) Hybrid Quantum-Classical Computer System for Implementing and Optimizing Quantum Boltzmann Machines
US20210133618A1 (en) Quantum Computer System and Method for Partial Differential Equation-Constrained Optimization
US20200175409A1 (en) Implementation of error mitigation for quantum computing machines
US11157827B2 (en) Hybrid quantum-classical computer system for parameter-efficient circuit training
US20220292385A1 (en) Flexible initializer for arbitrarily-sized parametrized quantum circuits
CA3125749A1 (en) Measurement reduction via orbital frames decompositions on quantum computers
WO2021055507A1 (en) Quantum computer system and method for performing quantum computation with reduced circuit depth
US20210294680A1 (en) Reducing Unitary Error in a Quantum Computation System
US20220245500A1 (en) Mitigating errors in algorithms performed using quantum information processors
US20210365622A1 (en) Noise mitigation through quantum state purification by classical ansatz training
CN117454997A (en) Ion trap chip parameter correction method and device, electronic equipment and medium
JP2024008888A (en) Method and system for solving qubo problem by using classical/quantum hybrid solver