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

ProjectQ-Framework / ProjectQ / 1420
98%

Build:
DEFAULT BRANCH: develop
Ran 04 Feb 2020 12:27PM UTC
Jobs 4
Files 177
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
1420

push

travis-ci

web-flow
Matplotlib drawer backend (#352)

* Adding tutorials directory

* test

* BV Algorithm

* add Matplotlib circuit drawer backend, this version works for H, CNOT, and Multi-CNOT.

* Delete the added unnecessary attributes in Command object

* Create the CircuitDrawerMatplotlib Class to handles drawing with matplotlib

* Deleted tutorials/.gitkeep

* update

* fix measurement gate

* Delete unrelated files.

* fix Toffoli gate position issue and change the qubit position from 'str' to 'int'

* Pytest for drawer_mpl

* Tests for _plot function

* Fix the R(angle) gate drawing

* added test for is_available and QFT gate

* fix drawing distance between gates when gate_length >2

* new test png for pytest mpl

* added Swap gates and CSwap gate with multi-control and multi-target.

* update test and comments

* Address comments in _drawer.py

* Reindent and reformat parts of _drawer.py

* Address comments in _plot.py

- Minor tweaks, code cleanup, rewrites, etc.

* Reindent and reformat _plot.py

* update tests

* Move matplotlib drawer into its own file + add test coverage

* Use regular expressions to rewrite and shorten gate names

* Change internal storage format for CircuitDrawerMatplotlib

* Better graphics and adapt plot functions to new internal format

- Support for new internal format
- Resulting quantum circuit figure whould work better with scaling
- Large quantum circuits will now result in wider figure instead of
  squeezing everything into the default matplotlib size
- Some support for multi-target qubit gates
- General code cleanup
- Dropped support for double lines when qubit is in classical state

* Complete test coverage + add some checks for to_draw() inputs

* Compatibility with matplotlib 2.2.3

* Remove compatibility code for MacOSX.

Use local matplotlibrc if necessary instead.

* Add matplotlib dependency to requirements.txt

* Fix non-UTF8 character in file
... (continued)

507 of 507 new or added lines in 8 files covered. (100.0%)

13274 of 13299 relevant lines covered (99.81%)

3.99 hits per line

Jobs
ID Job ID Ran Files Coverage
1 1420.1 (CC=gcc-4.9 CXX=g++-4.9 PYTHON=2.7) 04 Feb 2020 12:27PM UTC 0
99.61
Travis Job 1420.1
2 1420.2 (CC=gcc-4.9 CXX=g++-4.9 PYTHON=3.4) 04 Feb 2020 12:27PM UTC 0
99.78
Travis Job 1420.2
3 1420.3 (CC=gcc-4.9 CXX=g++-4.9 PYTHON=3.5) 04 Feb 2020 12:27PM UTC 0
99.77
Travis Job 1420.3
4 1420.4 (CC=gcc-4.9 CXX=g++-4.9 PYTHON=3.6) 04 Feb 2020 12:27PM UTC 0
99.77
Travis Job 1420.4
Source Files on build 1420
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #1420
  • a80fa847 on github
  • Prev Build on develop (#1391)
  • Next Build on develop (#1421)
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