Skip to content

Commit

Permalink
add real-valued ucj operator
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinsung committed Nov 24, 2023
1 parent b1d30a2 commit c39be11
Show file tree
Hide file tree
Showing 4 changed files with 527 additions and 145 deletions.
8 changes: 7 additions & 1 deletion python/ffsim/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,12 @@
simulate_qdrift_double_factorized,
simulate_trotter_double_factorized,
)
from ffsim.variational import HopGateAnsatzOperator, UCJOperator, multireference_state
from ffsim.variational import (
HopGateAnsatzOperator,
RealUCJOperator,
UCJOperator,
multireference_state,
)

__all__ = [
"DoubleFactorizedHamiltonian",
Expand All @@ -77,6 +82,7 @@
"HopGateAnsatzOperator",
"MolecularData",
"MolecularHamiltonian",
"RealUCJOperator",
"SingleFactorizedHamiltonian",
"SupportsApplyUnitary",
"SupportsApproximateEquality",
Expand Down
3 changes: 2 additions & 1 deletion python/ffsim/variational/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,11 @@

from ffsim.variational.hopgate import HopGateAnsatzOperator
from ffsim.variational.multireference import multireference_state
from ffsim.variational.ucj import UCJOperator
from ffsim.variational.ucj import RealUCJOperator, UCJOperator

__all__ = [
"HopGateAnsatzOperator",
"RealUCJOperator",
"UCJOperator",
"multireference_state",
]
Loading

0 comments on commit c39be11

Please sign in to comment.