Skip to content
This repository was archived by the owner on Mar 7, 2024. It is now read-only.
This repository was archived by the owner on Mar 7, 2024. It is now read-only.

Support for complex valued ansatzes and Hamiltonians  #39

@tanvipg

Description

@tanvipg

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:

  1. Modify modules that generate the Hamiltonian via the Cholesky decomposition to be compatible with imaginary terms in the 2N qubit Hamiltonian.
  2. Test that the ClassicalEnergies class is compatible with these changes.
  3. 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:
Screen Shot 2021-09-09 at 4 30 13 PM

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions