Quantum Image Loading: Hierarchical Learning and Block-Amplitude Encoding
Hrant Gharibyan, Hovnatan Karapetyan, Tigran Sedrakyan · 2025
Read Quantum Image Loading: Hierarchical Learning and Block-Amplitude Encoding by Hrant Gharibyan, Hovnatan Karapetyan, Tigran Sedrakyan (2025) in the Tower of Babel, a free online library of public-domain works preserved in clean, searchable text. No sign-up. The full text is served as a plain-text file at a predictable URL, where text is present: https://antarctic-labs.com/tower-of-babel/arxiv-2504-10592.txt.
Introduction
Hrant Gharibyan and co-authors work on a basic chore for quantum machine learning: loading a picture into a quantum state. Their approach grows out of a hierarchical learning framework in which a few qubits carry an outsized share of the information in an amplitude encoding. The team extends that idea to images, teaching circuits to encode handwritten digits from the standard MNIST set and road scenes from a Honda driving dataset.
They also try block amplitude encoding, where separate parts of an image live in smaller states multiplied together. Simulations and workflow management ran on the BlueQubit platform. Finally the learned circuits were deployed on real IBM and Quantinuum quantum hardware. The circuits proved shallow enough to run within today's noise limits, a practical checkpoint for quantum image processing.
Catalog record
| CREATOR | Hrant Gharibyan, Hovnatan Karapetyan, Tigran Sedrakyan |
|---|---|
| YEAR | 2025 |
| COLLECTION | PAPERS |
| FORMAT | TXT |
| FILE SIZE | 41 KB |
| VERSION | 1.0 |
| LICENSE | http://creativecommons.org/licenses/by/4.0/ |
| RIGHTS | CC BY |
| SOURCE | arXiv |
Source: https://arxiv.org/abs/2504-10592
Browse the full library · About the Tower of Babel
Full text
The opening of the work, from the library's hosted text:
Quantum Image Loading: Hierarchical Learning and Block-Amplitude Encoding Hrant Gharibyan, Hovnatan Karapetyan, Tigran Sedrakyan Abstract Given the excitement for the potential of quantum computing for machine learning methods, a natural subproblem is how to load classical data into a quantum state. Leveraging insights from [ GST24 ] where certain qubits play an outsized role in the amplitude encoding, we extend the hierarchical learning framework to encode images into quantum states. We successfully load digits from the MNIST dataset as well as road scenes from the Honda Scenes dataset. Additionally, we consider the use of block amplitude encoding, where different parts of the image are encoded in a tensor product of smaller states. The simulations and overall orchestration of workflows was done on the BlueQubit platform. Finally, we deploy our learned circuits on both IBM and Quantinuum hardware and find that these loading circuits are sufficiently shallow to fit within existing noise rates. 1 Introduction Quantum computers are racing to fault tolerance with several companies posting roadmaps for achieving that within the next decade. With recent advances in the hardware, a growing number of experiments are believed to be pushing the boundary of what is feasible to simulate classically. However, it is less clear which of the applications of quantum computing, ranging from optimization to simulation to machine learning, is most likely to surpass existing classical competition. In the domain of machine learning, one difficulty in this comparison to classical methods is the way that classical data is loaded. For example, there are many inequivalent ways to encode an N dimensional vector into the quantum state of n qubits, each with their own challenges of how to practically prepare such a state in physical hardware. Due to the inherent probabilistic nature of measurement in quantum mechanics, it is natural to consider using quantum states to encode probability distributions. Probability distributions are also important for machine learning since one often works under the assumption that the data in question is from an underlying distribution. Two main approaches for the state preparation task include quantum circuit born machines (QCBMs) [ LW18a , ZLB+19 , CHL+20 ] and quantum generative adversarial networks (QGANs) [ DDK18 , LW18b , HDG+21 , ZLW19 ] . Both approaches involve using variational circuits U(\theta) to produce a measurement distribution q_{\theta}(x)=|\braket{x|U(\theta)|\psi_{0}}|^{2} that mimics a specified probability distribution. Once the variational circuit is learned, it can be loaded many times and measured to produce samples from the distribution q_{\theta} . If the distribution is smooth, one can employ techniques to take advantage of the structure with a low entanglement ansatz, as in Ref. [ IJZ24 ] . In the spirit of ADAPT-VQE [ GEBM19 ] , Ref. [ SUY21 ] proposed loading states by maximizing fidelity with a quantum circuit where the structure and gates are not fixed beforehand. This approach was used to load classical digits in Ref. [ PHM+23 ] and for loading stock data in Ref. [ NUS+22 ] . In many of these existing applications, numerical simulations were used to get access to the wavefunction. In addition to the exponentially growing memory requirements for simulating a larger numbers of qubits, training of these variational circuits in general suffer from the barren plateau problem [ MBS+18 ] (see Ref. [ LTW+24 ] for a review). However, in recent work [ GST24 ] , we were able to encode a multidimensional gaussian distribution on 27 qubits. Variational training on this large quantum state was enabled by a technique called hierarchical learning where the structure of the qubit encoding is used to focus on learning fewer qubit circuits before gradually learning the full qubit state. Here, we extend this technique to loading image data, which can be classically pre-processed to mimic a probability distribution. This is akin to amplitude encoding, though we focus on the resulting classical distribution, meaning we do not necessarily impose specific relative phases in the wavefunction. Since the encoding of the image data also utilizes an ordering on the qubits, we can apply our hierarchical learning techniques. Generically, this encoding will use \lceil{\log N}\rceil qubits, but we also consider the use of block encoding (also explored in [ HDG+21 , NUS+22 ] ), where image data is segmented into smaller images, each of which is encoded independently. We showcase the effectiveness of our methods by training QCBMs to load images from the MNIST and Honda Scenes dataset. With an aim to load these into existing quantum devices, we optimize our variational circuits with limited circuit depth in mind. In Section 2 , we provide background on QCBMs as well as the mapping between probability distributions and the qubits. In Section 3 , we discuss how images can be mapped to probability distributions and benchmark the performance of hierarchical loading on various images. We briefly review block amplitude encoding, segmenting the loading of images into separate qubit registers, in Section 4 . We proceed to run these image loading circuits on IBM and Quantinuum devices, reporting our results in Section 5 and concluding in Section 6 . Additional details of both the simulation tools and hardware used to run experiments are shared in App. A . 2 Review of QCBMs and Hierarchical Learning Due to the probabilistic nature of measurement in quantum mechanics, measurement outcomes naturally form a probability distribution. Quantum Circuit Born Machines (QCBMs) are quantum circuits whose goal is to prepare a wavefunction that mimics a (classical) target distribution p(x) . A variational quantum circuit U(\theta) acting on an initial n qubit state, prepares a trial wavefunction \psi(\theta) that can be expanded in e.g. the computational basis \ket{\psi(\theta)}=U(\theta)\ket{0^{n}}=\sum_{b=1}^{2^{n}}c_{\theta}(b)\ket{b}\,. (1) Here, the summation over b can be interpreted as the bitstrings of measurement outcomes of the n qubits. The most straightforward mapping is to treat p(x) as a vector whose entries can be indexed with the same discrete labels as the bit string. This is simply the integer representation of the bits, e.g. b\rightarrow x=\sum_{i=1}^{n}b_{i}2^{n-i}\,, (2) where x is the integer index of the vector. Note that this implies an ordering of the qubits where the first qubit plays the role of the most significant bit. In this work, we will treat the classical input data to be loaded as a probability distribution. We appropriately normalize the data and keep track of the normalization separately. The goal of QCBMs is then to tune the parameters \theta such that the generated distribution q_{\theta}(x)=|c_{\theta}(x)|^{2} of the state matches p(x) . One can then easily prepare the data in a quantum device if one has a shallow circuit description of U(\theta) . The design and optimization of variational circuits is in general a difficult problem due to vanishing gradients [ MBS+18 , HSCC22 , CSV+21 ] and the general lack of training guarantees. In our recent article [ GST24 ] , we have successfully employed a novel hierarchical learning method to load a multi-dimensional Gaussian distribution into a quantum device. The core principle of hierarchical learning involves a tiered approach to learning distributions, where the process begins by focusing on the most significant digits and progressively integrates additional qubits to represent the less significant digits. This method allows for a structured and prioritized learning sequence that can improve