Skip to content

Commit

Permalink
Added release notes
Browse files Browse the repository at this point in the history
  • Loading branch information
EgrettaThula committed Jan 11, 2023
1 parent 50292c2 commit a03e270
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
5 changes: 5 additions & 0 deletions releasenotes/notes/fix-aqc-check-if-su-matrix.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
fixes:
- |
Fixed an issue with the approximate quantum compiler (:class:`~qiskit.transpiler.synthesis.aqc.AQC`) that caused
it to return a wrong circuit when the unitary has a determinant −1.
1 change: 1 addition & 0 deletions test/python/transpiler/aqc/test_aqc.py
Original file line number Diff line number Diff line change
Expand Up @@ -125,5 +125,6 @@ def test_aqc_determinant_minus_one(self):
error = 0.5 * (np.linalg.norm(approx_matrix - target_matrix, "fro") ** 2)
self.assertTrue(error < 1e-3)


if __name__ == "__main__":
unittest.main()

0 comments on commit a03e270

Please sign in to comment.