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

Qiskit / qiskit-terra / 10130
87%
main: 87%

Build:
Build:
LAST BUILD BRANCH: sparsepauliop_default_init
DEFAULT BRANCH: main
Ran 01 Jul 2019 05:32AM UTC
Jobs 1
Files 337
Run time 30s
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
10130

push

travis-ci-com

ajavadia
Implementation of the Gray-Synth and Patel–Markov–Hayes algorithms (#2457)

* implemented Gray-Synth algorithm

* fixed formatting of the code

* added functionality for processing matrices with same columns (multiple gates applied to same state)

* added functionality for processing matrices with same columns (multiple gates applied to same state) also during the algorithm

* fixed 2 bugs in lwr_cnot_synth() and in graysynth()

* minor formatting fixes

* Created test_graysynth.py file, for checking if graysynth.py works properly

* minor improvements

* fixed error as explained by @ajavadia

* changed __init__.py

* Fixed cyclic import error (suggested by @ajavadia)

Co-Authored-By: Ali Javadi-Abhari <ajavadia@users.noreply.github.com>

* Created new folder transpiler/synthesis for synthesis algorithms and put GraySynth algorithm into it. More changes to follow

* upated testing function accordingly

* added function documentations, removed redundant state = np.matrix(state) line

* removed storage class, and replaced it with regular list using its stack functionality, and added raise Exception for numpy.ndarray

* added documentation for Exception in function cnot_synth()

* instead of using T-gates by default, it is now possible to specify any arbitrary phase-gate rotation

* changelog.md

* type fix angels -> angles

* docstring edits

* remove qreg from cnot_synth args

* remove number (n_qubits) from function args as it can be inferred

* specify a default of 2 for n_sections

* simplify test via Operator class, and add test from paper example

* make cnot_synth standalone (not cnot appender), and use QiskitError

* fix bug in cnot_synth and add test

* cnot_synth takes python lists or numpy ndarray

* lint

* Update graysynth.py

* renamed n_sections --> section_size

13726 of 18273 relevant lines covered (75.12%)

0.75 hits per line

Jobs
ID Job ID Ran Files Coverage
3 10130.3 (PYTHON="coverage run --source qiskit --parallel-mode") 01 Jul 2019 05:32AM UTC 0
75.12
Travis Job 10130.3
Source Files on build 10130
Detailed source file information is not available for this build.
  • Back to Repo
  • Build #10130
  • 8d80735b on github
  • Prev Build on master (#10125)
  • Next Build on master (#10133)
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