• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

Qiskit / qiskit / 9843343559
90%
main: 88%

Build:
Build:
LAST BUILD BRANCH: unitary-synthesis
DEFAULT BRANCH: main
Ran 08 Jul 2024 04:48PM UTC
Jobs 1
Files 849
Run time 2min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

08 Jul 2024 04:25PM UTC coverage: 89.831% (-0.009%) from 89.84%
9843343559

push

github

web-flow
Improve the performance of the `ProductFormula` synthesizers (#12724)

* [WIP] adds the output argument to the internal atomic evolution

* meta: modernize type hints

* refactor: change callable structure of atomic evolution

This changes the structure of the `atomic_evolution` callable in the
`ProductFormula` synthesis class. This is motivated by the significant
performance improvements that can be obtained by appending to the
existing circuit directly rather than building out individual evolution
circuits and iteratively composing them.

* refactor: deprecate the legacy atomic_evolution signature

* refactor: add the wrap argument to ProductFormula

This can be used to recover the previous behavior in which the single
individually evolved Pauli terms get wrapped into gate objects.

* fix: insert the missing barriers between LieTrotter repetitions

* refactor: align SuzukiTrotter and LieTrotter

* Propoagate deprecation notice

* fix: the labels of wrapped Pauli evolutions

* fix: respect the insert_barriers setting

* docs: add a release note

* Apply suggestions from code review

Co-authored-by: Julien Gacon <gaconju@gmail.com>

* fix: missing `wrap` forward in SuzukiTrotter

* docs: improve documentation of the `atomic_evolution` argument

Co-authored-by: Julien Gacon <gaconju@gmail.com>

* docs: also document the deprecated form of `atomic_evolution`

* docs: call out ProductFormula docs in release note

* refactor: change to PendingDeprecationWarning

* refactor: explicitly convert to Gate when wrapping

This is slightly faster than the `.compose`-based operation done
previously as it performs fewer checks. Thanks to @jakelishman for the
suggestion offline.

* Update qiskit/synthesis/evolution/lie_trotter.py

Co-authored-by: Julien Gacon <gaconju@gmail.com>

* docs: update after pending deprecation

---------

Co-authored-by: Julien Gacon <gaconju@gmail.com>

95 of 100 new or added lines in 6 files covered. (95.0%)

13 existing lines in 2 files now uncovered.

65232 of 72616 relevant lines covered (89.83%)

299751.04 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
94.76
-0.06% qiskit/circuit/quantumcircuit.py
1
96.77
0.48% qiskit/synthesis/evolution/lie_trotter.py
1
90.24
0.66% qiskit/synthesis/evolution/suzuki_trotter.py
2
98.64
0.28% qiskit/synthesis/evolution/product_formula.py

Uncovered Existing Lines

Lines Coverage ∆ File
6
96.69
-0.46% crates/qasm2/src/parse.rs
7
91.86
-0.76% crates/qasm2/src/lex.rs
Jobs
ID Job ID Ran Files Coverage
1 9843343559.1 08 Jul 2024 04:47PM UTC 849
89.83
GitHub Action Run
Source Files on build 9843343559
  • Tree
  • List 849
  • Changed 45
  • Source Changed 0
  • Coverage Changed 8
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 008dde3d on github
  • Prev Build on main (#9843146525)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc