One promising application of quantum computers is quantitative finance. Quantitative finance involves a variety of mathematical frameworks depending on the target problem, and partial differential equations (PDEs) are one such framework. PDEs also frequently appear in fields known as CAE (Computer-Aided Engineering), such as fluid dynamics and structural analysis, and many approaches have been proposed for solving or accelerating them with quantum computers (see our tech-blog post).
In this article, we introduce a quantum circuit implementation and resource estimation using QURI SDK for the Black–Scholes equation, a PDE used in a canonical quantitative-finance problem: option pricing. More specifically, we discretize the Black–Scholes equation using the finite difference method, design and simulate a quantum circuit that computes the solution using a method called LCHS (Linear Combination of Hamiltonian Simulation), and estimate the required computational resources.
Note: To keep the article concise, some technical details are omitted. Please refer to the references for further details.
Quantitative finance
Quantitative finance is a field that treats pricing of financial derivatives, risk management, investment decisions, and so on. Typical problems include:
- How to model changes in asset prices — representing how stock prices, interest rates, exchange rates, and similar quantities evolve over time using mathematical formulas
- How to evaluate financial derivatives at a “fair price” — determining the price of a contract that depends on an underlying asset, such as a stock
- How to manage and optimize risk — deciding how to choose a portfolio of assets and how to measure the risk of loss
Corresponding to these problems, different mathematical frameworks are used, such as stochastic differential equations for asset price models, partial differential equations for pricing equations, and optimization problems for portfolio optimization.
The “option” considered in this article is a type of financial derivative that gives the holder the right to buy or sell an underlying asset, such as a stock, at a predetermined price, called the strike price , at a predetermined future time, called the maturity . Depending on when the option can be exercised, options are classified into types such as European options, which can be exercised only at maturity, and American options, which can be exercised at any time up to maturity.
Below, we consider a European call option, which is the right to buy. If the underlying asset price at maturity is , then when the holder can exercise the right and obtain a profit of . When , the holder can simply abandon the option. Therefore, the value at maturity is expressed as . The goal is to evaluate the present value of this option.
The Black–Scholes equation
As the simplest asset price model, assume that the underlying asset price at time follows geometric Brownian motion:
Here, is standard Brownian motion, while and are constants called the drift and volatility, respectively. Under assumptions such as a frictionless market with no transaction costs and the no-arbitrage condition that there are no trading opportunities that guarantee profit without risk, the option price when the underlying asset price is at time satisfies the following PDE:
Here, is the risk-free interest rate. The terminal condition is . This is the one-asset Black–Scholes equation, which can be extended to multi-asset cases by considering multiple underlying assets.
For the one-asset case, the following analytical solution is known:
Here, is the cumulative distribution function of the standard normal distribution. Figure 1 shows the analytical solution for different remaining times to maturity, with parameters . As maturity approaches, the analytical solution approaches the payoff at maturity, , shown by the dashed line. In general, analytical solutions do not exist for multi-asset cases, so numerical computation is required.
Figure 1: Analytical solution of the one-asset Black–Scholes equation
Boundary conditions
To determine the solution, boundary conditions must be given at both ends, and . At , the option value is identically , so . On the other hand, as , a call option becomes approximately equivalent to a contract that will almost certainly be exercised. Under continuously compounded interest rate , the value at maturity corresponds to at the present time , so the price is . In particular, the derivative with respect to asymptotically approaches . These behaviors are also consistent with the analytical solution.
Quantum circuit implementation strategy
A linear PDE such as the Black–Scholes equation can be rewritten as an affine map for an -dimensional vector , whose entries are the values at each grid point at time , by discretizing the spatial direction — in this case, the underlying asset price — into points:
Here, is an -by- square matrix and is an -dimensional vector. The price at maturity , or payoff, is known, and the quantity we want is the price at the present time. Formally, this can be computed as:
This form is exactly the same as that of linear PDEs appearing in CAE fields such as fluid and structural analysis, so existing quantum algorithms such as Schrödingerisation can be applied directly [1]. In this study, we adopt a method called LCHS, which implements non-unitary time evolution as a weighted sum of unitary operations.
Quantum circuit implementation using LCHS
Spatial discretization
For a sufficiently large upper bound , we discretize the underlying asset price into points, , with spacing , and define . Using a central finite difference approximation, the Black–Scholes equation becomes the following system of ordinary differential equations for (the argument is omitted for simplicity):
At the endpoints, the boundary condition allows us to set for . At , a virtual grid point appears, but from the boundary condition , we set .
Let the vector of prices at each grid point be:
By rearranging this equation, we obtain the matrix and vector . The terminal values are .
LCHS
The matrix is generally not anti-Hermitian, and the time evolution above is non-unitary. Quantum computers, however, naturally implement unitary transformations. Therefore, additional techniques are needed to compute non-unitary time evolution.
LCHS (Linear Combination of Hamiltonian Simulation) is a method that represents non-unitary time evolution as a weighted integral of unitary time evolutions :
Here:
- is called a kernel function.
- The number of partitions is , the width is , and the representative point of each partition is .
- and are both Hermitian matrices.
Each can be implemented using QSVT (Quantum Singular Value Transformation), while the summation over can be implemented using LCU (Linear Combination of Unitaries). QSVT uses a quantum circuit that embeds an arbitrary matrix, not necessarily unitary, as a submatrix, and realizes a new quantum circuit that embeds various polynomial transformations of the matrix’s eigenvalues or singular values. Here, we realize the unitary time evolution by approximating with a finite-degree polynomial in [2].
The kernel function must satisfy several mathematical constraints. Here, we use the function proposed by Low and Somma [3]:
Here, is a real number chosen according to the allowed error.
In simulations using LCHS, errors arise both from making the integration interval finite and discretizing it in Equation (1), which is the error of LCHS itself, and from approximating by a finite-degree polynomial in QSVT. In actual simulations, the partitions and polynomial degree must be chosen appropriately according to the allowed error of the overall solution.
LCHS also requires realizing the Hermitian matrices and as quantum circuits. For example, in this case, the diagonal element of is given as a polynomial in , such as . In this study, we implement and compare two approaches: Encoding A, which classically computes this polynomial and implements the corresponding components using multi-controlled gates, and Encoding B, which computes the polynomial on a quantum circuit.
Scaling and quantum advantage
Let the number of grid points be , and consider costs that depend on the number of grid points. Omitting the details, the number of gates required to embed each matrix into a quantum circuit is for Encoding A and for Encoding B; the trade-off is that Encoding B requires more auxiliary qubits. In the following, unless otherwise stated, we assume the gate-efficient Encoding B. Because the equation contains a second-derivative term, the norm of the matrix scales as . As a result, the number of QSVT calls increases accordingly, and the number of gates required for time evolution is .
In actual quantum computation, in addition to the implementation of the time-evolution part described so far, it is necessary to prepare the initial quantum state and read out the computational result.
- For the initial state preparation, we prepare a quantum state corresponding to the terminal condition at , embedding the simple piecewise linear function into the amplitudes of the state. This can be achieved with cost .
- By measuring the quantum state obtained after time-evolution simulation using LCHS, we can read out the option price at . Since the typical amplitude of each computational basis state in the final state is , quantum amplitude estimation to obtain a specific is estimated to require operations.
Combining these components, the cost of quantum computation that depends on the number of grid points becomes:
On the other hand, in classical computation, the computational complexity of a matrix exponential is generally known to be when using methods such as eigendecomposition, suggesting a possible quantum advantage. However, in a case like this one, where we only need to compute for a sparse matrix and a single initial vector, Krylov subspace methods can be used, and the dominant cost is expected to be around . Therefore, it is difficult to make a definitive statement about quantum advantage.
As this illustrates, asymptotic order analysis alone is insufficient to determine whether quantum advantage can be obtained for a practical problem. To reliably assess the potential of computation using quantum computers, it is necessary to estimate the required number of gates and qubits for concrete problem sizes and error tolerances.
QURI SDK [4] makes it easy to perform such concrete resource estimation. In this study, we therefore used QURI SDK to implement and design an LCHS quantum circuit, compiled it into a standard gate set for fault-tolerant quantum computers — Clifford gates, gates, single-qubit Pauli rotation gates, and Toffoli gates — and quantitatively evaluated the required resources. These gates were further decomposed into Clifford gates and single-qubit Pauli rotation gates, and the latter were plotted as the “number of Pauli rotation gates.” In fault-tolerant quantum computation, non-Clifford gates are expected to account for the majority of computational cost, so this number is considered a useful indicator of actual cost.
Results
One-asset Black–Scholes equation
Figure 2 shows the results for parameters , with LCHS allowed error and QSVT allowed error . In the left plot, “LCHS” is the result computed by a quantum circuit, simulated with a classical vector simulator; “Classical LCHS” is the result obtained by classically computing each without discretizing the integral; “Matrix exponential” is the result obtained by directly computing classically; and “Analytical” is the analytical solution. The option prices agree well with the analytical solution, and the error for each approximation step is plotted in the right panel.
Figure 2: Numerical results for the one-asset Black–Scholes equation (left) and errors (right)
Next, Figure 3 shows the estimated number of Pauli rotation gates required and the number of logical qubits including auxiliary qubits, as functions of the number of grid points . As mentioned above, the theoretical order of the gate count is ; for easier visual interpretation, is plotted in the figure. Although Encoding B requires more qubits than Encoding A, the gate count indeed appears to approach the theoretical order asymptotically.
Figure 3: Number of Pauli rotation gates (left) and number of logical qubits after compilation (right)
Two-asset Black–Scholes equation
The same framework can also be extended to the multi-asset case. The two-asset Black–Scholes equation is:
Here, is the volatility of asset , is the risk-free interest rate, and is the correlation coefficient between the two assets. As the terminal condition, we adopt a worst-of call:
The corresponding boundary conditions are:
As in the one-asset case, if we discretize and into and points respectively, the price is represented as an -dimensional vector. By applying central finite difference approximations and rearranging the coefficients, we obtain a homogeneous equation , so we only need to compute .
Figure 4 shows the results for parameters , with LCHS allowed error and QSVT allowed error . The characteristics of a worst-of call, whose value depends on the smaller underlying asset price, are visible. The right plot shows the number of Pauli rotation gates required for Encoding B as a function of grid points , together with a fit against . The dominant order of the gate count is approximately , which is consistent with the known theoretical order .
Figure 4: Numerical results for the two-asset Black–Scholes equation (left) and number of Pauli rotation gates (right)
Summary and future outlook
In this study, we implemented quantum circuits and performed simulations using LCHS for the problem of solving one-asset and two-asset Black–Scholes equations. We also varied the number of grid points used in the solution and estimated the required computational resources, including the number of non-Clifford gates and logical qubits.
Future work includes extending the approach to models that reflect more realistic markets, such as those with time-dependent interest rates and volatilities.
The resources estimated in this study assume an ideal quantum computer without considering error correction. Looking toward actual implementation on fault-tolerant quantum computers (FTQCs), it will be necessary to estimate physical qubit counts, gate counts, and execution time while taking encoding with quantum error-correcting codes such as the surface code into account. QURI SDK includes a feature called QURI VM, which performs compilation and resource estimation for surface-code-based architectures. Using QURI VM to evaluate resources in a form closer to actual hardware is an important direction for future work.
References
[1] N. Guseynov, N. Liu, C. S. Pun, T. Vaidya, “End-to-End PDE-Based Quantum Algorithms for Multi-Asset Option Pricing under Local and Stochastic Volatility,” arXiv:2605.26610 (2026).
[2] J. M. Martyn, Z. M. Rossi, A. K. Tan, I. L. Chuang, “Grand Unification of Quantum Algorithms,” PRX Quantum 2, 040203 (2021).
[3] G. H. Low, R. D. Somma, “Optimal quantum simulation of linear non-unitary dynamics,” arXiv:2508.19238 (2025).
[4] QunaSys Inc., https://quri-sdk.qunasys.com
QunaSys Tech Blog