forked from Qiskit/qiskit
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix incorrect signage in
qDRIFT
synthesis (Qiskit#11321)
* Enable saving signs in qDRIFT trotterization * Add release note * Fix signs in evolution * Fix formatting issues * Perserve signs when doing qDRIFT evolution * Fix spaces in qdrift.py * Update test_qdrift_evolution * Add reno release note * Fix linting * Update fix-qdrift-evolution-bceb9c4f182ab0f5.yaml --------- Co-authored-by: Shelly Garion <[email protected]>
- Loading branch information
1 parent
e0ddf72
commit f713c78
Showing
3 changed files
with
18 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 changes: 3 additions & 0 deletions
3
releasenotes/notes/fix-qdrift-evolution-bceb9c4f182ab0f5.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
fixes: | ||
- | | ||
Fix incorrect implemention of `qDRIFT`, negative coeffients of the Hamiltonian are now added back whereas they were always forced to be positive. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters