prototype-entanglement-forging
prototype-entanglement-forging copied to clipboard
Support for complex valued ansatzes and Hamiltonians
When looking at systems that break time reversal symmetry, we have Hamiltonians that are complex valued and the resulting wave-functions are complex valued as well. Entanglement forging code can be upgraded to be able to treat these systems.
Potential solution:
- Modify modules that generate the Hamiltonian via the Cholesky decomposition to be compatible with imaginary terms in the 2N qubit Hamiltonian.
- Test that the
ClassicalEnergies
class is compatible with these changes. - Add additional linear superposition related to (+/- i) in the
make_stateprep_circuits
function such that all superposition circuits can be created as needed. A flag can be created to invoke the additional superposition circuits when needed.
Something along these lines maybe: