Skip to main contentIBM Quantum Documentation
This page is from an old version of Qiskit SDK and does not exist in the latest version. We recommend you migrate to the latest version. See the release notes for more information.
Important

IBM Quantum Platform is moving and this version will be sunset on July 1. To get started on the new platform, read the migration guide.

qiskit.chemistry.drivers.HDF5Driver

class HDF5Driver(hdf5_input='molecule.hdf5')

GitHub

Qiskit chemistry driver reading an HDF5 file.

The HDF5 file is as saved from a QMolecule instance.

Parameters

hdf5_input (str) – Path to HDF5 file

__init__

__init__(hdf5_input='molecule.hdf5')

Parameters

hdf5_input (str) – Path to HDF5 file


Methods

__init__([hdf5_input])type hdf5_inputstr
run()Runs driver to produce a QMolecule output.

Attributes

basisreturn basis
hf_methodreturn Hartree-Fock method
moleculereturn molecule
supports_moleculeTrue for derived classes that support Molecule.
work_pathReturns work path.

basis

return basis

Return type

str

hf_method

return Hartree-Fock method

Return type

str

molecule

return molecule

Return type

Optional[Molecule]

run

run()

Runs driver to produce a QMolecule output.

Return type

QMolecule

Returns

A QMolecule containing the molecular data.

Raises

LookupError – file not found.

supports_molecule

True for derived classes that support Molecule.

Return type

bool

Returns

True if Molecule is supported.

work_path

Returns work path.

Was this page helpful?
Report a bug or request content on GitHub.