qrunch.chemistry.ground_state_problem.calculators.tools.initial_ansatz.initial_ansatz_protocols

Interface for defining an initial wave-function ansatz (Usually a Hartree-Fock state) for a molecule.

An initial ansatz can create an initial quantum circuit that represents initial wave-function ansatz. The initial quantum circuit can then be provided to a basic VQE and an Adaptive VQE.

Classes

InitialAnsatz

Initial ansatz for a molecule to be used in an energy calculation.

class InitialAnsatz

Bases: Protocol

Initial ansatz for a molecule to be used in an energy calculation.

__init__(*args, **kwargs)
create_circuit() Circuit

Create the quantum circuit representing the ansatz.

Return type:

Circuit