Quantum data encoding as a distinct abstraction layer in the design of quantum circuits
Gabriele Agliardi, Enrico Prati
TL;DR
The paper confronts the lack of a systematic formalization for quantum data encoding by introducing quantum data encoding as a distinct abstraction layer that separates encoding from data loading, processing, and extraction. It develops a taxonomy of encodings for single data points, data sets, and multiple data sets, and presents exact and approximate loading methods, including conversions between encodings via mechanisms like the Quantum Fourier Transform. It reinterprets key quantum algorithms—QFT as an encoding converter and Quantum Amplitude Estimation as a data-extraction routine—and demonstrates their utility in quantum-based Monte Carlo simulations, highlighting how encoding choices shape circuit design and performance. The framework aims to improve modularity and clarity in complex quantum circuits, enabling high-level quantum programming abstractions and more efficient, scalable quantum algorithm design.
Abstract
Complex quantum circuits are constituted by combinations of quantum subroutines. The computation is possible as long as the quantum data encoding is consistent throughout the circuit. Despite its fundamental importance, the formalization of quantum data encoding has never been addressed systematically so far. We formalize the concept of quantum data encoding, namely the format providing a representation of a data set through a quantum state, as a distinct abstract layer with respect to the associated data loading circuit. We survey existing encoding methods and their respective strategies for classical-to-quantum exact and approximate data loading, for the quantum-to-classical extraction of information from states, and for quantum-to-quantum encoding conversion. Next, we show how major quantum algorithms find a natural interpretation in terms of data loading. For instance, the Quantum Fourier Transform is described as a quantum encoding converter, while the Quantum Amplitude Estimation as an extraction routine. The new conceptual framework is exemplified by considering its application to quantum-based Monte Carlo simulations, thus showcasing the power of the proposed formalism for the description of complex quantum circuits. Indeed, the approach clarifies the structure of complex quantum circuits and enables their efficient design.
