-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
Stable 0.6 #1025
Merged
Merged
Stable 0.6 #1025
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
…ling Tests revealed a couple of bugs in the codebase.
This commit adds a new named parameter to the latex drawer reverse_bits which gives users an option to reverse the order bits in a register are displayed. Currently, the bit order increases downward with the 0 bit being displayed at the top. When the reverse_bit option is set to True the order is reversed and q_N is at the top and the order decreases. This effects both qubits and classical bits. Also, the register order is not affected, just the bits in the registers.
This commit adds test coverage for the qiskit.mapper.__coupling. During the testing some unhandled edge cases were found in the module, this commit also fixes those at the same time. Fixes Qiskit#770
* Add "reversebits" style options in `circuit_drawer` and `matplotlib_circuit_drawer`.
…mocked responses (Qiskit#697) The current commit introduces several changes to the testing infrastructure. First, it provides a way of running IBM-Q tests against pre-recorded responses. The software in charge of recording and mocking-up the responses is VCRPy[1] and it is configured and used in `test/common.py`. Cassettes can be updated by using `make test_recording`. [1] https://github.com/kevin1024/vcrpy The commit also includes the latest responses (under `tests/casettes`) for a successful test run but a default execution with `make test` will only use them if no IBM-Q credentials are found. To force a run against mocked responses, use `make test_mock`. Finally, the commit also unifies the several test options in a unique environmental variable called `QISKIT_TESTS` (in `tests/python/_test_options.py`). These are the main equivalences but the set of options is described in the developer introduction [2]: - `SKIP_SLOW_TESTS=False` is now achieved by `QISKIT_TESTS=run_slow` - `SKIP_ONLINE_TESTS=1` is now achieved by `QISKIT_TESTS=skip_online` [2] https://github.com/Qiskit/qiskit-terra/blob/master/doc/dev_introduction.rst#testing-options
This commit fixes 2 issues identified in the newly added qcvv fitter tests. First was that on OSX (and other platforms without matplotlib setup) the tests would fail on test import because matplotlib isn't setup correctly. To address this the class is skipped if the fitters module can't be imported. The second issue was using a full comparison for floats, which may yield false failures when running on different platforms. To address this assertAlmostEqual() is used instead of assertEqual().
…spec. (Qiskit#788) Updated property Backend Configuration schema and example to reflect spec. I believe the vars and osc definitions were accidentally added to the example.
* Include new interactive visualizations * Update changelog * Removing Travis warnings... * Adding required extra lines * Improved docstring * Import modified according @nonhermitian comments * Fixed qsphere phase values * Added support in paulivec for density matrix * Changed execution_results by rho for coherence * Modified IPython import. * Added iplot_state function. * Style update * Updated docstring and lint fixes * Update CHANGELOG.rst * Update _iplot_qsphere.py * Update _iplot_hinton.py * Changed showLegend by show_legend to be consistent * Modified rest behaviour by number_to_keep option * Added new imports for histogram * Fixed lint issues * Added required blank line * Updated docstring for histogram process_data function
Add me to code owners.
Update Code Owners
…uration example, changed acquire keys to t0/duration, changed gate_def to cmd_def and added measurement. Greatly improved the cmd_def example (Qiskit#802)
This commit improves the debuggability of issues that arise during latex document compilation as part of the latex circuit visualizer. Previously when compiling a latex circuit visualization if we encountered a failure we would attempt to take a guess as to the cause based on some known error messages, and if those didn't match we'd just say you probably don't have the qcircuit package installed. However, latex compilation can fail for a lot of other reasons and this isn't really too helpful. To address the problem this commit removes that previous logic and replaces it with just a simple message that the compilation has failed and the output from the compilation is written to the CWD in latex_error.log. This way when users encounter a failure they can just check what pdflatex failed on and fix the issue directly. Fixes Qiskit#792
) * bug * the test for Qiskit#744 * slight typo
This commit updates all the comparisons with floats to be within a tolerance instead of full comparisons. This should acocunt for any differences in platform that or rounding that could potential cause an inconsistent result.
…ate (fixes Qiskit#814) (Qiskit#810) * Removed example from result field from schema because it was out of date. Don't need examples in the schemas they are in the actual examples we validate against * Added lowercase to hex in results
* removed quantum program from tomography module, tutorials will need updating * removing QuantumProgram from dosctrings * linter * more linter
* remove quantum program. move its useful tests * move more tests * finish transitioning to no QuantumProgram in tests * Update performance tests and files in tools (qcvv, apps) * update doc * removed unnecessary test_jsonoutput * fix requiring cpp simulator in test_resul * update performance benchmarking based on tomography
Update CODEOWNERS following the proper conventions, as it was left in a state that is not consistent with the project structure by a previous modification.
rework IBMQ account adminstration
* Update remote simulator test for backend IBMQ/Aer changes * updated remote tests * linting * Skipped python.ibmq.test_ibmq_qasm_simulator.TestIbmqQasmSimulator.test_online_qasm_simulator_two_registers * linter
This reverts commit 305635f.
* add proxy test * update proxies
* starting reademe * adding readme
* Update release notes with backend names * Bump changelog version * Update Sphinx examples
Update vcr cassettes
atilag
requested review from
ajavadia,
delapuente,
diego-plan9,
ewinston and
jaygambetta
as code owners
October 4, 2018 09:34
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
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Summary
New release: 0.6.0