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 physicists’ 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
. IOData stores four-index objects in physicists’ notation internally and dumps them to an FCIDUMP file in chemists’ notation.
- 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
IOData stores four-index objects in physicists’ notation internally and assumes they are stored in an FCIDUMP file in chemists’ notation.