from qiskit_chemistry import QiskitChemistry
from qiskit import Aer

qiskit_chemistry_dict = {
    'driver': {'name': 'HDF5'},
    'HDF5': {'hdf5_input': '0.7_sto-3g.hdf5'},
    'operator': {'name': 'hamiltonian'},
    'algorithm': {'name': 'VQE'},
    'optimizer': {'name': 'COBYLA'},
    'variational_form': {'name': 'UCCSD'},
    'initial_state': {'name': 'HartreeFock'}
}

from qiskit import Aer
backend = Aer.get_backend('statevector_simulator')

solver = QiskitChemistry()
%time result = solver.run(qiskit_chemistry_dict, backend=backend)

from qiskit_qcgpu_provider import QCGPUProvider
backend = QCGPUProvider().get_backend('statevector_simulator')

solver = QiskitChemistry()
%time result = solver.run(qiskit_chemistry_dict, backend=backend)

for line in result['printable']:
    print(line)

