Data re-uploading circuits
Parameterized circuits that encode input data repeatedly between trainable transformations.
On this page
Definition, purpose and input assumptions
Data re-uploading increases a circuit family's dependence on input features by inserting data-encoding operations multiple times. This can enrich the represented function even with few qubits. Expressivity is a mathematical property of the family; it does not by itself establish faster learning or better predictive performance than classical models.
Mathematical mechanism
A typical form alternates trainable unitaries W_l(theta_l) with data encodings S_l(x). Noncommuting layers can generate richer trigonometric combinations. If every operation rotates about the same axis, the angles simply add, and repeated encoding may be algebraically redundant. The encoding axes and trainable structure therefore matter.
Fully solved reference example
Consider|psi(x)>=R_Y(x)R_Z(alpha)R_Y(x)|0>, with rightmost gate first. Starting Bloch vector(0,0,1), the first RY gives(sin x,0,cos x). RZ gives(sin x cos alpha,sin x sin alpha,cos x). The final RY yields Z expectation cos^2 x-sin^2 x cos alpha.
For alpha=0 this reduces to cos(2x), equivalent to one RY rotation by 2x. For alpha=pi it becomes 1 for every x: the layers cancel their effect on the measured Z component. Thus adding a re-uploading layer does not automatically improve an objective; its parameters can create either additional frequency or complete cancellation.
Limitations and classical comparison
Small single-qubit models are classically inexpensive. Universal-approximation statements concern representation under their assumptions, not sample efficiency, trainability or quantum advantage. Shot noise, parameter count and data normalization remain part of the comparison.
Scientific relationships
Data re-uploading generalizes parameterized feature encodings and connects to quantum kernel and variational classifier models. It is distinct from repeatedly loading a classical database into QRAM.
Three uploads with a fully derived Fourier response
Consider |psi(x)> = RY(x) RZ(alpha) RY(x) RZ(beta) RY(x)|0>, with the rightmost operation acting first. Write c = cos x, s = sin x, A = cos beta + (1 + cos beta) cos alpha, and B = sin alpha sin beta. Successive Bloch rotations give the final Z expectation f(x) = c cubed - A c s squared + B s squared. This is a three-upload family with two independently specified intervening rotations.
The intermediate calculation makes the order explicit. After the first RY and RZ(beta), the Bloch vector is (s cos beta, s sin beta, c). After the next RY, it is (sc(1 + cos beta), s sin beta, c squared - s squared cos beta). Applying RZ(alpha) changes only its first two coordinates. The final RY makes the Z coordinate minus s times the new X coordinate plus c times the preceding Z coordinate, yielding the stated formula. Swapping alpha and beta happens to leave A and B unchanged here, but that algebraic property should not be generalized to arbitrary re-uploading architectures or observables.
Using elementary trigonometric identities, f(x) = [(3 - A)/4] cos x + [(1 + A)/4] cos(3x) + B/2 - [B/2] cos(2x). This displays constant, first, second, and third harmonics directly. Their coefficients are constrained functions of only two parameters; the presence of four harmonics does not make their weights independently trainable.
Solved parameter choices and exact values
At alpha = beta = pi/2, A = 0 and B = 1. The response is (3/4) cos x + (1/4) cos(3x) + 1/2 - (1/2) cos(2x). It takes values one at x = 0, one at x = pi/2, and minus one at x = pi. At x = pi/3 it equals 7/8, while at x = 2pi/3 it equals 5/8. These values all lie in the allowed expectation interval [-1,1], as required by the underlying normalized qubit state.
If alpha = beta = 0, then A = 3 and B = 0, reducing the circuit to f(x) = cos(3x). All three Y rotations combine. If alpha = pi and beta = 0, A = -1 and B = 0, and the response collapses to cos x despite three data insertions. Thus circuit length alone does not determine the effective input frequency or the usefulness of the measured function. The axes and intervening parameter values determine cancellation and harmonic content.
Frequency support from the encoding spectrum
For an encoding exp(-i x P/2) with P a Pauli operator, the two eigenvalues of the generator are plus and minus one half. Each use contributes one of these phases to an amplitude. With L identical-frequency encodings, products of amplitudes and their conjugates produce integer frequency differences between -L and L in an expectation value. Input-independent trainable gates alter the coefficients but do not enlarge that frequency set.
This support argument is a bound, not a guarantee that every allowed frequency appears. Symmetries, the initial state, the measured observable, and parameter choices can force coefficients to vanish. If the encoding uses weights omega_l x, the frequency set instead contains sums of signed generator differences weighted by omega_l. Noncommensurate weights need not produce an integer Fourier series with period 2pi. A data-rescaling choice can therefore change both the function class and which input points are equivalent under periodicity.
Exact interpolation versus learning
For a trigonometric polynomial with frequencies from -3 to 3, seven exact equally spaced samples over one period determine all complex Fourier coefficients through the discrete Fourier transform. Frequencies are distinct modulo seven, so no two supported frequencies alias on that grid. Six samples would not suffice in general because frequencies three and minus three coincide modulo six. The displayed family has additional coefficient constraints, but the seven-sample statement is a sufficient reconstruction rule for the entire degree-three trigonometric class.
With finite-shot Z estimates, each grid value is noisy. A Fourier coefficient formed by averaging M independent grid values, each estimated with N shots and unit-modulus Fourier weights, has mean-square noise at most 1/(MN). That bound refers to one complex coefficient under the stated independent sampling model. Reconstructing the response on a known periodic domain is not the same as learning a predictor from arbitrary noisy labels, and it supplies no automatic guarantee for data outside the assumed encoding model.
Sources
Verification scope
Recorded source check ·
Re-uploading architecture and representation claims inspected; version history verified.
No source classifier benchmark is reproduced. The three-upload Fourier expression is independently derived; representability is distinguished from trainability and advantage.