QuantumAtlas

Algorithms

Ansatz

A proposed, parameterized quantum circuit structure used as a starting template in variational quantum algorithms like VQE.

Definition

An ansatz (German for 'approach' or 'starting point') is a chosen quantum circuit structure with adjustable parameters, used as the trainable template in variational quantum algorithms. The classical optimizer in algorithms like VQE adjusts these parameters to find the best-performing version of the circuit.

Technical Definition

Different ansatz choices (such as hardware-efficient ansätze or chemically-inspired ansätze like UCCSD) trade off between expressibility (ability to represent the desired target state), circuit depth, and trainability — including susceptibility to barren plateaus.

Visual Explanation: An Analogy

Think of an ansatz like a recipe template with some ingredient amounts left as variables to be tuned — the basic structure (mix flour, add liquid, bake) is fixed, but the exact quantities are adjusted through experimentation to get the best result.

Real-World Use Cases

  • The starting structure for every VQE and QAOA implementation
  • Choice of ansatz significantly affects whether an algorithm converges to a good solution

Related Terms