From 85e355fefbe0e1464680309da8b56af77d99f95c Mon Sep 17 00:00:00 2001 From: "baptiste.bellot" Date: Fri, 24 Oct 2025 07:55:12 +0200 Subject: [PATCH] docs: update return type of get_molecular_hamiltonian Signed-off-by: baptiste.bellot --- src/openfermion/chem/molecular_data.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/openfermion/chem/molecular_data.py b/src/openfermion/chem/molecular_data.py index 94c02e772..f7f8c1b46 100644 --- a/src/openfermion/chem/molecular_data.py +++ b/src/openfermion/chem/molecular_data.py @@ -1010,7 +1010,7 @@ def get_molecular_hamiltonian(self, occupied_indices=None, active_indices=None): which orbitals should be considered active. Returns: - molecular_hamiltonian: An instance of the MolecularOperator class. + molecular_hamiltonian: An instance of the InteractionOperator class. Note: The indexing convention used is that even indices correspond to