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

Qiskit / qiskit / 8807324183
88%

Build:
DEFAULT BRANCH: main
Ran 23 Apr 2024 09:29PM UTC
Jobs 1
Files 824
Run time 1min
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

23 Apr 2024 08:45PM UTC coverage: 89.476% (+0.007%) from 89.469%
8807324183

push

github

web-flow
Add fast-path construction to `NLocal` (#12099)

This class is hard to make the most efficient, due to how abstract the
base class is, with many different options and many private methods that
subclasses override.  Still, in cases where, _at the point of build_, we
can detect that rotation or entanglement layers are simple applications
of a single standard-library gate, we can skip the entire `copy` +
`assign` + `compose` pipeline and simply construct the gates in-place
with the correct parameters.  This skips huge tracts of overhead that
using the high-level, abstract interfaces (which are somewhat
necessarily more optimised to work with large operands) in tight inner
loops adds, culminating in about a 10x improvement in build time.

`NLocal` is so abstract that it's hard to hit similar performance to an
idiomatic direct construction of the relevant structure, but to be fair,
the concept of a circuit library is not necessarily to make the absolute
fastest constructors for tight loops, but to make it much simpler to
just get a circuit that works as intended.

39 of 39 new or added lines in 1 file covered. (100.0%)

7 existing lines in 2 files now uncovered.

60362 of 67462 relevant lines covered (89.48%)

224590.47 hits per line

Jobs
ID Job ID Ran Files Coverage
1 8807324183.1 23 Apr 2024 09:29PM UTC 0
89.48
GitHub Action Run
Source Files on build 8807324183
Detailed source file information is not available for this build.
  • Back to Repo
  • c9f6a109 on github
  • Prev Build on main (#8806207052)
  • Next Build on main (#8818337276)
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