[Paper Review] Function Approximation with Quantum Circuit
This paper proposes a two-qubit parameterized quantum circuit that approximates functions using the expectation value of a diagonal operator, proving it can represent cubic polynomials via Taylor expansion. Simulations demonstrate accurate approximation of quadratic, Gaussian, and sigmoid functions with low error, validating its potential for quantum-enhanced machine learning components.
A mathematical proposition with a trainable pair, operator and quantum circuit, are introduced to approximate functions expressed as cubic Taylor polynomials, numerical simulations illustrate three cases.
Motivation & Objective
- To demonstrate that parameterized quantum circuits can approximate complex functions using trainable parameters and operators.
- To prove mathematically that the expectation value of a quantum circuit can represent a cubic polynomial via Taylor series expansion.
- To show that sigmoid functions—foundational in neural networks—can be effectively approximated using quantum circuits.
- To evaluate the approximation performance of small quantum circuits on non-polynomial functions like Gaussian and sigmoid.
- To explore the trade-off between quantum circuit complexity and approximation accuracy.
Proposed method
- A two-qubit parameterized quantum circuit is constructed using rotation gates R(x−θi) and Hadamard gates, initialized in |00⟩.
- The circuit unitary U is defined as R(x−θ2)⊗R(x−θ1)(H⊗H), encoding input x into the quantum state |ψ(θ1,θ2,x)⟩.
- The expectation value ⟨G⟩ is computed using a diagonal operator G with entries g0 to g3, resulting in a cubic polynomial in x.
- The coefficients of the cubic polynomial a0 to a3 are functions of θ1, θ2, and G’s diagonal elements.
- A performance index J = Σ(f(xk)−f̂(xk))² is minimized using a chemotaxis-based optimization algorithm over 30 samples in [−1.5, 1.5].
- Theoretical derivation confirms that Taylor expansion of rotation gate amplitudes yields quadratic amplitudes, leading to cubic expectation values.
Experimental results
Research questions
- RQ1Can a two-qubit parameterized quantum circuit approximate a cubic polynomial via its expectation value?
- RQ2To what extent can such a circuit approximate non-polynomial functions like Gaussian and sigmoid?
- RQ3How does the approximation error relate to the complexity of the quantum circuit and parameter tuning?
- RQ4Can the expectation value of a quantum circuit serve as a universal function approximator for key activation functions in neural networks?
- RQ5What is the performance of a bioinspired optimization algorithm in training the quantum circuit for function approximation?
Key findings
- The expectation value ⟨G⟩ of the two-qubit quantum circuit was mathematically proven to represent a cubic polynomial in x with tunable coefficients.
- For the quadratic function f(x) = x², the final performance index J was 0.03 after 5000 iterations, with θ = [1.373, 1.770] and G having diagonal entries [-0.081, 2.260, 2.272, 4.954].
- For the Gaussian function f(x) = e⁻ˣ², the approximation achieved J = 0.005, with θ = [0.497, -0.498] and G = diag[-0.088, 1.152, 1.711, -0.089].
- The sigmoid function f(x) = tanh(x) was approximated with J = 0.006, using θ = [0.266, 0.069] and G = diag[-0.885, 0.055, 0.466, 0.931].
- The simulations confirm that the quantum circuit can approximate universal function classes, including those critical to neural networks, with low error.
- The approximation error is sensitive to circuit complexity and parameter tuning, with smaller J values indicating higher fidelity for smoother functions.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.