Part 4
2 chapters
Hybrid & Variational
Variational methods that pair a quantum circuit with a classical optimizer: VQE and QAOA.
Chapter 11
The variational quantum eigensolver
Find a Hamiltonian's lowest energy by tuning a parameterized circuit with a classical optimizer: the variational principle, the energy expectation, and the loop, in Quantum++ and Qiskit.
Chapter 12
QAOA for optimization
Solve a combinatorial problem, MaxCut, by alternating a cost layer and a mixer and tuning their angles with a classical optimizer, then reading the answer from the measured counts, in Quantum++ and Qiskit.