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

ProjectQ-Framework / ProjectQ / 1341 / 2
98%
develop: 98%

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

20 Aug 2019 08:12AM UTC coverage: 99.804% (-0.07%) from 99.877%
CC=gcc-4.9 CXX=g++-4.9 PYTHON=3.4

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

12237 of 12261 relevant lines covered (99.8%)

1.0 hits per line

Source Files on job 1341.2 (CC=gcc-4.9 CXX=g++-4.9 PYTHON=3.4)
  • Tree
  • List 0
  • Changed 3
  • Source Changed 3
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 1244
  • Travis Job 1341.2
  • f27286f5 on github
  • Prev Job for CC=gcc-4.9 CXX=g++-4.9 PYTHON=3.4 on develop (#1334.2)
  • Next Job for CC=gcc-4.9 CXX=g++-4.9 PYTHON=3.4 on develop (#1343.2)
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