8000 Stable 0.4.10 by atilag · Pull Request #323 · Qiskit/qiskit · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Stable 0.4.10 #323

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 29 commits into from
Mar 6, 2018
Merged

Stable 0.4.10 #323

merged 29 commits into from
Mar 6, 2018

Conversation

atilag
Copy link
Member
@atilag atilag commented Mar 6, 2018

Changelog

  • Fix installation issue when simulator cannot be built
  • Fix bug with auto-generated CNOT coherent error matrix in C++ simulator
  • Fix a bug in the async code
  • Chinese translation of README
  • Changes related with infrastructure (linter, tests, automation) enhancement

ANTONIO MEZZACAPO and others added 29 commits February 9, 2018 13:48
fixed X <-> Z indexing in eval_hamiltonian with one shot and pauli list
representation for the operator
* tests for _util.py

* remove mock mess. KISS by reading the file directly.
* Use simplified call of super allowed in python 3.

* minor fix for linter in cswap

* Add remaining super() changes for tests
* one more initializer test case

* updating version requirement for IBMQuantumExperience

* fixing per diego's comments

* adding vqe example

* moved benchmarks to test/performance

* fixing linter issues

* removing set_api from vqe benchmark

* parametrizing vqe

* fixing linter issues

* adding LiH as another molecule for vqe test

* adding state_tomography performance benchmark

* added state tomography performance test. fixed a bug in initializer.

* collecting stats about number of circuits and their size

* summary performance stats for vqe

* Update optimization.py

* Update optimization.py

* using uuid instead of random to generate unique strings.

* fixing linter problem
Fix a problem that prevented the installation of the package to succeed
if there was a problem when building the simulator during
`QiskitSimulatorBuild`. The `try`...`except` block could fail leaving
the current working directory modified, as seen in Qiskit#292: now it is
more robust and ensures the change is undone in case of any failure.
* keep symbols in the dag. Make them strings when converted to qasm

* no sympify needed since now the dag is sympified!

* this simplify is, I think, redundant

* linting!

* the backslash is redundant between brackets
  qiskit_simulator binary is removed before creating sdist
  distributable package.
* Simplified CMake dependencies
* Fixed MacOS builds for semi-static compilation
* Fixed Linux platform-tag for wheels distributable
Fix installation issue with simulator compilation
Antonio is antoniomezzacapo
* one more initializer test case

* updating version requirement for IBMQuantumExperience

* fixing per diego's comments

* circuit_drawer() visualization.py, generating PIL images

* adding circuit drawing function and embedded example in initialize

* added test

* linting

* more linting

* better exception handling in case dependencies not installed.

* fixing circuit drawing tests

* more linting-_-

* fixing per diego's comments

* lint

* improved exception handling for dependencies pillow, poppler, pdflatex, qcircuit

* adding id to drawing basis default

* Fix typo in setup.py.in
* Revise the travis configuration for using `cmake` for the several
  targets, and use "stages" instead of parallel jobs:
  * define three stages that are executed if the previous one suceeds:
    1. "linter and pure python test": executes the linter and a test
       without compiling the binaries, with the idea of providing quick
       feedback for PRs.
    2. "test": launch the test, including the compilation of binaries,
       under GNU/Linux Python 3.6 and 3.6; and osx Python 3.6.
    3. "deploy doc and pypi": for the stable branch, deploy the docs
       to the landing page, and when using a specific commit message,
       build the GNU/Linux and osx wheels, uploading them to test.pypi.
  * use yaml anchors and definitions to avoid repeating code (and
    working around travis limitations).
* Modify the `cmake``configuration to accomodate the stages flow:
  * allow conditional creation of compilation and QA targets, mainly
    for saving some time in some jobs.
  * move the tests to `cmake/tests.cmake`.
* Update the tests:
  * add a `requires_qe_access` decorator that retrieves QE_TOKEN and
    QE_URL and appends them to the parameters in an unified manner.
  * add an environment variable `SKIP_ONLINE_TESTS` that allows to
    skip the tests that need network access.
  * replace `TRAVIS_FORK_PULL_REQUEST` with the previous two
    mechanisms, adding support for AppVeyor as well.
  * fix a problem with matplotlib under osx headless, effectively
    skipping `test_visualization.py` during the travis osx jobs.
* Move Sphinx to `requirements-dev.txt`.
Revise travis configuration (cmake+stages+deploy)
* Setting `lex.input` data at `__mklexer__` instead of `push`.
* Returning a generator of the tokens found.
* `print_tokens` renamed to `get_tokens`.
* Test created.
* Create 1

* Add files via upload

* Delete 1

* Rename doc/ch/README.md to doc/zh/README.md

* Update README.md

* Update README.md

* Update README.md
* coverage rule in Makefile

* coverage in cmake

* clean coverage rule

* it looks like there is a proper way to remove the coverage data

* cmake: coverage_erase

* Add coverage target to cmake, fix typo

* Fix travis osx brew python (now upgrade)
…or (Qiskit#318)

* fixed bug in CX coherent error matrix and moved pre-build coherent error matrices from cpp simulator to python code

- qiskit_simulator now only takes a U_error matrix
- parameters ‘calibration_error’, ‘detuning_error’, ‘zz_error’ for CX
and X90 gates are now converted to U_error matrices in python before
being passed to simulator
- fixed incorrect matrix used for CX calibration errors
- added check in C++ code that U_error is unitary
- added python unit tests to test U_error building matrices
- fixed directory change in makefile

* updated backend strings in cpp_simulator ref files

* Fix linter warnings
* Fixed an async issue with timeouts
  - Timeout functionality removed from QuantumProgram, only the
    jobs control timeouts
* Refactored some async code
  - Timeout functionality removed from QuantumProgram, only the
    jobs control the timeout
  - Removed class variables in favor of local scopes in
    QuantumProgram
  - Created a dummybackend simulator for testing purposes
  - Created new test for async code
  - Created new test for timeout management

* If the linter is happy, I'm happy.

* Ups! this test has sneaked out, not in my watch!

* Skip DummyBackend test on windows, linting
@atilag atilag requested a review from diego-plan9 March 6, 2018 14:28
@atilag atilag merged commit 05291bb into Qiskit:stable Mar 6, 2018
lia-approves pushed a commit to edasgupta/qiskit-terra that referenced this pull request Jul 30, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

8 participants
0