iodata.formats.fcidump module¶
Molpro 2012 FCIDUMP file format.
Notes
This function works only for restricted wave-functions.
One- and two-electron integrals are stored in chemists’ notation in an FCIDUMP file, while IOData internally uses Physicist’s notation.
Keep in mind that the FCIDUMP format changed in MOLPRO 2012, so files generated with older versions are not supported.
- dump_one(f, data)[source]¶
Dump a single frame into a Molpro 2012 FCIDUMP file.
- Parameters:
Notes
The dictionary
one_ints
must contain a fieldcore_mo
. Similarly,two_ints
must containtwo_mo
.
- load_one(lit)[source]¶
Load a single frame from a Molpro 2012 FCIDUMP file.
- Parameters:
lit (
LineIterator
) – The line iterator to read the data from.- Return type:
- Returns:
result (dict) – A dictionary with IOData attributes. The following attributes are guaranteed to be loaded:
core_energy
,one_ints
,nelec
,spinpol
,two_ints
.
Notes