Preparing a Gaussian State in the Symmetrical Domain
Explanation of Our Solution at MIT iQuHACK
Introduction
In this blog post, I will explain the solution of our team to the Classiq track at MIT iQuHACK 2025, including why it works and how it scales.
Gaussian state preparation is essential for simulating physical systems and tackling problems in quantum chemistry, machine learning, and optimization. Gaussian states, characterized by their Gaussian-shaped wavefunctions, are powerful tools for encoding probability distributions and modeling quantum systems.
With the scaling of quantum hardware, achieving efficient and precise Gaussian state preparation could improve the costs of quantum algorithms and enhance impactful applications like option pricing in finance, molecular simulations in quantum chemistry, and data analysis in machine learning, among others.
At the competition, our challenge was to prepare a Gaussian state in the symmetrical domain
using a quantum circuit. The target state is defined as:
with
Here, (represented by EXP_RATE in our code) controls the decay of the Gaussian, and the domain discretization is determined by the resolution variable. Our task was to design a quantum circuit that not only achieves a small mean squared error (MSE) compared to the ideal Gaussian state but also scales efficiently as the resolution increases.
There are of course many solutions to this problem. For example, the easiest way is to first prepare a Gaussian state as an amplitude list of length (where is the number of qubits or resolution), then encode this list of amplitudes into the state vector using amplitude encoding. However, this method is costly, requiring complexity in the worst case scenario. Another method might be using Hamiltonian simulation with trotterization to calculate the exponentila part of the Gaussian, although it results in a true Gaussian, it is also pretty costly. Our solution is not perfect — it only approximates the Gaussian to an extent, but this approximation is good enough for the MSE error and most importantly, it scales almost linearly to the resolution or number of qubits, i.e. complexity.
Our Solution
Our solution is based on two key steps: first, preparing a state using RY rotations that encodes an exponential factor on each qubit, and second, applying the Quantum Fourier Transform (QFT) to convert that state into one with a Gaussian amplitude distribution.
First Step
When we apply an RY gate with angle to a qubit initially in , we obtain
The unitary gate matrix of the RY gate is
In our code, for each qubit indexed by we set
with
Thus, for the th qubit,
Using the trigonometric identities and , with , we find
For large , is very small, so the amplitude in is approximately
By applying these rotations to each of the qubits, the overall state becomes the tensor product