Grover–Rudolph Gaussian State Preparation

Compute the exact uniformly controlled Ry(θ) gate angles required to load a truncated normal distribution onto an n-qubit register (Grover & Rudolph, quant-ph/0208112), verify amplitude reconstruction error to machine precision, and export OpenQASM 2.0.

Register Parameters

Reconstruction Err: 0.00e+0
3 qubits (8 states)
0.00
1.10
Total R_y Gates
7
2ⁿ − 1 rotations
Discrete Mean
0.0000
Domain [−4, +4]
Discrete Std
—
Bin width Δx
Shannon Entropy
—
Bits of uncertainty
Tail Mass Clipped
—
Outside [−4, +4]

Quantum Circuit Diagram

MSB q[0] → LSB q[n-1]

Filled circles indicate control on |1⟩; hollow circles indicate control on |0⟩. Each rotation angle satisfies θ = 2 arccos(√pleft) over its conditioned sub-interval.

Statevector Basis Table

8 states
Prepared Gaussian Computational Basis States |k⟩
Basis |k⟩ x_k Amplitude α_k Prob |α_k|² CDF F(x_k) Weight

OpenQASM 2.0 Circuit Export