Ansatz Expressibility
An ansatz defines a family of states as the parameter vector ranges over its domain. Expressibility asks a sharp question: how large, and how uniformly, does this family cover the Hilbert space? If the true ground state of your Hamiltonian lies outside the reachable set, no optimizer — however clever — can ever find it. Expressibility is therefore a necessary (though not sufficient) condition for a successful variational algorithm.
The reachable set
For an -qubit system the pure states live on a complex-dimensional projective space. A parameterized circuit with real parameters traces out a manifold of dimension at most inside that space. Two consequences follow immediately:
- If is smaller than the dimension of the space, the ansatz is underparameterized and generically misses most states.
- Even when is large, the manifold can fold back on itself, leaving regions unreachable — redundant parameters do not buy coverage.
A useful sanity check is to count. The unitary group has real parameters. A hardware-efficient ansatz of layers on qubits with three rotation angles per qubit per layer has roughly parameters. To even have a chance of universality you need , which grows exponentially in .
Measuring expressibility with state overlaps
Sim, Johnson, and Aspuru-Guzik proposed a concrete, samplable metric. Draw two parameter vectors at random and record the fidelity . Repeating this builds an empirical distribution . Compare it to the distribution you would get if the states were drawn uniformly (Haar-randomly) from the Hilbert space, which for dimension is
Expressibility is then quantified as the Kullback–Leibler divergence
A smaller divergence means the ansatz scatters states almost as uniformly as a Haar-random unitary — high expressibility. A large divergence means the circuit clusters its outputs in a small corner of Hilbert space — low expressibility.
Worked single-qubit example
Consider the one-parameter ansatz . With only a real amplitude it traces a great circle on the Bloch sphere — the -plane — and can never reach states with a complex relative phase such as . It is expressively limited.
Add a second rotation, . Now sets the polar angle and the azimuth, so the two parameters sweep the entire Bloch sphere: this ansatz is universal for one qubit. Counting matches intuition — the single-qubit pure state space is 2-real-dimensional, and we used exactly two parameters.
Why more is not always better
Expressibility trades against two other concerns you will study next:
- Trainability. Highly expressible ansätze that approximate Haar-random unitaries suffer from barren plateaus — exponentially flat cost landscapes. The very property that lets a circuit reach everywhere makes its gradients vanish.
- Hardware cost. Each extra layer adds noisy two-qubit gates. On NISQ devices a deep, maximally expressible circuit may be unusable in practice.
The art of ansatz design is choosing a circuit expressible enough to contain the answer, but structured enough — by symmetry, locality, or problem knowledge — to stay trainable and shallow.
Key takeaways
- Expressibility is how well, and how uniformly, an ansatz covers Hilbert space.
- It is bounded by the parameter count and degraded by redundancy.
- A practical metric is the KL divergence of the state-overlap distribution from the Haar distribution .
- More expressibility is not free: it competes with trainability and circuit depth.
Sign in on the full site to ask questions and join the discussion.