Skip to content

Commit 7e62604

Browse files
authored
Add overlap integrals back to being stored in Psi4 (#13)
* Add overlap integrals back to being stored in Psi4 * Update version number requirement on OpenFermion * Update version number
1 parent a686d0d commit 7e62604

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

openfermionpsi4/_psi4_template

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,7 @@ if &run_scf:
7979
molecule.hf_energy = hf_energy
8080
molecule.nuclear_repulsion = mol.nuclear_repulsion_energy()
8181
molecule.canonical_orbitals = numpy.asarray(hf_wavefunction.Ca())
82+
molecule.overlap_integrals = numpy.asarray(hf_wavefunction.S())
8283
molecule.n_orbitals = molecule.canonical_orbitals.shape[0]
8384
molecule.n_qubits = 2 * molecule.n_orbitals
8485
molecule.orbital_energies = numpy.asarray(hf_wavefunction.epsilon_a())

openfermionpsi4/_version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,4 @@
1515
# along with this program. If not, see <http://www.gnu.org/licenses/>.
1616

1717
"""Define version number here and read it from setup.py automatically"""
18-
__version__ = "0.1a2"
18+
__version__ = "0.1a3"

requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
openfermion>=0.1a3
1+
openfermion>=0.1a4

0 commit comments

Comments
 (0)