TW202121267A - Method and calculation system for quantum amplitude estimation - Google Patents
Method and calculation system for quantum amplitude estimation Download PDFInfo
- 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
Links
Images
Landscapes
- Complex Calculations (AREA)
Abstract
Description
本發明是有關於一種用於量子振幅估計之方法與計算系統。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中,選擇複數個量子電路參數值來最佳化統計量之準確性改良率,該統計量估計可觀測關於量子狀態之預期值。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
在實施例中,統計量係由自隨機變數取樣之複數個值計算出的樣本平均值。在本論述中,此等取樣值係藉由量測量子電腦432的量子位元獲得。然而,在不脫離本發明之範疇的情況下,統計量可替代地為偏度、峰度、分位數,或另一類型的統計量。統計量為預期值的估計量,並且可為有偏或不偏的。可根據機率分佈對複數個值進行建模,在此種情況下統計量可表示機率分佈的參數。例如,統計量可表示高斯分佈之平均值,如下文在第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 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之一或多個量子位元,以將一或多個量子位元自量子狀態變換成反射量子狀態。第一及第二廣義反射算子中之每一者係根據複數個量子電路參數值中之對應一者加以控制。第3.1節中描述的算子及分別為第一及第二廣義反射算子的實例。方程式19中引入的算子係交替的第一及第二廣義反射算子之序列之一個實例,其中向量表示複數個量子電路參數值。第一及第二廣義反射算子之序列以及可觀測可定義工程化概似函數之偏誤,如下文關於方程式26所描述。In the
在亦由量子電腦432執行的方塊408中,關於可觀測量測處於反射量子狀態之複數個量子位元,以獲得一組量測成果。在由古典電腦434執行的方塊410中,用該組量測成果更新統計量,以獲得之具有更高準確性的估計值。In
該方法可進一步包括在該更新之後輸出統計量。替代地,該方法可疊代地進行方塊404、406、408及410。在一些實施例中,該方法進一步包括在古典電腦434上並且用該組量測成果更新統計量之準確性估計值。準確性估計值為上文描述之準確性(例如,變異數)的計算值。在此等實施例中,該方法疊代地進行方塊404、406、408及410,直至準確性估計值降至臨限值以下為止。The method may further include outputting statistics after the update. Alternatively, the method may perform
在一些實施例中,在方塊410中,藉由用複數個量測值更新事前分佈以獲得事後分佈並且自事後分佈計算更新的統計量,來更新統計量。In some embodiments, in
在一些實施例中,基於統計量及統計量之準確性估計值來選擇複數個量子電路參數值。可進一步基於表示在該應用及量測期間發生的誤差之保真度來選擇複數個量子電路參數值。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
相位估計及貝氏視角之組合產生貝氏相位估計技術,該等技術與早期提案相比更適合於能夠實現有限深度量子電路之有雜訊的量子裝置。採用上文之標記,電路參數並且目標在於估計算子的本征值中的相位。應重點注意的是此處的概似函數,
在除貝氏相位估計以外的許多環境中係共用的,其中及分別為第一及第二種類之切比雪夫多項式。此共通性產生用於與相位估計相關的任務(諸如哈密爾頓特徵化)之貝氏推論機器。在藉由高斯先驗進行貝氏推論相比其他非適應性取樣方法的指數優勢中,係藉由展示預期事後變異數隨推論步驟之數目呈指數衰減來建立的。此種指數收斂以每一推論步驟所要求之數量為的量子相干性為代價。此種定標在貝氏相位估計的情境下亦得以確認。It is common in many environments except Bayesian phase estimation, among which and 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 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 At the expense of quantum coherence. This calibration is also confirmed in the context of Bayesian phase estimation.
具備了貝氏相位估計技術以及作為振幅估計問題的重疊估計之視角,可設計出在標準取樣型態與相位估計型態之間平滑地內插之用於算子量測的貝氏推論方法。此被提議為「-VQE」,其中用於執行算子量測之漸近定標為,其中極值對應於標準取樣型態(通常在VQE中實現),並且對應於量子增強型態,其中定標達到海森堡限值(通常藉由相位估計實現)。藉由改變貝氏推論的參數,亦可達成在與之間的值。值愈低,貝氏相位估計所需要的量子電路愈深。此實現了量子相干性與量測過程之漸近加速之間的折衷。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 " -VQE", where the asymptotic calibration used to perform the operator measurement is , Where the extreme value Corresponds to the standard sampling mode (usually implemented in VQE), and 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 versus between value. 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.
亦值得注意的是,相位估計並非可達到振幅估計之海森堡限值的唯一範例。在先前的研究中,作者考慮了估計量子狀態的參數的任務。提議一種並行策略,其中使用用於產生的參數化電路之個複製品,以及初始纏結狀態及基於纏結的量測來創建其中參數放大至的狀態。此種放大亦可產生類似於方程式1中之概似函數的概似函數。在先前的研究中已展示,藉由隨機化量子運算及貝氏推論,即使在存在雜訊的情況下亦可與古典取樣相比以更少的疊代來提取資訊。在量子振幅估計中,考慮具有變化的疊代數目及量測數目之電路。一組特別選擇的對產生可用於推斷待估計振幅之概似函數。針對作者給出之一個特定概似函數構造展現了海森堡限值。兩項研究均強調參數化概似函數之能力,從而使研究其在不完善硬體狀況下的效能係有吸引力的。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 Parameters Task. Propose a parallel strategy in which the use of Of the parameterized circuit Replicas, and the initial entanglement state and entanglement-based measurements to create the parameters Zoom in to status. Such amplification can also generate a probability function similar to the probability function in
1.2.1.2. 主要結果Main result
本發明之實施例包括用於估計預期的系統及方法,其中狀態可由量子電路準備,以使得。本發明之實施例可使用一系列量子電路,以使得當電路隨的更多次重複加深時,其允許作為的甚至更高次的多項式的概似函數。如下一節中藉由具體實例所描述,多項式次數的此增加之直接後果為推論能力的增加,該增加可由每一推論步驟處的費雪資訊增益來量化。在建立此「增強取樣」技術之後,本發明之實施例可將參數引入至量子電路中,並且使所得的概似函數可調諧。本發明之實施例可在每一推論步驟期間最佳化參數以獲得最大資訊增益。以下多行見解源於吾等的努力:Embodiments of the invention include methods for estimating expectations System and method, where the state Quantum circuit Prepare to make . The embodiments of the present invention can use a series of quantum circuits, so that when the circuit follows When more repetitions of deepening, it is allowed as 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。實驗結果亦已揭露對容忍更高的保真度未必導致更好的演算效能的量子演算法實現方式中的誤差之看法。在本發明之特定實施例中,存在大致的最佳電路保真度,在此最佳保真度下,增強方案產生最大的量子加速量。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 The best circuit fidelity of, under this best fidelity, the enhancement scheme produces the largest quantum acceleration.
1. 概似函數可調諧性的作用:參數化概似函數可在相位估計或振幅估計常式中使用。據悉,所有當前方法均關注切比雪夫形式的概似函數(方程式1)。對於此等切比雪夫概似函數(CLF),在存在雜訊的情況下,存在參數之特定值(「死點」),對於此等值,CLF用於推論之效率與之其他值相比顯著更低。本發明之實施例可藉由利用角度參數經使得可調諧的廣義反射算子工程化概似函數的形式來移除彼等死點。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 Specific value ("dead point"). For these values, CLF is used to infer the efficiency and 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的至相位估計的之平滑變換。本發明之實施例藉由研發用於使用具有雜訊度的裝置來在目標準確性上估計運行時間的模型來推進此思路(參見第6節):
3. 模型作為的函數在定標與定標之間內插。此類界限亦允許分析本發明之實施例以得到作為硬體規格(諸如量子位元數目及雙量子位元保真度)的函數之量子加速,並且因此使用當前及未來硬體之真實參數來估計運行時間。3. Model as The function is in Calibration and 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)用於更新有關的真實值的分佈的當前可信度的貝氏推論。第4節呈現用於兩者的啟發式演算法。第5節中呈現數值結果,將本發明之實施例與基於CLF之現有方法進行比較。第6節揭示運行時間模型,並且導出(2)中的表達式。第7節揭示從量子計算的廣泛視角來看的所揭示結果之意義。
表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
存在兩種主要策略來估計某個算子之預期值。量子振幅估計方法相對於特定計算模型提供可證明的量子加速。然而,爲了達成估計值的精確度,此方法中需要的電路深度定標為,從而使其對於近期量子電腦不切實際。變分量子本征解算器使用標準取樣來進行振幅估計。標準取樣允許低深度量子電路,從而使其更適合在近期量子電腦上實現。然而,在實踐中,此方法的低效率使得VQE對於許多感興趣的問題不切實際。本節介紹一種可由本發明之實施例使用的用於振幅估計之增強取樣方法。此技術試圖最大化有雜訊的量子裝置之統計能力。此方法經描述為從對如VQE中所使用之標準取樣的簡單分析開始。There are two main strategies to estimate a certain operator Expected value . 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 , The circuit depth required in this method is calibrated as , 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的能量估計次常式關於包立串估計振幅。對於分解為包立串的線性組合及「擬設狀態」的哈密爾頓,能量預期值估計為包立預期值估計值之線性組合
其中為的(振幅)估計值。VQE使用標準取樣方法來關於擬設狀態建置包立預期值估計值,其可概述為如下:among them for 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. 準備並且量測算子,接收成果。1. Prepare And measure operator To receive results .
2. 重複次,接收標記為的個成果以及標記為的個成果。2. Repeat Times, received marked as of Results and marked as of Results.
3. 估計為。3. Estimate for .
可使用作為時間的函數之估計量之均方差來量化此估計策略之效能,其中為每一量測的時間成本。因為估計量為不偏的,所以均方差僅為估計量的變異數,
對於特定均方差,確保均方差所需要的演算法之運行時間為
在VQE中能量估計之總運行時間為個別包立預期值估計運行時間之運行時間的總和。對於感興趣的問題,此運行時間可能成本太高,即使當使用特定並行化技術時亦如此。此成本之來源為標準取樣估計過程對中的小偏差之不靈敏度:標準取樣量測成果資料中所包含的有關之預期資訊增益為低。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 The insensitivity of small deviations in the medium: the relevant information contained in the standard sampling measurement result data The expected information gain is low.
通常,可藉由費雪資訊來量測標準取樣的次重複的估計過程的資訊增益
其中為來自標準取樣的次重複的一組成果。費雪資訊將概似函數識別為負責資訊增益。(不偏)估計量之均方差的下限可藉由克拉瑪-拉歐(Cramer-Rao)界限獲得
使用費雪資訊隨樣本數目係加性的這一事實,得到,其中為自概似函數提取之單個樣本之費雪資訊。使用克拉瑪-拉歐界限,可找到估計過程之運行時間之下限
其示出,爲了縮短估計演算法之運行時間,本發明之實施例可增大費雪資訊。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中圖示說明。為了產生資料,本發明之實施例可準備擬設狀態,應用運算,應用有關擬設狀態的相位翻轉,然後量測。有關擬設狀態的相位翻轉可藉由應用擬設電路之倒數、應用有關初始狀態的相位翻轉,隨後再應用擬設電路來達成。在此情況下,概似函數變為
偏誤為的次切比雪夫多項式。本文中之揭示內容將此類概似函數稱為切比雪夫概似函數(CLF)。The error is of Second Chebyshev polynomial. The disclosure in this article refers to this type of likelihood function as Chebyshev likelihood function (CLF).
為了比較增強取樣的切比雪夫概似函數與標準取樣的切比雪夫概似函數,考慮的情況。這裡,,因此費雪資訊與概似函數之斜率之平方成正比
如圖5B中所見,切比雪夫概似函數在處之斜率與標準取樣概似函數之斜率相比更傾斜。在每一情況下單個樣本費雪資訊評估為
從而展現量子電路之簡單變體可如何增強資訊增益。在此實例中,使用增強取樣之最簡單情況可將達成目標誤差所需要之量測數目減少至少九倍。如稍後將論述,本發明之實施例可藉由在量測之前應用層來進一步增大費雪資訊。事實上,費雪資訊隨二次增長。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 Previously applied Floor To further increase Fisher Information. In fact, Fisher Follow Secondary growth.
尚未描述將增強取樣量測資料轉換成估計的估計方案。增強取樣引入之一個複雜性在於當本發明之實施例收集量測資料時改變的選擇。在此情況下,給定來自具有變化的之電路之一組量測成果,及計數的樣本平均值失去其意義。代替使用樣本平均值,為了將量測成果處理成有關的資訊,本發明之實施例可使用貝氏推論。第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 s Choice. In this case, given the One of the measurement results of the circuit, and The counted sample average loses its meaning. Instead of using the sample average, in order to process the measurement results into relevant For information, the embodiments of the present invention can use Bayesian inference.
此時,可試圖指出標準取樣與增強取樣之間的比較係不公平的,因為在標準取樣情況下僅使用對的一個查詢,而在增強取樣方案中使用對的三個查詢。看起來,若考慮由三個標準取樣步驟產生的概似函數,則亦可在概似函數中得到三次多項式形式。事實上,假設執行三個獨立的標準取樣步驟,得到結果,並且藉由自分佈取樣來古典地產生二進製成果。隨後,概似函數採取如下形式:
其中每一為可經由改變分佈古典地調諧之參數。更具體地,,其中為位元串之漢明權重。假設希望等於方程式9中的。此隱示、、及,其明顯超出方程式12中的概似函數之古典可調諧性。此係表明由方程式9中之量子方案產生之概似函數超出古典手段的證據。Each of them Changeable distribution Classically tuned parameters. More specifically, ,among them Bit string The Hamming weight. Suppose hope Equal to
當電路層之數目增大時,每樣本的時間隨線性地增長。此電路層數目之線性增長以及費雪資訊之二次增長引起預期運行時間之下限,
此係在假設具有不偏估計量的固定式估計策略之情況下。在實踐中,在量子電腦上實現之運算受誤差影響。幸運的是,本發明之實施例可使用貝氏推論,該推論可將此類誤差併入至估計過程中。只要誤差對概似函數之形式的影響得到準確地建模,此類誤差的主要效應就僅僅是減緩資訊增益率。當電路層之數目增大時,量子電路中的誤差累積。因此,超出電路層之特定數目,就將關於費雪資訊的增益(或運行時間的縮減)接收到遞減的返回。隨後,估計演算法可試圖平衡此等競爭因素,以便最佳化總體效能。This system assumes a fixed unbiased estimator 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 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.
誤差的引入對估計造成另一問題。在無誤差時,針對所有,在的增強取樣情況下每樣本費雪資訊增益大於或等於。如圖6A至圖6B中所示出,在引入即使小幅誤差時,在概似函數平坦之處的的值引起費雪資訊之大幅下降。此類區域在本文中稱為估計死點。此觀測激發了對概似函數(ELF)工程化以增強其統計能力的概念。藉由將及運算推廣至廣義反射及,本發明之實施例可使用旋轉角度,以使得資訊增益在此類死點附近升高。即使對於更深的增強取樣電路,對概似函數工程化仍允許本發明之實施例減輕估計死點的效應。The introduction of errors causes another problem for estimation. When there is no error, for all ,in In the case of enhanced sampling, the Fisher information gain per sample is greater than or equal to . As shown in Figures 6A to 6B, when even a small error is introduced, where the probability function is flat 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 and Generalized reflection and 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
現在將描述用於設計、實現及在電腦(例如,量子電腦或混合量子古典電腦)上執行一程序以用於估計如下預期值的技術
其中,其中量子位元麼正算子,本征值為的量子位元赫米特算子,並且引入以促進稍後的貝氏推論。在構造本文所揭示的估計演算法時,可假設本發明之實施例能夠執行以下基元運算。首先,本發明之實施例可準備計算基礎狀態,並且向其應用量子電路,從而獲得。其次,本發明之實施例對於任何角度實現麼正算子。最後,本發明之實施例執行的量測,該經建模為具有各別成果標記之投射值度量。本發明之實施例亦可使用麼正算子,其中且。遵循慣例,及在本文中將分別被稱為關於的本征空間及狀態的廣義反射,其中及分別為此等廣義反射之角度。among them ,among them Qubit operator, Eigenvalue of Qubit Hemet operator, and introduce 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 And apply quantum circuits to it To get . Secondly, the embodiment of the present invention is suitable for any angle Realizing the positive operator . Finally, the embodiment of the present invention executes Measurement, the Modeled as having separate achievement markers Projected value metric . The embodiment of the present invention can also use a positive operator ,among them And . Follow convention, and In this article will be referred to as of Eigenspace and state Generalized reflection, where and Respectively the angle of this generalized reflection.
本發明之實施例可使用圖7中之無附屬(吾等稱此方案為「無附屬的」(AF),因為此方案不涉及任何附屬量子位元。在附錄A中,吾等考慮命名為「基於附屬的」(AB)方案之不同方案,該方案涉及一個附屬量子位元)量子電路來產生工程化概似函數(ELF),該ELF係在給定待估計的未知量的情況下成果的機率分佈。電路可例如包括廣義反射之序列。具體地,在準備擬設狀態之後,本發明之實施例可向其應用個廣義反射、、、、,從而在每一運算中改變旋轉角度。爲了便利起見,在本文中將被稱為電路的第層,其中。此電路的輸出狀態為
其中為可調諧參數之向量。最後,本發明之實施例可對此狀態執行投射量測,從而接收成果。among them Is a vector of tunable parameters. Finally, the embodiment of the present invention can perform projection measurement on this state To receive the results .
如在格羅佛演算法中,廣義反射及確保量子狀態對於任何均保持在二維子空間中(為了確保為二維的,假設,亦即,或)。設為中正交於的狀態(唯一的,取決於相位),亦即,
為了幫助分析,將此二維子空間視為量子位元,從而將及分別寫為及。To help the analysis, treat this two-dimensional subspace as a qubit, thus taking and Respectively written as and .
設、、及分別為此虛擬量子位元上的包立算子及恆等算子。隨後,關注子空間,可將重寫為
並且將廣義反射及重寫為
及
其中為可調諧參數。隨後,由層電路實現之麼正算子變為
應注意,在此圖片中,為固定的,而、及視未知量而定。結果是,與在原始「實體」圖片中相比,在此「邏輯」圖片中設計並分析估計演算法更便利。因此,此圖片將用於本揭示案的剩餘部分。It should be noted that in this picture, Is fixed, and , and Visual unknown 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.
工程化概似函數(亦即,量測成果之機率分佈)視電路的輸出狀態及可觀測而定。Engineering probability function (that is, the measurement result The probability distribution) depends on the output state of the circuit Observable Depends.
精確地,工程化概似函數為
其中
為概似函數之偏誤 (自此,將使用及來分別表示及關於的導數)。特別地,若,則得到。亦即,此的概似函數之偏誤為的(第一種類之)次切比雪夫多項式。出於此原因,此的概似函數在本文中將被稱為切比雪夫概似函數(CLF)。第5節將探索CLF與通用ELF之間的效能間隙。Is the error of the likelihood function (from now on, we will use and To express separately and on Derivative). In particular, if , You get . That is, this The error of the likelihood function is Of (of the first category) Second Chebyshev polynomial. For this reason, this The probability function of will be called Chebyshev probability function (CLF) in this article.
事實上,量子裝置受雜訊影響。為了使估計過程針對誤差係穩健的,本發明之實施例可將以下雜訊模型併入概似函數中。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.
假設每一電路層之有雜訊的版本實現目標運算及作用於相同輸入狀態的完全去極化通道(去極化模型假設包含每一層的閘足夠隨機以防止相干誤差的系統累積。存在使此去極化模型更準確之技術,諸如隨機化編譯)的混合物,亦即,
其中為此層之保真度。在此類不完善運算的組成下,層電路之輸出狀態變為
此不完善電路之前為的不完善準備,並且之後為的不完善量測。在隨機化基準的情境下,此類誤差被稱為狀態準備及量測(SPAM)誤差。本發明之實施例亦可藉由去極化模型對SPAM誤差建模,從而使的有雜訊的準備係,並且使的有雜訊的量測係POVM。將SPAM誤差參數組合到中,得到有雜訊的概似函數之模型
其中為用於產生ELF之整個過程之保真度,並且為理想概似函數之偏誤,如方程式(26)中所定義的(自此,本揭示案將使用來表示的導數)。應注意,雜訊對ELF的總體效應為,雜訊將偏誤再縮放倍。此隱示,產生過程中的誤差愈少,所得ELF的斜率愈大(此意謂對於貝氏推論愈有用),如所預期。among them Is the fidelity of the whole process used to generate ELF, and Is the deviation of the ideal probability function, as defined in equation (26) (from now on, this disclosure will use To represent Derivative). It should be noted that the overall effect of noise on ELF is that the noise will be biased and then scaled 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節中起作用。已知三角-多線性及三角-多二次函數的概念。基本上,若對於任何,對於的一些(複數值)函數及,可寫為
則多變數函數為三角-多線性的,並且將及稱為關於的餘弦-正弦-分解(CSD)係數函數。類似地,若對於任何,對於的一些(複數值)函數、及,可寫為
則多變數函數為三角-多二次的,並且將、及稱為關於的餘弦-正弦-偏誤-分解(CSBD)係數函數。三角-多線性及三角-多二次性的概念亦可自然地推廣至線性算子。亦即,若線性算子的每一項(任意地編寫)在一組變數中為三角-多線性的(或多二次性的),則此算子在相同變數中為三角-多線性的(或三角-多二次性的)。現在,方程式(22)、(23)及(24)隱示為的三角-多線性算子。隨後,自方程式(26)得到,為的三角-多二次性函數。此外,揭示了可在時間內評估關於任何的CSBD係數函數,並且此顯著促進第4.1節中用於調諧電路角度的演算法的構造。Multivariate function Is trigonometric-quadratic, and will , and Called on 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 for The triangle-multilinear operator. Then, from equation (26), for The trigonometric-multi-quadratic function. In addition, it reveals the Time evaluation About any The CSBD coefficient function, and this significantly promotes the angle used to tune the circuit in Section 4.1 The structure of the algorithm.
3.23.2 藉由工程化概似函數進行的貝氏推論Bayesian Inference by Engineering Probability Function
在(有雜訊的)工程化概似函數的模型就位後,將描述用於調諧電路參數並且藉由用於振幅估計之所得概似函數執行貝氏推論的本發明之實施例。After the (noisy) engineered probability function model is in place, the parameters used to tune the circuit will be described And an embodiment of the present invention of Bayesian inference is performed by the obtained likelihood function for amplitude estimation.
從對用於估計的演算法的實施例的高階概述開始。爲了便利起見,此類實施例可對有效,而不是對有效。本發明之實施例可使用高斯分佈來表示的知識,並且隨著推論過程繼續進行,使此分佈逐漸收斂至的真實值。本發明之實施例可從的初始分佈(其可由標準取樣或域知識產生)開始,並且將其轉換成的初始分佈。隨後,本發明之實施例可疊代進行以下程序,直至滿足收斂準則為止。在每一回合,本發明之實施例可找到在特定意義上(基於的當前知識)最大化來自量測成果的資訊增益的電路參數。隨後,藉由最佳化參數來執行圖7中的量子電路,並且接收量測成果。最後,本發明之實施例可藉由使用貝氏法則、以為條件來更新的分佈。一旦此迴圈結束,本發明之實施例就可將的最終分佈轉換成的最終分佈,並且將此分佈的平均值設定為的最終估計值。有關此演算法的概念圖,請參見圖8。From the pair used to estimate A high-level overview of the implementation of the algorithm begins. For convenience, such embodiments can be Effective, not right effective. The embodiment of the present invention can be represented by Gaussian distribution Knowledge, and as the inference process continues, the distribution gradually converges to The true value of. The embodiments of the present invention can be obtained from The initial distribution of (which can be generated by standard sampling or domain knowledge) starts and transforms it into 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 Current knowledge) to maximize the results from the measurement Circuit parameters of information gain . Then, by optimizing the parameters To execute the quantum circuit in Figure 7 and receive the measurement results . Finally, the embodiments of the present invention can use Bayes’ rule to Condition to update Distribution. Once this loop is over, the embodiment of the present invention can change The final distribution is transformed into The final distribution of and set the average of this distribution to The final estimate. For a conceptual diagram of this algorithm, see Figure 8.
下文更詳細地描述上述演算法之每一分量。貫穿整個推論過程,本發明之實施例使用高斯分佈來追蹤的值的可信度。亦即,在每一回合,對於某個事前平均值及事前變異數,具有事前分佈
在接收到量測成果後,本發明之實施例可藉由使用貝氏法則來計算的事後分佈:
其中正規化因數或模型證據被定義為(回想起用於產生ELF之過程之保真度)。儘管真實的事後分佈將不會為高斯分佈,但是本發明之實施例可將其近似為如此。遵循先前的方法,本發明之實施例可用相同平均值及變異數(儘管本發明之實施例可直接按定義來計算事後分佈的平均值及變異數,但是此方法耗時,因為其涉及數值積分。相反,本發明之實施例可藉由利用工程化概似函數之特定性質來加速此過程。有關更多詳情,請參見第4.2節)的高斯分佈來替換真實事後,並且將其設定為下一回合之的事前。本發明之實施例可重複此量測及貝氏更新程序,直至的分佈充分集中在單個值附近為止。Where the normalization factor or model evidence is defined as (recall 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 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 Beforehand. The embodiment of the present invention can repeat this measurement and Bayesian update procedure until The distribution of is sufficiently concentrated around a single value.
由於演算法主要對有效,並且吾等最終對感興趣,本發明之實施例可在與的估計值之間進行轉換。此過程如下進行。假設在回合,的事前分佈為,並且的事前分佈為(注意,、、及為隨機變數,因為它們視取決於時間的隨機量測成果之歷史而定)。在此回合,及的估計量分別為及。給定的分佈,本發明之實施例可計算的平均值及變異數,並且將設定為的分佈。此步驟可以解析方式完成,就好像,隨後
相反,給定的分佈,本發明之實施例可計算的平均值及變異數(將鉗位至),並且將設定為的分佈。此步驟可以數值方式完成。儘管高斯變數之或函數並非真正的高斯分佈,但是本發明之實施例可將其近似為如此,並且發現此對演算法的效能具有的影響可忽略。Instead, given Distribution , The embodiment of the present invention can be calculated average value And variance (will Clamp to ), and will set as Distribution. This step can be done numerically. Although the Gaussian variable or 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.
用於調諧電路角度的方法可由本發明之實施例如下實現。理想地,可謹慎選擇角度以使得隨著增長,的估計量之均方差(MSE)儘可能快地減小。然而在實踐中,直接計算此量很難,並且本發明之實施例可尋求其值的代理。估計量之MSE為估計量之變異數與估計量之平方偏誤的總和。的平方偏誤可小於其變異數,亦即,,其中為的真實值。的變異數常常接近的變異數,亦即,具有高機率。組合此等事實,得知具有高機率。因此,本發明之實施例可改為找到最小化的變異數的參數。Used to tune the angle of the circuit The method can be implemented by the embodiment of the present invention as follows. Ideally, the angle can be chosen carefully so that as increase, Estimator of 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. The squared error of can be less than its variance, that is, ,among them for The true value of. Of variance Often close The variance of, that is, Has a high probability. Combine these facts and learn Has a high probability. Therefore, the embodiment of the present invention can be changed to find the minimize Of variance Parameters .
具體地,假設具有事前分佈。在接收到量測成果之後,的預期事後變異數為Specifically, assuming Pre-distribution . After receiving the measurement results after that, The expected post-mortem variance is
=
其中
其中為理想概似函數之偏誤,如方程式(26)中所定義,並且為用於產生概似函數之過程之保真度。現在,引入用於對概似函數工程化的量,並且在本文中將其稱為變異數縮減因數,
隨後得到
愈大,的變異數平均減小得愈快。此外,為了量化的逆變異數的增長率(每時間步驟),可使用以下量
其中為推論回合的時間成本。應注意,為的單調函數,其中。因此,當電路層之數目固定時,本發明之實施例可藉由最大化來最大化(關於)。另外,當很小時,近似與成正比,亦即,。本揭示案之剩餘部分將假設擬設電路最顯著地構成總體電路之持續時間。使與擬設在電路中被調用的次數成正比,從而設定,其中時間以擬設持續時間為單位。among them It is the time cost of the inference round. It should be noted that for Monotonic function, where . Therefore, when the number of circuit layers When fixed, the embodiments of the present invention can be maximized by To maximize (on ). In addition, when Very small, Approximately Is directly proportional, that is, . The remainder of this disclosure will assume that the proposed circuit most significantly constitutes the duration of the overall circuit. Make It is proportional to the number of calls to be set in the circuit, thus setting , Where the time is based on the planned duration.
現在,將揭示用於找到對於給定、及最大化變異數縮減因數的參數之技術。通常,此最佳化問題變得難以解決。幸運的是,在實踐中,本發明之實施例可假設的事前變異數很小(例如,至多),並且在此種情況下,可藉由概似函數在下的費雪資訊來近似,亦即,
其中
為雙成果概似函數的費雪資訊,如在方程式(29)中所定義。因此,代替直接最佳化變異數縮減因數,本發明之實施例可最佳化費雪資訊,此可藉由本發明之實施例使用第4.1.1節中的演算法來高效地完成。此外,當用於產生ELF之過程之保真度為低時,得到。隨後,
因此,在此種情況下,本發明之實施例可最佳化,其與概似函數在下的斜率成正比,並且此任務可由本發明之實施例使用第4.1.2節中的演算法來高效地完成。Therefore, in this case, the embodiment of the present invention can be optimized , Which is the same as the probability function in 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.
最後,本發明之實施例可預測隨著增長時的估計量之MSE有多快。假設在推論過程期間電路層之數目為固定的。當時,此給出。的逆MSE之增長率可預測如下。當時,得到、、及具有高機率,其中及分別為及的真實值。當此事件發生時,得到對於大的,
因此,藉由方程式(35),得知對於大的,
其中。由於的偏誤通常遠遠小於其標準差,並且後者可由近似,預測對於大的,
此意謂的逆MSE之漸近增長率(每時間步驟)應大致為
其中關於得到最佳化。將在第5節中將此率與的逆MSE之經驗增長率進行比較。among them on Get optimized. This rate will be compared with Compare the empirical growth rate of the inverse MSE.
4.4. 用於電路參數調諧的高效啟發式演算法及貝氏推論Efficient heuristic algorithm and Bayesian inference for circuit parameter tuning
本節描述用於調諧圖7中之電路之參數的啟發式演算法的實施例,並且描述本發明之實施例可如何藉由所得概似函數高效地進行貝氏推論。This section describes the parameters used to tune the circuit in Figure 7 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
根據本發明之實施例實現之用於調諧電路角度的演算法係基於最大化變異數縮減因數的兩個代理(概似函數的費雪資訊及斜率)。所有此等演算法要求用於評估偏誤及其導數關於的CSBD係數函數的高效程序,其中。回想在第3.1中已示出,偏誤隨為三角-多二次性的。亦即,對於任何,存在的函數、及,以使得
隨後,
隨亦為三角-多二次性的,其中、、分別為、、關於的偏誤。結果是,給定及,,可在時間內計算、、、及中的每一者。Follow It is also triangular-multiquadratic, where , , Respectively , , on The bias. As a result, given and , , Available at Time calculation , , , and Each of them.
引理1. 給定及,可在時間內計算、、、、及中的每一者。
證明。參見附錄C。prove. See Appendix C.
4.1.1.4.1.1. 最大化概似函數的費雪資訊Fisher Information for Maximizing Probability Function
本發明之實施例可執行用於最大化概似函數在給定點(亦即,的事前平均值)的費雪資訊之兩種演算法中的一或多種。假設目標在於找到最大化下式的
第一演算法係基於梯度上升。亦即,第一演算法從隨機初始點開始,並且保持採取與當前點處的的梯度成正比的步驟,直至滿足收斂準則為止。具體地,設為疊代處的參數向量。本發明之實施例可如下將其更新:
其中為步長排程(在最簡單情況下,為常數。但是,為了達成更好的效能,可能希望當)。此要求計算關於每一的部分導數,此計算可如下進行。本發明之實施例首先使用引理1中之程序來針對每一計算、、、、及。此獲得
在得知此等量之後,本發明之實施例可如下計算關於的部分導數:
本發明之實施例可針對重複此程序。隨後,本發明之實施例可獲得。演算法的每一次疊代耗費時間。演算法中的疊代次數視初始點、終止準則及步長排程而定。有關更多詳情,請參見演算法65。The embodiments of the present invention can be aimed at Repeat this procedure. Subsequently, the embodiment of the present invention can be obtained . The cost of each iteration of the algorithm time. The number of iterations in the algorithm depends on the initial point, termination criterion, and step schedule Depends. For more details, see Algorithm 65.
第二演算法係基於坐標上升。不同於梯度上升,此演算法並不要求步長,並且允許每一變數在單個步驟中大幅改變。因此,第二演算法可比先前演算法更快地收斂。具體地,實現此演算法之本發明之實施例可從隨機初始點開始,並且沿著坐標方向相繼最大化目標函數,直至滿足收斂準則為止。在每一回合的第個步驟之後,解決以下針對坐標的單變數最佳化問題:
其中、、、、、可藉由引理1中之程序在時間中計算。此單變數最佳化問題可藉由基於標準梯度之方法來解決,並且將設定為其解。針對重複此程序。此演算法產生序列、、、,以使得。亦即,隨增長,的值單調地增大。演算法之每一回合耗費時間。演算法中的回合數視初始點及終止準則而定。among them , , , , , The procedure in
4.1.2.4.1.2. 最大化概似函數的斜率Maximize the slope of the likelihood function
本發明之實施例可執行用於最大化概似函數在給定點(亦即,的平均值)的斜率之兩種演算法中的一或多種。假設目標在於找到最大化的。The embodiment of the present invention can be used to maximize the likelihood function At a given point (that is, One or more of the two algorithms for the slope of the average). Suppose the goal is to find the maximization of .
類似於用於費雪資訊最大化之演算法65及65,用於斜率最大化之演算法亦分別基於梯度上升及坐標上升。兩者均調用引理1中的程序來針對給定及評估、及。然而,基於梯度上升的演算法使用上述量來計算關於的部分導數,而基於坐標上升的演算法使用上述量來直接更新的值。分別在演算法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
4.2.4.2. 藉由工程化概似函數進行的近似貝氏推論Approximate Bayesian Inference by Engineering Probability Function
在用於調諧電路參數的演算法就位後,現在描述如何藉由所得概似函數高效地進行貝氏推論。本發明之實施例可在接收量測成果之後直接計算的事後平均值及變異數。但此方法耗時,因為其涉及數值積分。藉由利用工程化概似函數之特定性質,本發明之實施例可大幅加速此過程。Used to tune circuit parameters 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 Calculate directly afterwards 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.
假設具有事前分佈,其中,並且用於產生ELF之過程之保真度為。本發明之實施例可發現,最大化(或)的參數滿足以下性質:當接近時,亦即,時,得到
其中一些。亦即,本發明之實施例可藉由在此區域中的正弦函數來近似。圖13圖示說明一個此種實例。some of them . That is, the embodiments of the present invention can be obtained by The sine function in this area to approximate . Figure 13 illustrates one such example.
本發明之實施例可藉由解決以下最小平方問題來找到最佳擬合的及:
其中。此最小平方問題具有以下解析解:
其中
圖13展現真實概似函數及擬合概似函數的實例。Figure 13 shows examples of true likelihood functions and fitted likelihood functions.
一旦本發明之實施例獲得最佳的及,其就可藉由針對下式的平均值及變異數來近似的事後平均值及變異數
上式具有解析公式。具體地,假設在回合處具有事前分佈。設為量測成果,並且為此回合的最佳擬合參數。隨後,本發明之實施例可藉藉由下式來近似的事後平均值及變異數
此後,本發明之實施例可繼續進行至下一回合,從而將設定為該回合之的事前分佈。After that, the embodiment of the present invention can continue to the next round, thereby changing Set as the round The ex-ante distribution.
應注意,如圖13所圖示說明,當遠離時,亦即,時,真實概似函數與擬合概似函數之間的差異可能很大。但是,由於事前分佈隨呈指數衰減,此類對計算的事後平均值及變異數之貢獻很小。因此,方程式(78)及(79)給出的事後平均值及變異數的高度準確的估計值,並且其誤差對整個演算法之效能具有的影響可忽略。It should be noted that as illustrated in Figure 13, when keep away 时, that is, 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 Follow Decay exponentially, such Pair calculation The contribution of the post hoc mean and variance is small. Therefore, equations (78) and (79) give 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
在實驗中,假設實現並且執行投射量測所耗費的時間比實現少得多。因此,當電路層之數目為時,推論回合之時間成本大致為,其中為的時間成本(應注意,層電路使用及次。爲了簡單起見,假設在後續論述中耗費單位時間(亦即,)。此外,假設在實驗中在量子狀態的準備及量測中沒有誤差,亦即,。In the experiment, the hypothetical realization And perform projection measurement It takes longer than implementation Much less. Therefore, when the number of circuit layers is , The time cost of the inference round is roughly ,among them for Time cost (note that Layer circuit use and Times. For the sake of simplicity, assume that in the subsequent discussion It takes a unit of time (that is, ). In addition, it is assumed that there is no error in the preparation and measurement of the quantum state in the experiment, that is, .
假設旨在估計預期值。設為在時間的估計量。應注意,本身為隨機變數,因為其視取決於時間的隨機量測成果之歷史而定。藉由的均方根誤差(RMSE)來量測方案之效能,其由下式給出
以下將針對各種方案描述隨著增長衰減有多快,該等方案包括基於附屬的切比雪夫概似函數(AB CLF)、基於附屬的工程化概似函數(AB ELF)、無附屬的切比雪夫概似函數(AF CLF),以及無附屬的工程化概似函數(AF ELF)。The following will describe various scenarios with increase 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).
通常,的分佈難以特徵化,並且解析公式。為了估計此量,本發明之實施例可執行推論過程次,並且收集的個樣本、、、,其中為在第輪(其中)中在時間處的估計值。隨後,本發明之實施例可使用量
來近似真實。在實驗中,設定,並且發現此引起令人滿意的結果。To approximate reality . In the experiment, set , And found that this leads to satisfactory results.
本發明之實施例可使用基於坐標上升的演算法2及6來分別最佳化無附屬的情況及基於附屬的情況下的電路參數。此示出演算法1及2產生相等品質的解,並且演算法5及6亦如此。因此,若改為使用基於梯度上升的演算法1及5來調諧電路角度,實驗結果將不變。The embodiment of the present invention can use
爲了藉由ELF進行貝氏更新,本發明之實施例可使用第4.2節及附錄A.2中的方法來分別計算無附屬的情況及基於附屬的情況下的事後平均值及變異數。特別地,在ELF之正弦擬合期間,本發明之實施例可設定方程式(68)及(148)中的(亦即,含有在中均勻分佈的個點)。已發現,此足以獲得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 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) (that is, Contained in Evenly distributed 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
本發明之實施例可實現用於運行時間的模型,該運行時間係當縮放至更大的系統並且在具有更好的閘保真度之裝置上運行時達成的估計值之目標均方根誤差所需要的。此模型可基於兩個主要假設來建置。第一假設為,逆均方差的增長率係由逆變異數率表達式(參見方程式(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 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.
對關於的估計值之MSE進行分析。隨後,將此估計值的MSE轉換成MSE關於的估計值。策略將為,對方程式(40)中之率表達式的上限及下限求積分,以得到作為時間的函數之逆MSE的界限。Yes about The estimated value of MSE is analyzed. Subsequently, the estimated value of MSE is converted into MSE. Estimated value. The strategy will be the rate expression in the equation (40) The upper and lower limits of is integrated to obtain the limit of the inverse MSE as a function of time.
為了幫助分析,進行代換,並且藉由引入及以使得來重參數化雜訊的併入方式。To help analysis, make substitutions And by introducing and So that To re-parameterize the way the noise is incorporated.
此率表達式的上限及下限係基於對切比雪夫概似函數的發現,其中。由於切比雪夫概似函數係工程化概似函數之子集,切比雪夫效能的下限給出ELF效能的下限。吾等猜測,在ELF之情況下此率的上限為針對切比雪夫率建立的上限之小的倍數(例如,1.5倍)。The upper and lower limits of this rate expression are based on the discovery of the Chebyshev probability function, where . 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.
如下建立切比雪夫上限。對於固定的、及,可示出(對於切比雪夫概似函數,可將變異數縮減因數表達為(只要)。隨後,隱示)變異數縮減因數達成最大值,此在處出現。此表達式小於,其在處達成最大值。因此,因數無法超過。將上述全部組合在一起,對於固定的、及,最大率的上限為。此由如下事實得到:隨為單調的,並且在處最大化。在實踐中,本發明之實施例可使用最大化逆變異數率之的值。藉由離散達成之率無法超過當在的連續值上最佳化上述上限時獲得之值。此最佳值針對實現。藉由評估在此最佳值處的來定義,
其給出切比雪夫率的上限
本發明之實施例並無對切比雪夫概似效能的解析下限。可基於數值查驗來建立經驗下限。對於任何固定的,逆變異數率在個點處為零。由於率對於所有在此等端點處均為零,的總體下限為零。然而,並不擔心逆變異數率在此等端點附近的不良效能。當將估計量自轉換成時,此等端點附近的資訊增益實際上趨於大的值。爲了建立有用的界限,將限制在範圍內。在數值測試(對之50000個值、自至之值的均勻網格進行搜尋,其中為用以得到方程式82之最佳化值,並且及在的範圍內。對於每一對,找到使最大逆變異數率(針對)為最小值的。對於查驗的所有對,此最差情況率始終在與之間,其中發現最小值為)中,發現對於所有,總是存在使逆變異數率高於上限的倍的的選擇。將此等組合在一起,得到
重要的是應注意,藉由使為連續的,及之特定值可引起使為負的最佳。因此,此等結果僅在(其確保)的情況下適用。預期此模型在大雜訊型態 (亦即,)下失效。It is important to note that by using Is continuous, and The specific value of can cause Negative best . Therefore, these results are only (It ensures ) Is applicable. This model is expected to be in the form of large noise (i.e., ) Is invalid.
現在,將假設率追蹤此等兩個界限之幾何平均值,亦即,,記住上限及下限為其中之小的常數因數。Now, let the hypothetical rate track the geometric mean of these two limits, that is, , Remember that the upper and lower limits are the small constant factors.
假設逆變異數在時間上以逆變異數率所捕獲的差商表達式所給定的率持續增長。使表示此逆變異數,可將上文的率方程式重算為的微分方程式,
經由此表達式,可識別海森堡限值行為及散粒雜訊限值行為兩者。對於,微分方程式變為
其積分為逆平方誤差的二次增長。此係海森堡限值型態之特徵。對於,率接近常數,
此型態產生逆平方誤差的線性增長,此指示散粒雜訊限值型態。This type produces linear growth of inverse square error , This indicates the type of shot noise limit.
為使積分易處理,可用可積分的上限及下限表達式(與先前的界限協同使用)來替換率表達式。使,將此等界限重新表達為,
藉由將時間視為的函數並且積分,可自上限建立運行時間之下限,
類似地,可使用下限來建立運行時間之上限。此處引入如下假設,在最差情況下,相位估計之MSE為變異數的兩倍(亦即,變異數等於偏誤),因此變異數必須達到MSE的一半:。在最好情況下,假設估計值之偏誤為零,並且設定。將此等界限與方程式(84)之上限及下限組合,以得到作為目標MSE的函數之估計運行時間之界限,
其中。among them .
此時,可將相位估計轉換回成振幅估計。可就相位估計MSE將關於振幅估計之MSE近似為At this point, the phase can be estimated Convert back to amplitude estimation . Can estimate MSE for phase and MSE for amplitude estimate Approximately
其中已假設估計量之分佈針對充分達到峰值,以忽略較高階項。此引起,可將其代入至上述界限表達式中,對於亦是如此。藉由去掉估計量下標(因為它們僅貢獻常數因數),可建立低雜訊及高雜訊限值中的運行時間定標,
觀察到海森堡限值定標及散粒雜訊限值定標各自得到恢復。It is observed that the Heisenberg limit calibration and the shot noise limit calibration have been restored respectively.
使用切比雪夫概似函數之性質得到此等界限。如先前章節中已示出,藉由對概似函數工程化,在許多情況下可縮短估計運行時間。受到工程化概似函數之變異數縮減因數之數值發現(參見例如圖19)的激發,吾等猜測,使用工程化概似函數使方程式(84)中的最差情況逆變異數率增大至。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 .
為了賦予此模型更多意義,將其細分為以量子位元數目及雙量子位元閘保真度表示。考慮估計包立串關於狀態的預期值之任務。假設非常接近零,使得。設層中之每一者的雙量子位元閘深度為。將總層保真度建模為,其中已經忽略由單量子位元閘引起的誤差。由此,得到及。將此等組合起來,得到運行時間表達式,
最後,將一些有意義的數字放入此表達式,並且估計作為雙量子位元閘保真度的函數之所要求之運行時間(以秒為單位)。為了達成量子優勢,預期問題例子將要求大約個邏輯量子位元,並且要求雙量子位元閘深度為大約量子位元數目。此外,預期目標準確性將需要為大約至。運行時間模型依據擬設電路持續時間來量測時間。為了將此時間轉換成秒,假設雙量子位元閘之每一層將耗費時間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 Logical qubits, and the dual-qubit gate depth is required to be approximately the number of qubits . In addition, the expected target accuracy Will need to be approximately to . 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 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中之量子電路產生,其中為可調諧參數。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 It is a tunable parameter.
假設圖27中之電路無雜訊,工程化概似函數由下式給出
其中
為概似函數之偏誤。結果是,第3.1節中的大部分論證在基於附屬的情況下仍然成立,只不過用替換了。因此,將使用與之前相同的標記(例如,、、、、、),除非另有說明。特別地,當考慮到圖27中之電路中之誤差時,有雜訊的概似函數由下式給出
其中為用於產生ELF之過程之保真度。然而,應注意,與之間存在差異,因為前者在隨為三角-多二次性的,而後者隨為三角-多線性的。among them It is the fidelity of the process used to generate ELF. However, it should be noted that versus There is a difference between because the former is Is trigonometric-multiquadratic, and the latter varies with Triangular-multi-linear.
將調諧電路角度,並且以與第3.2節中類似的方式藉由所得ELF執行貝氏推論。實際上,第3.2節中之論證在基於附屬的情況下仍然成立,只不過需要用替換。因此,將使用與之前相同的標記,除非另有說明。具體地,亦如同在方程式(37)及(38)中一樣定義變異數縮減因數,從而用替換。可示出,
並且
亦即,在合理的假設下,概似函數在時的費雪資訊及斜率為變異數縮減因數之兩個代理。由於的直接最佳化通常很難,將改為藉由最佳化此等代理來調諧參數。That is, under reasonable assumptions, the likelihood function in Fisher information at time and the slope of the variance reduction factor Of the two agents. due to The direct optimization of is usually difficult, and the parameters will be tuned by optimizing these agents instead .
A.1.A.1. 變異數縮減因數的代理之高效最大化The efficiency maximization of the agent of the variance reduction factor
現在,呈現用於最大化變異數縮減因數的兩個代理(概似函數的費雪資訊及斜率)之高效啟發式演算法。所有此等演算法使用以下程序來評估偏誤及其關於的導數,其中。Now, the reduction factor used to maximize the variance Two proxies (likelihood function Fisher-Price information and slope) efficient heuristic algorithm. All these algorithms use the following procedure to assess bias And its about Derivative of ,among them .
A.1.1.A.1.1. 評估偏誤及其導數的Evaluation of bias and its derivatives CSDCSD 係數函數Coefficient function
由於在中為三角-多線性的(對於任何),存在隨為三角-多線性的函數及,以使得
隨後,
隨亦為三角-多線性的,其中及分別為及關於的導數。Follow Is also triangular-multilinear, where and Respectively and on The derivative of.
吾等的最佳化演算法要求高效程序來針對給定及評估、、以及。結果是,此等任務可在時間內完成。Our optimization algorithm requires efficient procedures to target a given and Evaluation , , as well as . As a result, these tasks can be Completed in time.
引理2. 給定及,可在時間內計算、、及中的每一者。
證明。爲了便利起見,引入以下標記。設,,其中。此外,設,其中。應注意,若為偶數,則。隨後,定義若,否則。prove. For convenience, the following notation is introduced. Assume , ,among them . In addition, suppose ,among them . It should be noted that if Is an even number, then . Subsequently, define if ,otherwise .
藉由此標記,可示出
並且
為了針對給定及評估、、及,分開考慮為偶數的情況及為奇數的情況。In order to target a given and Evaluation , , and , Consider separately Is an even number and Is an odd number.
• 情況1:為偶數,其中。在此情況下,。使用如下事實
• 獲得
• 其中
• 給定及,首先在時間內計算及。隨後,藉由方程式(109)及(110)計算及。此程序僅耗費時間。• given and , First in Time calculation and . Then, calculate by equations (109) and (110) and . This procedure only costs time.
接著,描述如何計算及。藉由使用方程式(104)及事實,對於任何,獲得Next, describe how to calculate and . By using equation (104) and the fact For any ,obtain
設
隨後,方程式(111)產生
其引起
其中
給定及,首先藉由標準動態程式化技術在總的時間內計算以下矩陣:given and , First of all by standard dynamic programming technology in the total Calculate the following matrix in time:
及,其中; and ,among them ;
及,其中; and ,among them ;
及。 and .
隨後,藉由方程式(113)及(115)計算及。此後,藉由方程式(120)及(121)計算及。總體而言,此程序耗費時間。Then, calculate by equations (113) and (115) and . After that, use equations (120) and (121) to calculate and . Overall, this procedure costs time.
1. 情況2:為奇數,其中。在此情況下,。使用如下事實
2. 獲得
3. 其中
4. 給定及,首先在時間內計算及。隨後,藉由方程式(126)及(127)計算及。此程序僅耗費時間。4. Given and , First in Time calculation and . Then, calculate by equations (126) and (127) and . This procedure only costs time.
接著,描述如何計算及。藉由使用方程式(104)及事實,其中任何,得到Next, describe how to calculate and . By using equation (104) and the fact , Any of them ,get
設
隨後,方程式(128)得到
其引起
其中
給定及,首先藉由標準動態程式化技術在總的時間內計算以下矩陣:given and , First of all by standard dynamic programming technology in the total Calculate the following matrix in time:
及,其中; and ,among them ;
及,其中; and ,among them ;
及。 and .
隨後,藉由方程式(130)及(132)計算及。此後,藉由方程式(137)及(138)計算及。總體而言,此程序耗費時間。Then, calculate by equations (130) and (132) and . After that, use equations (137) and (138) to calculate and . Overall, this procedure costs time.
WW
A.1.2.A.1.2. 最大化概似函數的費雪資訊Fisher Information for Maximizing Probability Function
提議用於最大化概似函數在給定點(亦即,的事前平均值)的費雪資訊之兩種演算法。亦即,目標在於找到最大化下式的
在此等演算法亦分別基於梯度上升及坐標上升的意義上,此等演算法類似於在基於附屬的情況下用於費雪資訊最大化之演算法1及2。主要差異在於,現在調用引理2中之程序來針對給定及評估、、及,並且隨後使用它們來計算關於的部分導數(在梯度上升中)或針對定義單變數最佳化問題(在坐標上升中)。在演算法5及6中正式描述此等演算法。In the sense that these algorithms are also based on gradient ascending and coordinate ascending, respectively, these algorithms are similar to the
A.1.3.A.1.3. 最大化概似函數的斜率Maximize the slope of the likelihood function
亦提議用於最大化概似函數在給定點(亦即,的事前平均值)的斜率之兩種演算法。亦即,目標在於找到最大化的。It is also proposed to maximize the likelihood function At a given point (that is, The two algorithms for the slope of the prior average). That is, the goal is to find the maximum of .
在此等演算法亦分別基於梯度上升及坐標上升的意義上,此等演算法類似於在基於附屬的情況下用於斜率最大化之演算法3及4。主要差異在於,現在調用引理2中之程序來針對給定及評估及。隨後,使用此等量來計算關於的部分導數(在梯度上升中)或直接更新的值(在坐標上升中)。在演算法7及8中正式描述此等演算法。In the sense that these algorithms are also based on gradient ascent and coordinate ascent respectively, these algorithms are similar to
A.2.A.2. 藉由工程化概似函數進行的近似貝氏推論Approximate Bayesian Inference by Engineering Probability Function
在用於調諧電路參數的演算法就位後,現在簡要描述如何藉由所得概似函數高效地執行貝氏推論。此想法類似於第4.2節中用於無附屬方案的想法。Used to tune circuit parameters 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.
假設具有事前分佈,其中,並且用於產生ELF之過程之保真度為。發現最大化(或)的參數滿足以下性質:當接近時,亦即,時,得到
其中一些。藉由解決以下最小平方問題來找到最佳擬合及:
其中。此最小方根問題具有以下解析解:
其中
圖34圖示說明真實概似函數及擬合概似函數的實例。FIG. 34 illustrates examples of the true likelihood function and the fitted likelihood function.
一旦獲得最佳的及,就可藉由下式的平均值及變異數來近似的事後平均值及變異數
上式具有解析公式。具體地,假設在回合處具有事前分佈。設成為量測成果,並且設為此回合的最佳擬合參數。隨後,藉由下式來近似的事後平均值與變異數
此後,繼續進行至下一回合,將設定為該回合之的事前分佈。由方程式(158)及(159)引起的近似誤差很小,並且出於與無附屬的情況相同的原因,該等近似誤差對整個演算法之效能具有的影響可忽略。After that, continue to the next round and put Set as the round 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
爲了便利起見,引入以下標記。設、、及,其中,並且。此外,設,其中。應注意,若為奇數,則。隨後,定義若,否則。For convenience, the following notation is introduced. Assume , , and ,among them ,and . In addition, suppose ,among them . It should be noted that if Is odd, then . Subsequently, define if ,otherwise .
藉由此標記,
此外,關於求導產生
其中
為關於的導數,其中
為關於的導數。隨後,for on The derivative of. Subsequently,
以下事實將為有用的。假設、及為希伯特空間上的任意線性算子。隨後,藉由直接計算,可驗證
並且
以下事實亦將為有用的。關於求導產生The following facts will also be useful. on Derivative generation
為了針對給定及評估、、、、及,分開考慮為偶數的情況及為奇數的情況。In order to target a given and Evaluation , , , , and , Consider separately Is an even number and Is an odd number.
• 情況1:為偶數,其中。在此情況下,,並且。隨後獲得
• 其中
• 給定及,首先在時間內計算、及。隨後,計算、及。此程序僅耗費時間。• given and , First in Time calculation , and . Then, calculate , and . This procedure only costs time.
接著示出如何計算、及。使用上式及事實,其中任何,獲得Then show how to calculate , and . Use the above formula and facts , Any of them ,obtain
隨後,得到
其中
同時,得到
其中
將上述事實組合起來,得到
其中among them
給定及,首先藉由標準動態程式化技術在總的時間內計算以下矩陣:given and , First of all by standard dynamic programming technology in the total Calculate the following matrix in time:
、、、、; , , , , ;
及 and
及 and
隨後,計算、及,其中。此後,計算、及。總體而言,此程序耗費時間。Then, calculate , and ,among them . After that, calculate , and . Overall, this procedure costs time.
5. 情況2:為奇數,其中。在此情況下,,並且。隨後,得到
6. 其中
7. 給定及,首先在時間內計算、及。隨後,計算、及。此程序僅耗費時間。7. Given and , First in Time calculation , and . Then, calculate , and . This procedure only costs time.
接著,描述如何計算、及。使用上式及事實,其中,獲得Next, describe how to calculate , and . Use the above formula and facts ,among them ,obtain
隨後,得到Then, get
其中
同時,得到
其中
將上述事實組合起來,得到
其中among them
給定及,首先藉由標準動態程式化技術在總的時間內計算以下矩陣:given and , First of all by standard dynamic programming technology in the total Calculate the following matrix in time:
、、、、; , , , , ;
及,其中; and ,among them ;
及,其中。 and ,among them .
隨後,計算、及。,其中此後,計算、及。總體而言,此程序耗費時間。Then, calculate , and . ,among them After that, calculate , and . Overall, this procedure costs 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
量子退火從古典電腦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
量測量子電腦254之最終狀態272,藉此產生結果276 (亦即,量測值) (圖2B,操作274)。量測操作274可例如以本文所揭示之方式中之任一者來執行,諸如以本文結合圖1中的量測單元110所揭示之方式中之任一者來執行。古典電腦254對量測結果276執行後處理以產生表示原始計算問題258的解之輸出280 (圖2B,操作278)。The
作為又一替代實例,本發明之實施例可整體或部分地使用利用單向量子計算架構(亦稱為基於量測之量子計算架構)實現的量子電腦來實現,該單向量子計算架構為閘模型量子計算架構之另一替代。更具體地,單向或基於量測之量子電腦(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
量子電路中可存在任何數目個閘。然而,在一些實施例中,閘的數目可至少與量子電腦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
量子位元104可以任何圖形模式互連。例如,它們可以線性鏈、二維網格、多對多(all-to-all)連接、其任何組合,或前述各項中之任一者的任何子圖形加以連接。The
如將自以下描述變得顯而易見,儘管元件102在本文中被稱為「量子電腦」,但是此並不隱示量子電腦102之所有組件都利用量子現象。量子電腦102之一或多個組件可例如為並不利用量子現象之古典組件(亦即,非量子組件)。As will become apparent from the following description, although the
量子電腦102包括控制單元106,該控制單元106可包括用於執行本文所揭示之功能的各種電路及/或其他機械中之任一者。控制單元106可例如完全由古典組件組成。控制單元106產生一或多個控制訊號108,並且將其作為輸出提供至量子位元104。控制訊號108可採取各種形式中之任一者,諸如任何種類的電磁訊號,諸如電訊號、磁訊號、光學訊號(例如,鐳射脈衝),或其任何組合。The
例如:E.g:
• 在量子位元104中之一些或全部實現為沿著波導行進之光子的實施例(亦稱為「量子光學」實現方式)中,控制單元106可為分束器(例如,加熱器或鏡子),控制訊號108可為控制加熱器或鏡子之旋轉的訊號,量測單元110可為光偵測器,並且量測訊號112可為光子。• In an embodiment where some or all of the
• 在量子位元104中之一些或全部實現為電荷型量子位元(例如,transmon、X-mon、G-mon)或通量型量子位元(例如,通量量子位元、電容分流式通量量子位元)的實施例(亦稱為「電路量子電動力學」(電路QED)實現方式)中,控制單元106可為由驅動器啟動之匯流排諧振器,控制訊號108可為諧振腔模態,量測單元110可為第二諧振器(例如,低Q諧振器),並且量測訊號112可為使用色散讀出技術自第二諧振器量測的電壓。• Some or all of the
• 在量子位元104中之一些或全部實現為超導電路的實施例中,控制單元106可為電路QED輔助式控制單元或直接電容耦合控制單元或電感式電容耦合控制單元,控制訊號108可為諧振腔模態,量測單元110可為第二諧振器(例如,低Q諧振器),並且量測訊號112可為使用色散讀出技術自第二諧振器量測的電壓。• In the embodiment where some or all of the
• 在量子位元104中之一些或全部實現為捕獲離子(例如,(例如)鎂離子之電子狀態)的實施例中,控制單元106可為鐳射器,控制訊號108可為鐳射脈衝,量測單元110可為鐳射器及CCD或光偵測器(例如,光電倍增管),並且量測訊號112可為光子。• In an embodiment where some or all of the
• 在量子位元104中之一些或全部使用核磁共振(NMR)來實現(在此情況下量子位元可為分子,例如,呈液體或固體形式)的實施例中,控制單元106可為射頻(RF)天線,控制訊號108可為由RF天線發射之RF場,量測單元110可為另一RF天線,並且量測訊號112可為由第二RF天線量測之RF場。• In an embodiment where some or all of the
• 在量子位元104中之一些或全部實現為氮空位中心(NV中心)的實施例中,控制單元106可例如為鐳射器、微波天線或線圈,控制訊號108可為可見光、微波訊號或恆定電磁場,量測單元110可為光偵測器,並且量測訊號112可為光子。• In the embodiment where some or all of the
• 在量子位元104中之一些或全部實現為稱為「任意子」之二維準粒子的實施例(亦稱為「拓撲量子電腦」實現方式)中,控制單元106可為奈米線,控制訊號108可為局部電場或微波脈衝,量測單元110可為超導電路,並且量測訊號112可為電壓。• In an embodiment where some or all of the
• 在量子位元104中之一些或全部實現為半導材料(例如,奈米線)的實施例中,控制單元106可為微加工閘,控制訊號108可為RF或微波訊號,量測單元110可為微加工閘,並且量測訊號112可為RF或微波訊號。• In an embodiment where some or all of the
儘管圖1中並未明確示出並且並未要求,但是量測單元110可基於量測訊號112將一或多個反饋訊號114提供至控制單元106。例如,稱為「單向量子電腦」或「基於量測之量子電腦」的量子電腦利用自量測單元110至控制單元106之此種反饋114。此種反饋114對於容錯量子計算及誤差校正之操作亦為必要的。Although not explicitly shown in FIG. 1 and not required, the
控制訊號108可例如包括一或多個狀態準備訊號,該一或多個狀態準備訊號在由量子位元104接收時致使量子位元104中之一些或全部改變其狀態。此類狀態準備訊號構成亦稱為「擬設電路」的量子電路。量子位元104之所得狀態在本文中被稱為「初始狀態」或「擬設狀態」。輸出(多個)狀態準備訊號以致使量子位元104處於其初始狀態的過程在本文中被稱為「狀態準備」(圖2A,區段206)。狀態準備之特殊情況為「初始化」(亦稱為「重設操作」),其中初始狀態為其中量子位元104中之一些或全部處於「零」狀態(亦即,預設單量子位元狀態)的狀態。更一般地,狀態準備可涉及使用狀態準備訊號來致使量子位元104中之一些或全部處於所要狀態之任何分佈。在一些實施例中,控制單元106可藉由首先輸出第一組狀態準備訊號以初始化量子位元104,並且藉由隨後輸出第二組狀態準備訊號以將量子位元104部分或完全置於非零狀態,來首先對量子位元104執行初始化並且隨後對量子位元104執行準備。The
可由控制單元106輸出並且由量子位元104接收的控制訊號108之另一實例為閘控制訊號。控制單元106可輸出此類閘控制訊號,藉此將一或多個閘應用於量子位元104。將閘應用於一或多個量子位元致使該組量子位元經受實體狀態改變,該實體狀態改變體現由所接收之閘控制訊號指定之對應的邏輯閘運算(例如,單量子位元旋轉、雙量子位元纏結閘或多量子位元運算)。如此隱示,回應於接收到閘控制訊號,量子位元104經受實體變換,該等實體變換致使量子位元104改變狀態,其方式為使得量子位元104之狀態在被量測時(參見下文)表示執行由閘控制訊號指定之邏輯閘運算的結果。如本文中所使用,術語「量子閘」係指將閘控制訊號應用於一或多個量子位元以致使彼等量子位元經受上文所描述的實體變換並且藉此實現邏輯閘運算。Another example of the
應理解,可任意地選擇在狀態準備(以及對應的狀態準備訊號)與閘(以及對應的閘控制訊號)的應用之間的分割線。例如,在圖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
通常,量子電腦102可執行上文所描述之各種操作任何數目次。例如,控制單元106可產生一或多個控制訊號108,藉此致使量子位元104執行一或多個量子閘運算。隨後,量測單元110可對量子位元104執行一或多個量測操作以讀出一組一或多個量測訊號112。量測單元110可在控制單元106產生額外控制訊號108之前對量子位元104重複此類量測操作,藉此致使量測單元110讀取由在讀出先前量測訊號112之前執行之相同閘運算得到的額外量測訊號112。量測單元110可重複此過程任何數目次,以產生對應於相同閘運算的任何數目個量測訊號112。隨後,量子電腦102可以各種方式中之任一者彙總相同閘運算之此類多個量測。Generally, the
在量測單元110已對已執行一組閘運算之後的量子位元104執行一或多個量測操作之後,控制單元106可產生可不同於先前控制訊號108的一或多個額外控制訊號108,藉此致使量子位元104執行可不同於一組先前的量子閘運算的一或多個額外量子閘運算。隨後,可重複上文所描述之過程,其中量測單元110對處於其新狀態(由最近執行之閘運算得到)的量子位元104執行一或多個量測操作。After the
通常,系統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
隨後,對於量子位元Q 104中之每一者(圖2A,操作216),系統100量測量子位元Q以產生表示量子位元Q之當前狀態的量測輸出(圖2A,操作218及220)。Subsequently, for each of the qubits Q 104 (FIG. 2A, operation 216), the
針對每一觸發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
參照圖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
量子電腦組件102可包括複數個量子位元104,如上文結合圖1所描述。單個量子位元可表示一、零,或彼等兩個量子位元狀態之任何量子疊加。古典電腦組件304可將古典狀態準備訊號Y32提供至量子電腦102,回應於該古典狀態準備訊號Y32,量子電腦102可以本文所揭示之方式中之任一者(諸如以結合圖1及圖2A至圖2B所揭示之方式中之任一者)準備量子位元104的狀態。The
一旦量子位元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
可重複上文所描述之步驟任何數目次,其中上文描述為量子位元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
儘管一些功能可在本文中描述為由古典電腦執行,並且其他功能可在本文中描述為由量子電腦執行,但是此等僅為實例,並且並不構成對本發明之限制。在本文中揭示為由量子電腦執行的功能的子集可改為由古典電腦執行。例如,古典電腦可執行用於模仿量子電腦的功能性,並且提供本文中所描述的功能性之子集,儘管模擬的指數定標會限制功能性。在本文中揭示為由古典電腦執行的功能可改為由量子電腦執行。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示出本發明之實施例的因數; 圖20A至圖20B及圖21A至圖21B示出圖示說明本發明之各種實施例之效能的曲線圖; 圖22A至圖22B示出本發明之各種實施例的因數; 圖23A至圖23B及圖24A至圖24B示出圖示說明本發明之各種實施例之效能的曲線圖; 圖25A至圖25B示出本發明之各種實施例的因數; 圖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 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 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 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)
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)
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)
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)
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 |
-
2020
- 2020-11-16 TW TW109139876A patent/TWI783297B/en active
Cited By (2)
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 |