Skip to main content
← back

Ansatz Architecture Explorer

An ansatz is a parameterized quantum circuit used as a trial wavefunction in variational algorithms like VQE and QAOA. Different ansatz designs trade off expressibility, circuit depth, and hardware compatibility. This page compares four architectures from our paper replications and maps them onto three quantum processors.

Entanglement Topologies

Nodes are qubits. Edges are entangling gates (CNOT / ZZ). Select one to see its hardware mapping below.

Think of it this way: Each edge is a quantum conversation between two qubits — entangling gates are how qubits share information. More edges mean richer conversations, but also more opportunities for noise to corrupt the message.

Hardware Mapping

How Subspace-Preserving VQE maps onto physical qubit connectivity. Bright edges are used by the ansatz; dim edges are available but unused.

Think of it this way: Mapping an ansatz to hardware is like seating people at a dinner table — some conversations need neighbors, and the table shape constrains who sits where. When all edges are “native,” everyone who needs to talk is already adjacent. Otherwise, you need SWAP routing: shuffling seats mid-dinner, which adds noise.

Quantum Inspire Tuna-9

QuTech · 9 qubits total

All edges native
87.0%85.8%91.3%89.8%92.3%91.4%87.1%93.5%91.3%88.3%q5q2q0q41.9%q1q62.9%q3q8q7

Subspace-Preserving VQE

Ry(α) + CNOT + X preserves particle number in the {|01⟩, |10⟩} subspace. Minimal circuit for H₂ ground state.

q0: ─[Ry(α)]─●─[X]─
q1: ──────────⊕─────

Qubit Assignment

q0 q41.9% err
q1 q62.9% err

Connection Fidelities

q4q6
93.5%

Parameter Landscape

E(θ) for the 2-qubit H₂ VQE at R=0.735 Å, from Sagastizabal 2019. The single parameter θ controls the superposition cos(θ/2)|10⟩ + sin(θ/2)|01⟩. Green band shows chemical accuracy (1 kcal/mol). Hover to explore.

Think of it this way: The optimizer is a hiker searching for the lowest valley. The landscape here has one valley (no barren plateaus), so the challenge is purely noise, not navigation. On real hardware, it's like hiking in fog — the valley is there, but each step's altitude reading is noisy. See our Hamiltonians page to understand what this landscape encodes.
chemical accuracy (1 kcal/mol)FCIHFEmulator-1.1385 HaIBM Torino-1.1226 HaTuna-9 q[4,6]-1.1274 Ha-π/20π/2πθ (rad)-1.2-1.0-0.8-0.6-0.4-0.20.00.20.4Energy (Ha)
E(θ) ideal
FCI = -1.1373 Ha
HF = -1.1170 Ha
Emulator
IBM Torino
Tuna-9 q[4,6]
Key insight: The landscape has a single minimum at θ = -0.2235 rad, giving E = -1.1373 Ha (within 0.75 kcal/mol of FCI). Hardware noise shifts measurements upward: IBM Torino sees +9.2 kcal/mol error, Tuna-9 with error mitigation gets +6.2 kcal/mol. The smooth, convex landscape means VQE convergence is guaranteed — the challenge is purely noise, not optimization. Compare our full VQE results across bond distances.

Ansatz Comparison

AnsatzTypeQubitsParamsCNOTsDepthTuna-9GarnetTorino
Subspace-Preserving VQEChemistry2113NativeNativeNative
UCCSD (DoubleExcitation)Chemistry411620NativeNativeNative
Hardware-EfficientGeneric412/layer36NativeNativeNative
QAOA MaxCut p=1Optimization42 (γ, β)34NativeNativeNative

Key Terms

See the full glossary for more definitions.

A parameterized quantum circuit used as a trial wavefunction in variational algorithms. The name comes from German, meaning "approach" or "initial guess."

Variational Quantum Eigensolver — a hybrid quantum-classical algorithm that finds the ground state energy of a molecule by minimizing ⟨ψ(θ)|H|ψ(θ)⟩ over parameters θ.

Quantum Approximate Optimization Algorithm — alternates cost and mixer layers to find approximate solutions to combinatorial problems like MaxCut.

Controlled-NOT gate — a two-qubit entangling gate that flips the target qubit when the control is |1⟩. The primary source of noise in most circuits.

Unitary Coupled Cluster Singles and Doubles — a chemistry-motivated ansatz derived from classical coupled cluster theory. Preserves particle number and spin symmetry.

Circuit Depth

Gates & Circuits

The number of sequential gate layers in a circuit. Deeper circuits accumulate more noise from decoherence. Keeping depth low is critical on NISQ hardware.

Chemical Accuracy

Metrics & Benchmarks

1 kcal/mol (1.6 mHa) — the precision threshold needed for quantum chemistry to be practically useful. Achieving this on real hardware is a key benchmark.

How closely a measured quantum state matches the ideal target state. A Bell state fidelity of 93.5% means 93.5% of measurements agree with the expected entangled outcome.

Native Gates

Gates & Circuits

The physical gate set a quantum processor can execute directly. Non-native gates must be decomposed, adding depth and noise. SWAP routing adds ~3 CNOTs per non-native connection.

Barren Plateau

Algorithms

A region of parameter space where the cost function gradient vanishes exponentially with qubit count, making optimization intractable. Hardware-efficient ansatze are especially prone to this.

References

Hardware Documentation

The three quantum processors shown above are real, publicly accessible superconducting transmon chips. All topology and fidelity data on this page comes from our own measurements — verify the hardware specs below.

[H1]

Tuna-9 QuTech / TU Delft. 9-qubit transmon, diamond topology, 12 flux-tunable couplers. Fabricated by DiCarlo Lab at QuTech. Available since December 2025.

[H2]

IQM Garnet IQM Quantum Computers. 20-qubit transmon, square-lattice topology, 30 tunable couplers. CZ native gate with 99.51% median two-qubit fidelity. Quantum Volume 32.

[H3]

IBM Torino IBM Quantum. 133-qubit Heron r1 processor, heavy-hex topology. CZ + SX + RZ native gate set. Echoed cross-resonance entangling gates.

Algorithm Papers

The ansatz circuits above come from these published experiments, which we replicated on all three backends.

[A1]

R. Sagastizabal et al., “Experimental error mitigation via symmetry verification in a variational quantum eigensolver,” Phys. Rev. A 100, 010302(R) (2019).

[A2]

A. Peruzzo et al., “A variational eigenvalue solver on a photonic quantum processor,” Nature Communications 5, 4213 (2014).

[A3]

A. Kandala et al., “Hardware-efficient variational quantum eigensolver for small molecules and quantum magnets,” Nature 549, 242-246 (2017).

[A4]

M.P. Harrigan et al., “Quantum approximate optimization of non-planar graph problems on a planar superconducting processor,” Nature Physics 17, 332-336 (2021).

[A5]

A.W. Cross et al., “Validating quantum computers using randomized model circuits,” Phys. Rev. A 100, 032328 (2019).

Explore More

About Ansatz Circuits

An ansatz is a parameterized quantum circuit used as a trial wavefunction in variational algorithms like VQE. The choice of ansatz determines what states the algorithm can explore and how efficiently it converges. Different architectures make different trade-offs between expressibility (which states can be reached) and trainability (how easy it is to optimize).

Hardware-efficient ansätze use only the native gates of a specific processor, minimizing circuit depth. Chemistry-inspired ansätze like UCCSD respect the physical symmetries of molecules but require more gates. The Hamiltonian variational ansatz structures its layers to match the problem Hamiltonian.

This explorer compares 4 architectures from landmark papers, showing real transpilation data for Tuna-9 (CZ + Ry/Rz native gates), IQM Garnet, and IBM processors. Gate counts, circuit depth, and expected fidelity help determine which ansatz works best on which hardware.