Papers
Topics
Authors
Recent
Search
2000 character limit reached

Variational Quantum Eigensolver with Constraints (VQEC)

Updated 4 July 2026
  • VQEC is a family of hybrid quantum-classical methods that restrict Hamiltonian minimization to a desired physical sector, thereby preventing variational collapse.
  • It employs techniques such as penalty-augmented objectives, Lagrangian saddle-point formulations, and feasibility-preserving ansätze to efficiently handle property constraints.
  • VQEC has broad applications in quantum chemistry and combinatorial optimization, enabling reduced qubit usage and smoother energy landscape mappings.

Searching arXiv for the core VQEC paper and closely related constrained-VQE work to ground the article in published sources. {"query":"Variational Quantum Eigensolver with Constraints constrained variational quantum eigensolver arXiv (Ryabinkin et al., 2018, Le et al., 2023)", "max_results": 10} Variational Quantum Eigensolver with Constraints (VQEC) denotes a family of hybrid quantum-classical variational methods in which the minimization of a Hamiltonian expectation value is restricted by physical, algebraic, or combinatorial conditions. In quantum chemistry, the core motivation is that ordinary VQE acts on the full Fock-space spectrum of the mapped second-quantized Hamiltonian, so an unconstrained search can converge to the wrong charge or spin sector; the constrained variational quantum eigensolver introduced this correction by adding property constraints without requiring additional quantum resources (Ryabinkin et al., 2018). Later work broadened the concept to explicit Lagrangian saddle-point schemes, automatically-adjusted constraint handling, exact constrained encodings, feasibility-preserving ansätze, and reduced-subspace formulations, so that “VQEC” now refers less to a single algorithm than to a design space for constrained variational optimization (Le et al., 2023).

1. Origin in Fock-space variational collapse

The foundational chemistry setting starts from the second-quantized electronic Hamiltonian

H^e=ijNbhija^ia^j+12ijklNbgijkla^ia^ka^la^j,\hat H_e = \sum_{ij}^{N_b} h_{ij} \hat a_i^\dagger \hat a_j + \frac{1}{2}\sum_{ijkl}^{N_b} g_{ijkl} \hat a_i^\dagger \hat a_k^\dagger \hat a_l \hat a_j,

which acts in Fock space rather than in a fixed-NN-electron Hilbert space. After Jordan–Wigner or Bravyi–Kitaev mapping, the qubit Hamiltonian preserves the full Fock-space spectrum, including neutral molecules, cations, anions, singlets, and triplets. Standard VQE therefore minimizes over all reachable states in the mapped qubit space, not over a preselected electron-number or spin sector. By contrast, ordinary classical electronic-structure treatments implicitly restrict the search by working in determinant or configuration spaces with fixed NN, SzS_z, and often S2S^2 (Ryabinkin et al., 2018).

The canonical failure mode is the H2+\mathrm{H_2^+} example. In the full Fock-space spectrum, neutral H2\mathrm{H_2} lies below the cation, so a general unconstrained VQE targeting the one-electron cation collapses to the lower-energy neutral molecule. The same mismatch produces nonphysical root switching along potential-energy surfaces. For H2\mathrm{H_2} in STO-3G, the first excited state is H2+\mathrm{H_2^+} with N=1N=1 for NN0, whereas for larger NN1 it becomes triplet NN2 with NN3 and NN4; if one follows the lowest available full-spectrum state rather than a fixed sector, the resulting curve develops kinks (Ryabinkin et al., 2018).

This origin fixes the central meaning of VQEC in chemistry: it is a remedy for variational collapse caused by optimizing over a Hilbert space that is larger than the physically intended sector.

2. Mathematical formulations

The original constrained VQE keeps the usual VQE energy functional

NN5

with

NN6

but replaces unconstrained minimization by a penalty-augmented objective,

NN7

Here NN8 may be the electron-number operator NN9, total spin NN0, or other conserved quantities, and the NN1 are described as “big but fixed numbers” (Ryabinkin et al., 2018).

The practical significance of this form is that the constraints are classical post-processing objects. After mapping, both NN2 and NN3 are Pauli sums, and the constrained-VQE paper emphasizes that the corresponding observables often share Pauli terms, so NN4 can be formed by reusing NN5 values “at zero additional cost.” The workflow therefore remains a standard VQE loop: prepare the ansatz, measure grouped commuting Pauli terms, classically contract the energy and constraint expectations, minimize the augmented objective, and repeat. In the reported hardware implementation, Nelder–Mead was used because it was more robust to noise than conjugate-gradient methods (Ryabinkin et al., 2018).

Later work formalized VQEC more abstractly as a constrained variational problem

NN6

with each NN7, and introduced a Lagrangian

NN8

together with perturbed primal-dual updates computed by the parameter-shift rule. In that formulation, VQEC becomes a saddle-point extension of VQE over both circuit parameters and dual multipliers rather than a fixed-penalty heuristic (Le et al., 2023).

A distinct but related route is explicit constrained optimization. VQE under automatically-adjusted constraints minimizes the energy subject to overlap conditions such as

NN9

using COBYLA rather than a hand-chosen VQD penalty weight. When needed, spin can also be imposed as a constraint rather than as a separate penalty term. This replaces manual penalty tuning by a classical constrained optimizer and is presented as a way to obtain smooth potential-energy surfaces without geometry-dependent retuning of SzS_z0 (Gocho et al., 2021).

3. Constraint-enforcement paradigms

A useful classification suggested by the literature is that VQEC comprises several technically distinct enforcement mechanisms rather than one canonical architecture.

Mechanism Representative papers Characteristic implementation
Penalty-augmented objectives (Ryabinkin et al., 2018, Wakaura et al., 2021, Greene-Diniz et al., 2019) Quadratic property penalties, spin penalties, overlap penalties, Tabu terms
Explicit constrained optimization (Gocho et al., 2021, Le et al., 2023, Gupta et al., 2023) COBYLA inequality constraints, primal-dual Lagrangians, dual decomposition
Hard-feasibility ansätze or encodings (Kristjuhan et al., 2023, Scursulim, 7 Jun 2026, Quinones et al., 2020, Nakada et al., 7 Jan 2025, Matsuo et al., 2020) Exact subspace mappings or circuits whose support is feasible by construction
Restricted-subspace variants (Kirby et al., 2020, Gunlycke et al., 2023) Contextual subspaces or Fock-basis parameterizations with explicit symmetry restriction

Penalty methods are the most direct descendants of the 2018 constrained-VQE proposal. They preserve the usual VQE loop and often require no additional quantum resources, but they only enforce feasibility through the optimization landscape. This is why later work repeatedly treats penalty-weight selection as a central difficulty (Ryabinkin et al., 2018).

Explicit constrained optimization replaces fixed penalty magnitudes by adaptive classical machinery. In VQE/AC, the optimizer enforces overlap or spin restrictions directly; in the formal VQEC paper, primal and dual variables are updated jointly; and in the stochastic QCQP literature, dual decomposition turns a constrained problem into a sequence of ordinary VQE subproblems with modified Hamiltonians (Gocho et al., 2021).

Hard-feasibility approaches instead alter the feasible set itself. Exact constrained encodings map only the valid sector to qubits; mixed Dicke-state constructions support only allowed Hamming-weight sectors; tailored variational forms for binary optimization generate only bitstrings satisfying modeled inequalities; and inductive “forwarding” circuits build feasible states for larger subproblems from feasible states of smaller ones. This suggests that a large fraction of later VQEC research shifts the burden of constraint handling from objective design to state preparation (Kristjuhan et al., 2023).

Restricted-subspace methods occupy an intermediate position. Contextual subspace VQE is not VQEC in the narrow penalty-based sense, but it is directly relevant as a hard subspace restriction generated from a classically solved noncontextual sector. Likewise, cascaded VQE primarily concerns measurement reuse, yet its Fock-basis parameterization gives explicit control over symmetry sectors by excluding forbidden occupation strings or tying amplitudes of symmetry-related states (Kirby et al., 2020).

4. Electronic-structure implementations

The first constrained-VQE demonstrations were deliberately minimal. For SzS_z1, SzS_z2, and SzS_z3, the hardware experiments on Rigetti Computing Inc’s 19Q-Acorn quantum processor used a qubit mean-field ansatz with only single-qubit rotations. Spin-constrained and number-constrained objectives yielded smooth potential-energy surfaces for singlet SzS_z4, triplet SzS_z5, and the one-electron SzS_z6 cation, and the water example enforced both SzS_z7 and singlet character; the paper states that “the spin constraint is invaluable for avoiding convergence to the closely spaced triplet solution” in SzS_z8 (Ryabinkin et al., 2018).

This line of work naturally extended to excited states as symmetry-sector minima. Multireference and spin-restricted UCC variants showed that VQE can recover the lowest-energy state within a chosen symmetry class by combining fixed qubit-register encoding of particle number and spin, multireference initial states, restricted excitation operators, and, when necessary, an SzS_z9 penalty. The resulting benchmarks covered S2S^20, S2S^21, S2S^22, NH, S2S^23, S2S^24, and S2S^25, and the study explicitly characterized this as a constrained VQE strategy for avoiding undesired spin crossover during excited-state optimization (Greene-Diniz et al., 2019).

A more explicit constrained excited-state framework appears in VQE/AC. There the constrained optimizer replaces manually tuned VQD penalties, and a chemistry-inspired spin-restricted ansatz is used to remain in the singlet sector. At the Frank–Condon and conical-intersection geometries of ethylene and phenol blue, the reported energy errors were at most S2S^26 even on the ibm_kawasaki device, and the authors argued that the method has the potential to describe smooth potential-energy surfaces because it does not require pre-determination of constraint weights (Gocho et al., 2021).

Another branch aims at exact sector encoding. A custom mapping that excludes all invalid determinants before VQE reduces the qubit count while preserving constrained-sector energies exactly. For S2S^27 in cc-pvtz with 56 spin orbitals, the mapped problem was reduced to 10 qubits for the singlet sector and 9 qubits for the triplet sector; in STO-3G, reported reductions included S2S^28, LiH: S2S^29, H2+\mathrm{H_2^+}0, H2+\mathrm{H_2^+}1, and H2+\mathrm{H_2^+}2 (Kristjuhan et al., 2023).

5. Constrained optimization beyond electronic structure

Outside quantum chemistry, VQEC has become a framework for constrained binary and stochastic optimization. The formal VQEC paper represents a variational quantum circuit as a probability mass function over computational-basis strings and solves constrained problems through a Lagrangian saddle-point method with perturbed primal-dual updates. In that setting, VQEC is used for quadratically-constrained binary optimization, stochastic binary policies satisfying quadratic constraints on the average and in probability, and large-scale linear programs over the probability simplex; the paper also provides optimality-gap bounds under an assumption on the VQC approximation error for arbitrary PMFs (Le et al., 2023).

A closely related but earlier line uses dual decomposition for stochastic binary QCQP. There the constraints are enforced in expectation over the circuit-induced distribution, and each dual iterate requires solving an ordinary VQE problem for a modified Hamiltonian H2+\mathrm{H_2^+}3. The method is empirically effective on small synthetic instances, but its stochastic formulation means that feasibility is fundamentally distributional unless additional deterministic or chance constraints are imposed (Gupta et al., 2023).

Hard-feasibility ansätze are particularly prominent in combinatorial optimization. Mixed Dicke-state constructions encode equality constraints by a fixed Hamming weight and inequality constraints by a convex combination of Dicke sectors, thereby eliminating penalty terms from the objective. The framework was validated on combinatorial portfolio optimization, with feasible-set sizes H2+\mathrm{H_2^+}4, H2+\mathrm{H_2^+}5, and H2+\mathrm{H_2^+}6; the reported trend was that the advantage over random search became clearer as the feasible search space grew, while hardware experiments on IBM NISQ processors showed that noise mitigation and circuit transpilation remained open challenges (Scursulim, 7 Jun 2026).

Inductive feasible-subspace circuit design offers a different route. By defining “forwarding operations” that lift feasible solutions of smaller constrained subproblems to feasible solutions of larger ones, one can construct fully feasible variational circuits for structured problems such as facility location. In the reported H2+\mathrm{H_2^+}7 facility-location experiments, the proposed method produced H2+\mathrm{H_2^+}8 feasible samples and H2+\mathrm{H_2^+}9 optimal samples, compared with substantially lower feasible and optimal rates for conventional layered VQE baselines with penalty coefficients H2\mathrm{H_2}0 (Nakada et al., 7 Jan 2025).

Problem-specific circuit synthesis predates some of these developments. For the Traveling Salesman Problem and Minimum Vertex Cover, dynamically generated PQCs were built so that the variational state lies in a reduced set H2\mathrm{H_2}1 satisfying selected combinatorial constraints. The strongest TSP construction satisfied H2\mathrm{H_2}2, and on the reported 4-city TSP experiments it reached the global minimum in all 10 trials, while generic H2\mathrm{H_2}3-based baselines failed to converge well even after 400 iterations (Matsuo et al., 2020).

Tailored variational forms for linear inequality patterns pursue the same principle at smaller block level. Circuits were given for monotone chains, at-most-one constraints, and two implication/equality patterns, and were claimed always to produce feasible solutions for the represented constraints. On the reported Facility Location Problem and Linear Assignment Problem examples, these forms used fewer parameters than 2-Local and fewer gates than the compared general QAOA implementation in one case, with faster convergence attributed to the fact that the variational search was already confined to a feasible region (Quinones et al., 2020).

6. Limitations, trade-offs, and open directions

The principal limitation of VQEC is that constraint handling and state expressibility are distinct problems. The original constrained-VQE paper already showed that imposing the correct spin sector does not fix an insufficient ansatz: for singlet H2\mathrm{H_2}4, constrained qubit mean-field removes kinks but still gives the usual restricted-HF-like dissociation error, and “to correct for this behavior requires an addition of an entangler” (Ryabinkin et al., 2018).

Hard-feasibility methods also trade universality for exactness. Tailored variational forms cover only specific inequality families, and the authors explicitly note that it is “not always possible to combine the circuits to represent multiple constrains at the same time.” Inductive feasible-subspace constructions depend on the existence of a problem-specific forwarding operation, and problem-specific PQCs for TSP or MVC rely on handcrafted combinatorial structure rather than a general compiler from constraints to ansätze (Quinones et al., 2020).

Exact constrained encodings reduce qubits but can make Hamiltonians denser and measurement more difficult. The reduced-space encoding work reports that mapping can increase measurement-circuit counts even while qubit counts decrease, and identifies classical preprocessing as a nontrivial hidden cost with runtime in their implementation best fit by an exponential function of the post-mapping qubit count. The same paper also states that ansätze designed for the original qubit encoding are not straightforwardly transferable to the reduced encoding (Kristjuhan et al., 2023).

Explicit constrained optimizers avoid manual penalty tuning but do not remove other variational bottlenecks. VQE/AC still requires overlap measurements with previously computed states, larger active spaces deepen spin-restricted circuits, and hardware noise remains significant. In mixed Dicke-state optimization, IBM hardware experiments produced high KL divergence, very low Hellinger fidelity, and near-zero target-bitstring probability, leading the authors to identify zero-noise extrapolation, probabilistic error cancellation, and improved transpilation as open directions (Gocho et al., 2021).

Finally, not all VQEC formulations enforce per-sample feasibility. Primal-dual and dual-decomposition methods based on PMFs or stochastic binary policies often impose constraints in expectation or in probability. This is appropriate for average QCBO, chance-constrained QCBO, or stochastic QCQP, but it is not equivalent to guaranteeing that every measured bitstring is feasible. A plausible implication is that future VQEC work will continue to separate into at least two branches: exact feasible-subspace methods for problems with exploitable structure, and adaptive Lagrangian methods for problems where hard feasibility is difficult to encode directly (Le et al., 2023).

Definition Search Book Streamline Icon: https://streamlinehq.com
References (13)

Topic to Video (Beta)

No one has generated a video about this topic yet.

Whiteboard

No one has generated a whiteboard explanation for this topic yet.

Follow Topic

Get notified by email when new papers are published related to Variational Quantum Eigensolver with Constraints (VQEC).