Skip to content

Commit

Permalink
fixing issues with qubit encodings and orbital optimizations (#325)
Browse files Browse the repository at this point in the history
  • Loading branch information
kottmanj authored Feb 12, 2024
1 parent b663808 commit 140b703
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/tequila/quantumchemistry/qc_base.py
Original file line number Diff line number Diff line change
Expand Up @@ -559,7 +559,7 @@ def transform_orbitals(self, orbital_coefficients, *args, **kwargs):
# can not be an instance of a specific backend (otherwise we get inconsistencies with classical methods in the backend)
integral_manager = copy.deepcopy(self.integral_manager)
integral_manager.transform_orbitals(U=orbital_coefficients)
result = QuantumChemistryBase(parameters=self.parameters, integral_manager=integral_manager)
result = QuantumChemistryBase(parameters=self.parameters, integral_manager=integral_manager, transformation=self.transformation)
return result

def orthonormalize_basis_orbitals(self):
Expand Down
2 changes: 1 addition & 1 deletion src/tequila/version.py
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
__version__ = "1.9.2.dev"
__version__ = "1.9.3"
__author__ = "Tequila Developers "

0 comments on commit 140b703

Please sign in to comment.