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

ProjectQ-Framework / ProjectQ / 1341
98%

Build:
DEFAULT BRANCH: develop
Ran 20 Aug 2019 08:15AM UTC
Jobs 4
Files 164
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

pending completion
1341

push

travis-ci

Takishima
<a href="https://github.com/ProjectQ-Framework/ProjectQ/commit/<a class=hub.com/ProjectQ-Framework/ProjectQ/commit/f27286f520ff8b1ca2dec9142b01b59a2490fcd5">f27286f52<a href="https://github.com/ProjectQ-Framework/ProjectQ/commit/f27286f520ff8b1ca2dec9142b01b59a2490fcd5">&quot;&gt;C++ simulator performance improvements (#329)

* C++ simulator performance: make the swap-gate run in native C++

It was defined as a BasicMathGate before which made it run as python
code through the emulate_math_wrapper. The new variant just uses its
matrix representation to run it in native code.

* C++ simulator performance: add dedicated C++ code for common math gates

The BasicMathGate uses a C++ python wrapper (emulate_math_wrapper) to allow generic
calculations which makes it very slow. This detects some math gates and
provides a native C++ implementation for it.

* C++ simulator performance: use larger memory alignment

* C++ simulator performance: recycle large StateVector memory buffers

This avoids costly std::vector copying/reallocations by using some
static std::vector to reuse the allocated buffer (just by std::swap&amp;#39;ing
a vector into a buffer for later use when it would be deallocated
otherwise).

* C++ simulator performance: improve compiler flags

* Add test coverage for constant math emulation

* Revert &amp;quot;Add test coverage for constant math emulation&quot;

This reverts commit </a><a class="double-link" href="https://github.com/ProjectQ-Framework/ProjectQ/commit/<a class="double-link" href="https://github.com/ProjectQ-Framework/ProjectQ/commit/3bb8a2cc7fd595db48b0f4d260124ccfe60d7fcf">3bb8a2cc7</a>">3bb8a2cc7</a><a href="https://github.com/ProjectQ-Framework/ProjectQ/commit/f27286f520ff8b1ca2dec9142b01b59a2490fcd5">.

* Add test coverage for constant math emulation

54 of 54 new or added lines in 3 files covered. (100.0%)

12237 of 12261 relevant lines covered (99.8%)

3.99 hits per line

Jobs
ID Job ID Ran Files Coverage
1 1341.1 (CC=gcc-4.9 CXX=g++-4.9 PYTHON=2.7) 20 Aug 2019 08:15AM UTC 0
99.62
Travis Job 1341.1
2 1341.2 (CC=gcc-4.9 CXX=g++-4.9 PYTHON=3.4) 20 Aug 2019 08:15AM UTC 0
99.8
Travis Job 1341.2
3 1341.3 (CC=gcc-4.9 CXX=g++-4.9 PYTHON=3.5) 20 Aug 2019 08:16AM UTC 0
99.79
Travis Job 1341.3
4 1341.4 (CC=gcc-4.9 CXX=g++-4.9 PYTHON=3.6) 20 Aug 2019 08:15AM UTC 0
99.79
Travis Job 1341.4
Source Files on build 1341
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #1341
  • f27286f5 on github
  • Prev Build on develop (#1334)
  • Next Build on develop (#1343)
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