Hamiltonian.run

Hamiltonian.run(qmolecule)[source]

Convert the qmolecule, according to the ChemistryOperator, into an Operator that can be given to a QuantumAlgorithm

Parameters

qmolecule (QMolecule) – from a chemistry driver

Returns

(qubit_op, aux_ops)

Return type

Tuple