One-Qubit Sampler-QNN Overview
- One-qubit Sampler-QNN is a parameterized quantum circuit that employs repeated data re-uploading blocks to encode classical inputs and generate probabilistic outputs via Fourier decomposition.
- The model achieves universal approximation for univariate functions through a constructive synthesis mapping circuit parameters to Fourier coefficients, ensuring expressive capabilities with moderate depth.
- Extensions to multivariate inputs via hybrid or multi-qubit architectures underline challenges in parameter scaling while opening avenues for high-dimensional generative modeling.
A one-qubit Sampler Quantum Neural Network (Sampler-QNN) is a parameterized quantum circuit designed to model conditional probability distributions over single-bit outputs by leveraging quantum data re-uploading architectures. These models utilize the full expressivity of the single-qubit Hilbert space and rigorous connections to partial Fourier series, yielding universality for univariate function approximation but succumbing to expressivity bottlenecks in the multivariate regime. The output, typically the probability of measuring '0' in the computational basis after quantum evolution determined by classical input and trainable gates, is treated as a sample from a learned distribution. The theoretical underpinnings and performance of these architectures have been comprehensively analyzed in Yu et al. (Yu et al., 2022) and Pérez-Salinas et al. (Pérez-Salinas et al., 2021).
1. Circuit Architecture and Data Re-uploading Principle
The circuit architecture of a one-qubit Sampler-QNN employs repeated "data re-uploading" blocks, each consisting of an encoding gate that injects the classical input into the qubit state, followed by a trainable single-qubit unitary. The most general form of the -layer model can be written as
where parametrizes an arbitrary single-qubit rotation:
The initial state is evolved according to , after which a computational basis measurement is performed, yielding outcome with probabilities
The expectation value 0 may also be used as the quantum output signal. This data re-uploading principle ensures that the classical input 1 is injected at each layer, enabling increasingly expressive models as 2 increases (Yu et al., 2022, Pérez-Salinas et al., 2021).
2. Analytic Output Structure and Fourier Representation
The output of the 3-layer Sampler-QNN can be decomposed in terms of a partial Fourier series over the input 4. Repeated application of 5 and trainable unitaries yields an expectation value of the form
6
A more general analytic form for the circuit unitary is
7
where 8 are Laurent polynomials in 9 with degree at most 0 and 1. Consequently,
2
This establishes an explicit isomorphism between the trainable parameters of the QNN and the Fourier coefficients of a real-valued function 3 (Yu et al., 2022).
3. Universal Approximation for Univariate Functions
A central theoretical result is the rigorous proof of universal approximation for univariate functions. For any square-integrable 4 and any 5, there exists circuit depth 6 and parameters such that the QNN expectation value uniformly approximates 7,
8
The constructive procedure relies on: (i) approximating 9 via a truncated Fourier series 0, (ii) defining 1, a degree-2 Laurent polynomial, and (iii) synthesizing circuit angles for 3 to realize 4 as described in quantum signal processing algorithms. This mapping provides both necessary and sufficient conditions for one-qubit QNN expressivity in the univariate case (Yu et al., 2022, Pérez-Salinas et al., 2021).
4. Constructive Parameter Synthesis and Training Protocols
Constructing a QNN to match a target Fourier polynomial involves stepwise "peeling off" layers: given a target 5, one iteratively identifies the leading Fourier term and chooses rotation angles 6 to remove it, continuing until all terms are synthesized. This is precisely the approach in quantum signal processing, enabling control over the functional form of 7.
Training is typically performed by stochastic gradient descent, using the parameter-shift rule to evaluate gradients. For a gate 8,
9
Practical guidelines include random uniform angle initialization, using Adam optimization (learning rate 00.1, batch size 20), and 100 iterations to fit smooth univariate targets. Both mean-squared error (for regression) and negative log-likelihood (for sampling) losses are supported. In experimental demonstrations on superconducting transmons, layer depths up to 1 are attainable before hardware errors limit performance (Pérez-Salinas et al., 2021).
5. Empirical Performance and Benchmarking
Benchmark studies have confirmed that one-qubit Sampler-QNNs with modest depth (e.g., 2) can accurately fit varied real and complex univariate targets (e.g., ReLU, 3, sign, absolute cubic polynomials, damped sinc, square waves), often matching or exceeding classical Fourier-series and shallow neural-network approximators for equivalent parameter budgets.
Notably, deeper circuits capture high-frequency structure (e.g., 4 learning a 20-periodic square wave), though with Gibbs phenomena at discontinuities. Error scales with the frequency cutoff in the Fourier expansion; for functions with 5 derivatives, the truncation error decays as 6. Diminishing returns are observed for very large 7, often due to implementation noise for devices with gate errors 8 per layer (Yu et al., 2022, Pérez-Salinas et al., 2021).
The table below summarizes representative applications and key outcomes:
| Target Function | Circuit Depth (L) | Empirical Behavior |
|---|---|---|
| Damped sinc | 5 | Captures main lobes |
| Square wave (20-per) | 45 | Extrapolates, shows Gibbs ringing |
| Classical regression / classification | 5–6 | Matches classical nets / Fourier series |
| Superconducting qubit experiment | 1–6 | Quantum/classical parity, limited by hardware error |
6. Multivariate Input Expressivity and Extensions
Native one-qubit Sampler-QNNs, when extended to 9-dimensional inputs by inserting 0 for each 1, exhibit a severe expressivity constraint. The model output is
2
with parameter count scaling as 3 and 4, much smaller than the full expansion which would require 5 coefficients. This leads to a curse of dimensionality: most possible multivariate Fourier coefficients cannot be independently controlled. Hybrid architectures that perform classical preprocessing with trainable weights can mitigate this but shift universality to classical operations. Multi-qubit extensions that enable parallelization and entanglement via CNOT or universal two-qubit gates restore expressivity, allowing for the successful learning of non-trivial multivariate targets absent in the single-qubit regime. Empirical studies on bivariate polynomial regression have verified this principle, with two-qubit, ten-layer circuits capturing 2D targets that one-qubit QNNs cannot (Yu et al., 2022).
7. Applications and Scope of One-Qubit Sampler-QNNs
Sampler-QNNs provide a complete, analytic, and constructive blueprint for modeling any univariate probability density 6, making them suitable as conditional generative bit-samplers. This is achieved via the explicit map between circuit parameters and Fourier coefficients, and the guarantee that shallow-to-moderate circuit depths suffice for smooth target distributions. Extensions to multi-qubit settings and the inclusion of entangling layers enable controlled sampling of joint bit distributions and move towards true high-dimensional generative modeling.
The theoretical machinery of data re-uploading models—rooted in quantum signal processing synthesis and partial Fourier series representation—has clarified the boundaries between classical and quantum expressiveness within VQAs, provided constructive methods for implementation, and suggested practical training guidelines for real hardware (Yu et al., 2022, Pérez-Salinas et al., 2021).