-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Reduce number of compose calls in LieTrotter synthesis (#12021)
* Reduce number of compose calls in LieTrotter synthesis * Decompose the output * Update lie_trotter.py * Update lie_trotter.py * release note * Update release note section --------- Co-authored-by: Max Rossmannek <oss@zurich.ibm.com>
- Loading branch information
1 parent
dd2570b
commit c6f4d46
Showing
2 changed files
with
13 additions
and
14 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
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,6 @@ | ||
--- | ||
features_synthesis: | ||
- | | ||
:meth:`.LieTrotter.synthesize` now uses :meth:`.QuantumCircuit.repeat` to generate additional reps | ||
after the first. This reduces the number of :meth:`.QuantumCircuit.compose` calls by a factor of | ||
``reps`` and significantly reduces the runtime for larger operators. |