Challenges
Datasets
Workspaces
Papers
Discussions
Leaderboard
Log inSign up
Challenges
Datasets
Workspaces
Papers
Discussions
Leaderboard
Blog
Job Board
Q3AS

© 2026 Aqora Quantum S.A.S.

TermsPrivacyLegal Notice

Physical Review A

Hamiltonian-based data loading with shallow quantum circuits

Bojia Duan, Chang‐Yu Hsieh

Published Nov 18, 2022• 7 citations
Publisher

Abstract

Data loading with shallow quantum circuits is a highly desirable ingredient for efficient execution of many quantum algorithms before large-scale quantum error corrections with full fault tolerance become readily available. The need for efficient data loading is especially urgent for the study of quantum machine learning. In this work, we propose a protocol that only uses a parameterized shallow quantum circuit without ancilla qubits for loading data into the amplitude of a quantum state with high fidelity. We term this data-loading method Hamiltonian-based data loading (HDL), which comprises two stages. First, the HDL algorithm identifies a Hamiltonian $\stackrel{\ifmmode \hat{}\else \^{}\fi{}}{H}$ whose unique ground state $|\ensuremath{\psi}\ensuremath{\rangle}$ represents the normalized data $\stackrel{P\vec}{x}$ in the form of amplitude encoding. Next, the target state is reconstructed with a parameterized quantum circuit by utilizing methods like variational quantum eigensolver to minimize energy. In this work, we provide three convincing examples to demonstrate the effectiveness of HDL for loading an $N$-dimensional classical data with minimal quantum resources ($O[\mathrm{poly}({log}_{2}N)]$-depth quantum circuit without ancilla qubits). Our approach is particularly useful for quantum hardware without large-scale error corrections, and shall benefit the development of quantum machine learning algorithms.

DOI
10.1103/physreva.106.052422

Related papers

Neural Circuit Parameter Prediction for Efficient Quantum Data Loading

Dohun Kim, Sunghye Park, Seokhyeong Kang

Quantum machine learning (QML) has demonstrated the potential to outperform classical machine learning algorithms in various fields. However, encoding classical data into quantum states, known as quantum data loading, remains a challenge. Existing methods achieve high accuracy in loading single data, but lack efficiency for large-scale data loading tasks. In this work, we propose Neural Circuit Parameter Prediction, a novel method that leverages classical deep neural networks to predict the parameters of parameterized quantum circuits directly from the input data. This approach benefits from the batch inference capability of neural networks and improves the accuracy of quantum data loading. We introduce real-valued parameterization of quantum circuits and a three-phase training strategy to further enhance training efficiency and accuracy. Experimental results on MNIST dataset show that our method achieves a 17.31 % improvement in infidelity score and 108 times faster runtime compared to existing methods. Our approach provides an efficient solution for quantum data loading, enabling the practical deployment of QML algorithms on large-scale datasets.

Design, Automation, and Test in Europe•Mar 31, 2025•1 citation

Quantum State Preparation via Neural Network Encoding in Quantum Machine Learning

Kevin W. Aoun, Florian J. Kiwit, Carlos A. Riofrío +4 more

A central challenge in quantum machine learning is the state preparation bottleneck that describes the prohibitive computational cost of loading high-dimensional classical data into a quantum state. Although amplitude encoding can represent $2^n$-dimensional data using only $n$ qubits in principle, preparing arbitrary states remains computationally expensive, typically requiring variational optimization of a parameterized quantum circuit for each individual data instance. In this work, we propose a method that avoids iterative optimization by training a classical neural network to map input data directly to the continuous parameters of a fixed quantum circuit. We demonstrate the generation of quantum image states with high fidelity on data not seen during training. Since all optimization is performed once during training, the resulting model encodes new inputs in a single inference step, providing a scalable pathway for data loading in near-term quantum algorithms. We validate our method on the MNIST and Fashion-MNIST datasets, achieving fidelities up to 0.992 on unseen images and reducing the per-data-instance runtime by more than 5000-fold.

quant-pharXiv:2605.31006•Jun 1, 2026•0 citations

Typical machine learning datasets as low-depth quantum circuits

Florian J. Kiwit, Bernhard Jobst, André Luckow +2 more

Abstract Quantum machine learning (QML) is an emerging field that investigates the capabilities of quantum computers for learning tasks. While QML models can theoretically offer advantages such as exponential speed-ups, challenges in data loading and the ability to scale to relevant problem sizes have prevented demonstrations of such advantages on practical problems. In particular, the encoding of arbitrary classical data into quantum states usually comes at a high computational cost, either in terms of qubits or gate count. However, real-world data typically exhibits some inherent structure (such as image data) which can be leveraged to load them with a much smaller cost on a quantum computer. This work further develops an efficient algorithm for finding low-depth quantum circuits to load classical image data as quantum states. To evaluate its effectiveness, we conduct systematic studies on the MNIST, Fashion-MNIST, CIFAR-10, and Imagenette datasets. The corresponding circuits for loading the full large-scale datasets are available publicly as PennyLane datasets and can be used by the community for their own benchmarks. We further analyze the performance of various quantum classifiers, such as quantum kernel methods, parameterized quantum circuits, and tensor-network classifiers, and we compare them to convolutional neural networks. In particular, we focus on the performance of the quantum classifiers as we introduce nonlinear functions of the input state, e.g. by letting the circuit parameters depend on the input state.

arXiv:2505.03399•Quantum Science and Technology•Sep 1, 2025•2 citations

Shallow-circuit Supervised Learning on a Quantum Processor

Luca Candelori, Swarnadeep Majumder, Antonio Mezzacapo +6 more

Quantum computing has long promised transformative advances in data analysis, yet practical quantum machine learning has remained elusive due to fundamental obstacles such as a steep quantum cost for the loading of classical data and poor trainability of many quantum machine learning algorithms designed for near-term quantum hardware. In this work, we show that one can overcome these obstacles by using a linear Hamiltonian-based machine learning method which provides a compact quantum representation of classical data via ground state problems for k-local Hamiltonians. We use the recent sample-based Krylov quantum diagonalization method to compute low-energy states of the data Hamiltonians, whose parameters are trained to express classical datasets through local gradients. We demonstrate the efficacy and scalability of the methods by performing experiments on benchmark datasets using up to 50 qubits of an IBM Heron quantum processor.

quant-pharXiv:2601.03235•Jan 7, 2026•0 citations

Approximate amplitude encoding in shallow parameterized quantum circuits and its application to financial market indicators

Kouhei Nakaji, Shumpei Uno, Yohichi Suzuki +6 more

Efficient methods for loading given classical data into quantum circuits are essential for various quantum algorithms. In this paper, we propose an algorithm called Approximate Amplitude Encoding that can effectively load all the components of a given real-valued data vector into the amplitude of quantum state, while the previous proposal can load only the absolute values of those components. The key of our algorithm is to variationally train a shallow parameterized quantum circuit, using the results of two types of measurement: the standard computational-basis measurement plus the measurement in the Hadamard-transformed basis, introduced in order to handle the sign of the data components. The variational algorithm changes the circuit parameters so as to minimize the sum of two costs corresponding to those two measurement basis, both of which are given by the efficiently computable maximum mean discrepancy. We also consider the problem of constructing the singular value decomposition entropy via the stock market data set to give a financial market indicator; a quantum algorithm (the variational singular value decomposition algorithm) is known to produce a solution faster than classical, which yet requires the sign-dependent amplitude encoding. We demonstrate, with an in-depth numerical analysis, that our algorithm realizes loading of time series of real stock prices on quantum state with small approximation error, and thereby it enables constructing an indicator of the financial market based on the stock prices.

arXiv:2103.13211•Physical Review Research•May 20, 2022•98 citations

Shallow quantum circuits for efficient preparation of Slater determinants and correlated states on a quantum computer

Chong Hian Chee, Daniel Leykam, Adrian Matthew Mak +1 more

Fermionic Ansatz state preparation is a critical subroutine in many quantum algorithms such as the variational quantum eigensolver for quantum chemistry and condensed-matter applications. The shallowest circuit depth needed to prepare Slater determinants and correlated states to date scales at least linearly with respect to the system size $N$. Inspired by data-loading circuits developed for quantum machine learning, we propose an alternate paradigm that provides shallower, yet scalable, $O(d{log}_{2}^{2}N)$ two-qubit gate-depth circuits to prepare such states with $d$ fermions, offering a subexponential reduction in $N$ over existing approaches in second quantization, enabling high-accuracy studies of $d\ensuremath{\ll}O(N/{log}_{2}^{2}N)$ fermionic systems with larger basis sets on near-term quantum devices.

arXiv:2301.07477•Physical Review A•Aug 18, 2023•6 citations
Data loading with shallow quantum circuits is a highly desirable ingredient for efficient execution of many quantum algorithms before large-scale quantum error corrections with full fault tolerance become readily available. The need for efficient data loading is especially urgent for the study of quantum machine learning. In this work, we propose a protocol that only uses a parameterized shallow quantum circuit without ancilla qubits for loading data into the amplitude of a quantum state with high fidelity. We term this data-loading method Hamiltonian-based data loading (HDL), which comprises two stages. First, the HDL algorithm identifies a Hamiltonian H\ifmmode^\elseˆ\fi\stackrel{\ifmmode \hat{}\else \^{}\fi{}}{H}H\ifmmode^\elseˆ\fi​ whose unique ground state ∣\ensuremathψ\ensuremath⟩|\ensuremath{\psi}\ensuremath{\rangle}∣\ensuremathψ\ensuremath⟩ represents the normalized data \stackrel{P\vec}{x} in the form of amplitude encoding. Next, the target state is reconstructed with a parameterized quantum circuit by utilizing methods like variational quantum eigensolver to minimize energy. In this work, we provide three convincing examples to demonstrate the effectiveness of HDL for loading an NNN-dimensional classical data with minimal quantum resources (O[poly(log2N)]O[\mathrm{poly}({log}_{2}N)]O[poly(log2​N)]-depth quantum circuit without ancilla qubits). Our approach is particularly useful for quantum hardware without large-scale error corrections, and shall benefit the development of quantum machine learning algorithms.
Quantum machine learning (QML) has demonstrated the potential to outperform classical machine learning algorithms in various fields. However, encoding classical data into quantum states, known as quantum data loading, remains a challenge. Existing methods achieve high accuracy in loading single data, but lack efficiency for large-scale data loading tasks. In this work, we propose Neural Circuit Parameter Prediction, a novel method that leverages classical deep neural networks to predict the parameters of parameterized quantum circuits directly from the input data. This approach benefits from the batch inference capability of neural networks and improves the accuracy of quantum data loading. We introduce real-valued parameterization of quantum circuits and a three-phase training strategy to further enhance training efficiency and accuracy. Experimental results on MNIST dataset show that our method achieves a 17.31 % improvement in infidelity score and 108 times faster runtime compared to existing methods. Our approach provides an efficient solution for quantum data loading, enabling the practical deployment of QML algorithms on large-scale datasets.
A central challenge in quantum machine learning is the state preparation bottleneck that describes the prohibitive computational cost of loading high-dimensional classical data into a quantum state. Although amplitude encoding can represent 2n2^n2n-dimensional data using only nnn qubits in principle, preparing arbitrary states remains computationally expensive, typically requiring variational optimization of a parameterized quantum circuit for each individual data instance. In this work, we propose a method that avoids iterative optimization by training a classical neural network to map input data directly to the continuous parameters of a fixed quantum circuit. We demonstrate the generation of quantum image states with high fidelity on data not seen during training. Since all optimization is performed once during training, the resulting model encodes new inputs in a single inference step, providing a scalable pathway for data loading in near-term quantum algorithms. We validate our method on the MNIST and Fashion-MNIST datasets, achieving fidelities up to 0.992 on unseen images and reducing the per-data-instance runtime by more than 5000-fold.
Abstract Quantum machine learning (QML) is an emerging field that investigates the capabilities of quantum computers for learning tasks. While QML models can theoretically offer advantages such as exponential speed-ups, challenges in data loading and the ability to scale to relevant problem sizes have prevented demonstrations of such advantages on practical problems. In particular, the encoding of arbitrary classical data into quantum states usually comes at a high computational cost, either in terms of qubits or gate count. However, real-world data typically exhibits some inherent structure (such as image data) which can be leveraged to load them with a much smaller cost on a quantum computer. This work further develops an efficient algorithm for finding low-depth quantum circuits to load classical image data as quantum states. To evaluate its effectiveness, we conduct systematic studies on the MNIST, Fashion-MNIST, CIFAR-10, and Imagenette datasets. The corresponding circuits for loading the full large-scale datasets are available publicly as PennyLane datasets and can be used by the community for their own benchmarks. We further analyze the performance of various quantum classifiers, such as quantum kernel methods, parameterized quantum circuits, and tensor-network classifiers, and we compare them to convolutional neural networks. In particular, we focus on the performance of the quantum classifiers as we introduce nonlinear functions of the input state, e.g. by letting the circuit parameters depend on the input state.
Quantum computing has long promised transformative advances in data analysis, yet practical quantum machine learning has remained elusive due to fundamental obstacles such as a steep quantum cost for the loading of classical data and poor trainability of many quantum machine learning algorithms designed for near-term quantum hardware. In this work, we show that one can overcome these obstacles by using a linear Hamiltonian-based machine learning method which provides a compact quantum representation of classical data via ground state problems for k-local Hamiltonians. We use the recent sample-based Krylov quantum diagonalization method to compute low-energy states of the data Hamiltonians, whose parameters are trained to express classical datasets through local gradients. We demonstrate the efficacy and scalability of the methods by performing experiments on benchmark datasets using up to 50 qubits of an IBM Heron quantum processor.
Efficient methods for loading given classical data into quantum circuits are essential for various quantum algorithms. In this paper, we propose an algorithm called Approximate Amplitude Encoding that can effectively load all the components of a given real-valued data vector into the amplitude of quantum state, while the previous proposal can load only the absolute values of those components. The key of our algorithm is to variationally train a shallow parameterized quantum circuit, using the results of two types of measurement: the standard computational-basis measurement plus the measurement in the Hadamard-transformed basis, introduced in order to handle the sign of the data components. The variational algorithm changes the circuit parameters so as to minimize the sum of two costs corresponding to those two measurement basis, both of which are given by the efficiently computable maximum mean discrepancy. We also consider the problem of constructing the singular value decomposition entropy via the stock market data set to give a financial market indicator; a quantum algorithm (the variational singular value decomposition algorithm) is known to produce a solution faster than classical, which yet requires the sign-dependent amplitude encoding. We demonstrate, with an in-depth numerical analysis, that our algorithm realizes loading of time series of real stock prices on quantum state with small approximation error, and thereby it enables constructing an indicator of the financial market based on the stock prices.
Fermionic Ansatz state preparation is a critical subroutine in many quantum algorithms such as the variational quantum eigensolver for quantum chemistry and condensed-matter applications. The shallowest circuit depth needed to prepare Slater determinants and correlated states to date scales at least linearly with respect to the system size NNN. Inspired by data-loading circuits developed for quantum machine learning, we propose an alternate paradigm that provides shallower, yet scalable, O(dlog22N)O(d{log}_{2}^{2}N)O(dlog22​N) two-qubit gate-depth circuits to prepare such states with ddd fermions, offering a subexponential reduction in NNN over existing approaches in second quantization, enabling high-accuracy studies of $d\ensuremath{\ll}O(N/{log}_{2}^{2}N)$ fermionic systems with larger basis sets on near-term quantum devices.