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

Qiskit / qiskit / 9778119657

03 Jul 2024 12:46PM UTC coverage: 89.829% (-0.009%) from 89.838%
9778119657

push

github

web-flow
Avoid Python op creation in commutative cancellation (#12701)

* Avoid Python op creation in commutative cancellation

This commit updates the commutative cancellation and commutation
analysis transpiler pass. It builds off of #12692 to adjust access
patterns in the python transpiler path to avoid eagerly creating a
Python space operation object. The goal of this PR is to mitigate the
performance regression on these passes introduced by the extra
conversion cost of #12459.

* Remove stray print

* Don't add __array__ to DAGOpNode or CircuitInstruction

64 of 82 new or added lines in 5 files covered. (78.05%)

15 existing lines in 2 files now uncovered.

65127 of 72501 relevant lines covered (89.83%)

295354.11 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

97.15
/crates/qasm2/src/parse.rs


Source Not Available

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

© 2025 Coveralls, Inc