Skip to content
Snippets Groups Projects
Unverified Commit 65ccc59f authored by Filippo Vicentini's avatar Filippo Vicentini Committed by GitHub
Browse files

Throw error when calling `QGTOnTheFly.to_dense()` for non holomorphic ansatze (#1522)

Apparently more than one year ago we had realised that
`QGTOnTheFly.to_dense` returns numerically wrong results when the ansatz
is non holomorphic and the parameters are complex (no problem for real
parameters).

However, we had never implemented an error check, so sometimes it
happened to me to try to run dynamics with `QGTOnTheFly` and non
holomorphic, complex parameters ansatzes.

I want to put an end to this, so here this is.
parent fc8dabbb
Loading
Showing with 684 additions and 95 deletions
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment