-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
Setuptools Bootstrapper script is deprecated #1
Comments
diego-plan9
referenced
this issue
in diego-plan9/qiskit-terra
Sep 12, 2017
Update README: Remove QConfig and Fixed bug the Travis Status
Closing this issue as hopefully it has been addressed a while ago, specially since #35 and the introduction of a standard |
7 tasks
taalexander
added a commit
that referenced
this issue
Sep 25, 2019
kdk
pushed a commit
that referenced
this issue
Sep 26, 2019
* Remove changelog and document automated creation (#3109) * Remove changelog and document automated creation With the introduction of the qiskit-bot release automation for terra we no longer need to manually maintain or keep a changelog in repo. The github release pages (which we were manually copy and pasting the changelog into already) take the place of this file. For all future releases the creation of this page is completely automatic and handled by the bot. This works by using the git log and PR tags to figure out which commits belong in the changelog summary. The commit msg summary (the first line) is used for the changelog based on the tags. If a longer explanation is necessary that should be handled in the reno release notes. Fixes #3077 * Add README section on changelog * Make tweaks to readme for clarity * The option fig.tight_layout is triggering warnings in some situations so it is being removed (#3123) * no fig.tight_layout * removing the rest of fig.tight_layout() * check casteable types in Layout (#3100) * test * cast in insinstance * style * layouts are already layouts :) * Travis CI: The sudo: tag is deprecated on Travis (#3134) https://blog.travis-ci.com/2018-11-19-required-linux-infrastructure-migration * Fix a syntax error in QuantumCircuit.mirror. (#3138) * Fix for #3106 gatefacecolor key on circuit diagrams (#3137) * Issue #3106 gatefacecolor key has no effect on circuit diagrams If the style property "gatefacecolor" is set to a different value than the default, this color is applied. Fixes #3106 * Solved style problem space before : eliminated * Update plot_state_hinton() formatting (#3093) Add axes to the image part. It looks like the image axes already exist for non-empty graphs. The change that I made here is to remove if np.any(dataimag != 0): if the desired behavior is to see the axes on graphs that don't contain any elements. Replace rho with the latex rho Use standard format for real and imag parts of rho Fixes #2321 * Set barrier across multi-qubits correctly (#3042) * Previously it was assumed that specified barrier has a single contiguous span across qubits. Qubits for the barrier need not be adjacent in the diagram. This commit handles this case by adding barrier across correct qubits. * compute multiple short spans. Fixes #2918 * Test pulse clipping fix Osx #1. (#3144) * Remove superfluous reference to timeslots from assemble_schedules (#3139) * Extend custom multiqubit gates over classical bits for mpl (#3062) * Got it to extend over the clasical bits * Fixed a small bug * Removed a file accidentally modified * Fix linter * Deprecate allowing extra keys in circuit drawer style dict (#3105) * test * cast in insinstance * style * layouts are already layouts :) * style['plotbarrier'] is being deprecated * internal param for text drawer renamed to plot_barriers * error when style contains unknown options * better error message * remove #3100, since it was not my intention to be on it * style * remove plotbarrier * unused import * replace error with warning * release note * rochester_layout (#3125) * Use _append when args already converted and broadcast. (#2936) * Remove line in init which had been commented out (#3150) * Fix circuit drawing justification (#3061) Fixes #2802 qiskit/visualization/utils.py _get_layered_instructions() was erroneous and did not justify left nor right correctly. I have reworked that code which underlies many visual representations of circuits to the user. * refactored, needs more work on right justification * Looks like this works for qiskit-terra issue #2802 * May fix first test failure for this pull request, while causing another? * Draws conditionals on ClassicalRegister correctly now. * - Occurs check for gate in gates leads to good test results. - Added a few more self.maxDiff = None while debugging. Should they be pulled out? * tabs and trailing spaces ;) * removed the maxDiff's because they make the Style and lint test in Python 3.5 fail * added tests modified changelog * Test case extended to include original issue reported in #2802 * oops, left a maxDiff=None in from testing. Fixed * changes to utils.py requested by reviewer maddy-tod * test cases split as requested by reviewer maddy-tod * added circuit diagrams in comments to new tests * removed note from changelog and made it a release note per @mtreinish * made _LayerSpooler a private class * Revert "Remove changelog and document automated creation (#3109)" This reverts commit effad12. * Make _LayerSpooler a subclass of list The _LayerSpooler class was only ever used as list. While the class was an independent type it basically just wrapped an internal list. THen there were helper functions to access and manipulate that list. These methods just duplicated what python already provides and the list class itself already implements. This commit fixes this so the _LayerSpooler itself is a subclass of list so when it's initialized you can just treat it as the output list it was generating. * Clean up release note, fix only, not prelude * un reverted my revert of CONTRIBUTING.md * refactored, needs more work on right justification * Looks like this works for qiskit-terra issue #2802 * May fix first test failure for this pull request, while causing another? * Draws conditionals on ClassicalRegister correctly now. * - Occurs check for gate in gates leads to good test results. - Added a few more self.maxDiff = None while debugging. Should they be pulled out? * tabs and trailing spaces ;) * removed the maxDiff's because they make the Style and lint test in Python 3.5 fail * added tests modified changelog * Test case extended to include original issue reported in #2802 * oops, left a maxDiff=None in from testing. Fixed * changes to utils.py requested by reviewer maddy-tod * test cases split as requested by reviewer maddy-tod * added circuit diagrams in comments to new tests * removed note from changelog and made it a release note per @mtreinish * made _LayerSpooler a private class * Make _LayerSpooler a subclass of list The _LayerSpooler class was only ever used as list. While the class was an independent type it basically just wrapped an internal list. THen there were helper functions to access and manipulate that list. These methods just duplicated what python already provides and the list class itself already implements. This commit fixes this so the _LayerSpooler itself is a subclass of list so when it's initialized you can just treat it as the output list it was generating. * Clean up release note, fix only, not prelude * put back missing section * Add partial transpiler support for targeting ion trap backends. (#3122) * handle reset/barrier/measure (#3130) * Do not unroll an Rx,Ry,Rxx circuit to U3,CX because of measure. (#3140)
kdk
added a commit
that referenced
this issue
Oct 11, 2019
* Add partial transpiler support for targeting ion trap backends. (#3122) * handle reset/barrier/measure (#3130) * Do not unroll an Rx,Ry,Rxx circuit to U3,CX because of measure. (#3140) * rebase ion-trap branch (#3153) * Remove changelog and document automated creation (#3109) * Remove changelog and document automated creation With the introduction of the qiskit-bot release automation for terra we no longer need to manually maintain or keep a changelog in repo. The github release pages (which we were manually copy and pasting the changelog into already) take the place of this file. For all future releases the creation of this page is completely automatic and handled by the bot. This works by using the git log and PR tags to figure out which commits belong in the changelog summary. The commit msg summary (the first line) is used for the changelog based on the tags. If a longer explanation is necessary that should be handled in the reno release notes. Fixes #3077 * Add README section on changelog * Make tweaks to readme for clarity * The option fig.tight_layout is triggering warnings in some situations so it is being removed (#3123) * no fig.tight_layout * removing the rest of fig.tight_layout() * check casteable types in Layout (#3100) * test * cast in insinstance * style * layouts are already layouts :) * Travis CI: The sudo: tag is deprecated on Travis (#3134) https://blog.travis-ci.com/2018-11-19-required-linux-infrastructure-migration * Fix a syntax error in QuantumCircuit.mirror. (#3138) * Fix for #3106 gatefacecolor key on circuit diagrams (#3137) * Issue #3106 gatefacecolor key has no effect on circuit diagrams If the style property "gatefacecolor" is set to a different value than the default, this color is applied. Fixes #3106 * Solved style problem space before : eliminated * Update plot_state_hinton() formatting (#3093) Add axes to the image part. It looks like the image axes already exist for non-empty graphs. The change that I made here is to remove if np.any(dataimag != 0): if the desired behavior is to see the axes on graphs that don't contain any elements. Replace rho with the latex rho Use standard format for real and imag parts of rho Fixes #2321 * Set barrier across multi-qubits correctly (#3042) * Previously it was assumed that specified barrier has a single contiguous span across qubits. Qubits for the barrier need not be adjacent in the diagram. This commit handles this case by adding barrier across correct qubits. * compute multiple short spans. Fixes #2918 * Test pulse clipping fix Osx #1. (#3144) * Remove superfluous reference to timeslots from assemble_schedules (#3139) * Extend custom multiqubit gates over classical bits for mpl (#3062) * Got it to extend over the clasical bits * Fixed a small bug * Removed a file accidentally modified * Fix linter * Deprecate allowing extra keys in circuit drawer style dict (#3105) * test * cast in insinstance * style * layouts are already layouts :) * style['plotbarrier'] is being deprecated * internal param for text drawer renamed to plot_barriers * error when style contains unknown options * better error message * remove #3100, since it was not my intention to be on it * style * remove plotbarrier * unused import * replace error with warning * release note * rochester_layout (#3125) * Use _append when args already converted and broadcast. (#2936) * Remove line in init which had been commented out (#3150) * Fix circuit drawing justification (#3061) Fixes #2802 qiskit/visualization/utils.py _get_layered_instructions() was erroneous and did not justify left nor right correctly. I have reworked that code which underlies many visual representations of circuits to the user. * refactored, needs more work on right justification * Looks like this works for qiskit-terra issue #2802 * May fix first test failure for this pull request, while causing another? * Draws conditionals on ClassicalRegister correctly now. * - Occurs check for gate in gates leads to good test results. - Added a few more self.maxDiff = None while debugging. Should they be pulled out? * tabs and trailing spaces ;) * removed the maxDiff's because they make the Style and lint test in Python 3.5 fail * added tests modified changelog * Test case extended to include original issue reported in #2802 * oops, left a maxDiff=None in from testing. Fixed * changes to utils.py requested by reviewer maddy-tod * test cases split as requested by reviewer maddy-tod * added circuit diagrams in comments to new tests * removed note from changelog and made it a release note per @mtreinish * made _LayerSpooler a private class * Revert "Remove changelog and document automated creation (#3109)" This reverts commit effad12. * Make _LayerSpooler a subclass of list The _LayerSpooler class was only ever used as list. While the class was an independent type it basically just wrapped an internal list. THen there were helper functions to access and manipulate that list. These methods just duplicated what python already provides and the list class itself already implements. This commit fixes this so the _LayerSpooler itself is a subclass of list so when it's initialized you can just treat it as the output list it was generating. * Clean up release note, fix only, not prelude * un reverted my revert of CONTRIBUTING.md * refactored, needs more work on right justification * Looks like this works for qiskit-terra issue #2802 * May fix first test failure for this pull request, while causing another? * Draws conditionals on ClassicalRegister correctly now. * - Occurs check for gate in gates leads to good test results. - Added a few more self.maxDiff = None while debugging. Should they be pulled out? * tabs and trailing spaces ;) * removed the maxDiff's because they make the Style and lint test in Python 3.5 fail * added tests modified changelog * Test case extended to include original issue reported in #2802 * oops, left a maxDiff=None in from testing. Fixed * changes to utils.py requested by reviewer maddy-tod * test cases split as requested by reviewer maddy-tod * added circuit diagrams in comments to new tests * removed note from changelog and made it a release note per @mtreinish * made _LayerSpooler a private class * Make _LayerSpooler a subclass of list The _LayerSpooler class was only ever used as list. While the class was an independent type it basically just wrapped an internal list. THen there were helper functions to access and manipulate that list. These methods just duplicated what python already provides and the list class itself already implements. This commit fixes this so the _LayerSpooler itself is a subclass of list so when it's initialized you can just treat it as the output list it was generating. * Clean up release note, fix only, not prelude * put back missing section * Add partial transpiler support for targeting ion trap backends. (#3122) * handle reset/barrier/measure (#3130) * Do not unroll an Rx,Ry,Rxx circuit to U3,CX because of measure. (#3140) * Add global Molmer-Sorenson gate (#3149) * add global ms gate * clean up * Update qiskit/extensions/standard/ms.py Co-Authored-By: Kevin Krsulich <kevin@krsulich.net> * Update qiskit/extensions/standard/ms.py Co-Authored-By: Kevin Krsulich <kevin@krsulich.net> * clean up * Update qiskit/extensions/standard/ms.py Co-Authored-By: Lauren Capelluto <laurencapelluto@gmail.com> * Update MS docstring
mergify bot
added a commit
that referenced
this issue
Jul 8, 2020
* Fix setting contexts. * Make builder class private. * Add group transform. * Initial demo test is running (not necessarily doing the right thing. * Typed context gate call parameters. * Fix imports for builder. * Fix bugs in tests. * Minor changes. * Add pad context. Rename active -> current. * Add barrier test, expected fail. * Added group context test. * Fix bug in acquire instruction. * Add instruction tests. * Add builder utilities tests. * Fix bug in scheduler when no gates present in circuit. * Test transpiler and scheduler context settings / utilities. * Made children, a public method. * add default alignment context for builder. * Get tests working for call_schedule and call_circuit. Rework right align transform. * Rename test file. * Test measure macro. * Add delay_qubit macro test. * Update context builder test docstring. * Review suggestions * Add gate tests. Running into a bug with the schedule implementation. * Fix get_qubit_channels * Fix bug in acquire round 2. * Deprecation warning to use control(qubits: List) instead of control(channel: int) * Fix mutable insert flattening schedule tree. * Fix delay test using qubit index. * Fix using deprecated cnotgate. * typos * Rename alignment contexts. * update the control based on the new backend schema * typos * Unify alignment context naming. * Unify naming of transforms and fix broken align_right. * More logic fixes * lint * lint * add older code * More logic fixes * lint * Update docstrings and typehints * Unused imports * Release notes * Review suggestions * Bug fix for get_qubit_channels(0) Updated tests too * Review Suggestions * lint * Change error message of _get_channel_prefix_index * Added raise error for backends without 'channel' information * Update docstrings for raise errors * Fix error messages and docstrings * make self.channels private * Remove collections.Counter * Revert "Remove collections.Counter" This reverts commit d602738. * Add complex test. * Rename _schedule_lazy_circuit_before to _compile_lazy_circuit_before * Add delay_qubits instruction. Fix bug in schedule equality test. * Add frequency and phase offset contexts. * Renamed builder_context to builder. * Add inline directive. * linting. * Fix linting errors. * Add rescheduler linting. * Add transforms documentation. * Lint test builder. * Add macro linting. * Schedule linting. * lint pulse builder. * Remove cyclical imports with compiler import in pulse builder. * Add channel builder helper functions. Rename current to active. * Add relative barrier directive. * Refactor visualization namespacing. * Add barrier directive to builder. * Add num_qubits. * Add measure_all builder command. * Add acquire on qubit. * Add error if not all channels supplied to an Instruction is a channel. * Remove notebooks directory from hackathon. * linting * Fix issue with deprecated Delay. * Add backport packages for contextvars. * Reorder schedule and backend arguments. Make backend no longer required. * Small builder doc update. * Add simpler calling syntax for the builder. * Fix python versioninign. * Add __all__ for builder. * Add exceptions for no active builder or no backend set. * Update automodule Adds documentation of all non-private member function and properties * Remove unwanted docstrings Also fixes some typos * Fix pylint error - BackendNotSet not added in docstring * Fix weird bug * Fix 'commands' not imported * Fix typo * Rename pulse.reschedule -> pulse.transforms * Update surrounding code to support rename (releasenotes, add rescheduler back for import path deprecation, API documentation, update imports in tests) * Remove unwanted newlines * Reapply feedback from code review * Add test cases for issues with timeslots.' * Fix small bug in timeslot insertion finder. * Fixed another error in the code path. * Remove accidental comment. * Fix another small timeslot bug. (cherry picked from commit 28bbbdec13ebd137ca4e5fd1c61aff0c0304988e) * Fix small issue. * Moved circuit_scheduler back to scheduler. * Properly deprecate scheduler utils. * linting * Fix missed pieces when moving back scheduler. * Fix circular imports by using from instead of import * linting. * use Constant instead of ConstantPulse. * Rename pulse.reschedule -> pulse.transforms * Update surrounding code to support rename (releasenotes, add rescheduler back for import path deprecation, API documentation, update imports in tests) * Remove unwanted newlines * Reapply feedback from code review * Fix docs unexpected indent * Linting. * Change deprecation warning to emit warning at proper stack location. * Make changes to remove deprecation warnings. * Remove leftover files from moving of scheduler. * Revert ordering of channel and qubit arguments compared to parameters. * Add pulse builder documentation. * fix up builder tests. * Linting. * Docs update. * Fix deprecation warning. * Fix reno warnings * Some builder.py docstring updates * Documentation updates. * Fix issue with wrapped function not being properly documented. * Update builder docs to use jupyter-executer * Builder interface documentation. * Fix issue with pulse barrier padding. * Fix builder barrier doc. * Structure builder imports. * Update qiskit/pulse/instructions/directives.py Co-authored-by: Lauren Capelluto <laurencapelluto@gmail.com> * Update qiskit/pulse/instructions/acquire.py Co-authored-by: Lauren Capelluto <laurencapelluto@gmail.com> * Update qiskit/pulse/instructions/directives.py Co-authored-by: Lauren Capelluto <laurencapelluto@gmail.com> * Fix call circuit. * Enable a samples_to_time and time_to_samples method. * Add test to builder for calling circuit with cregs. * Update qiskit/pulse/builder.py Co-authored-by: Lauren Capelluto <laurencapelluto@gmail.com> * Update qiskit/pulse/builder.py Co-authored-by: Lauren Capelluto <laurencapelluto@gmail.com> * Update qiskit/pulse/builder.py Co-authored-by: Lauren Capelluto <laurencapelluto@gmail.com> * Revert acquire import changes. * Ignore trivial barriers. * Add note on future deprecation of calling gates within the pulse builder interface. * Remove commented out execution. * Update qiskit/pulse/transforms.py Co-authored-by: Lauren Capelluto <laurencapelluto@gmail.com> * Remove mention of quantum circuit in builder documentation intro. * Update qiskit/pulse/builder.py Co-authored-by: Lauren Capelluto <laurencapelluto@gmail.com> * Fix jupyter execute import style. * Fix unclear arguments in delay_qubits doc. * Make pulse builder warning more prominent and revise message. * Fixed import asthetic. * Move BackendNotSet to exceptions. * Fix more asthetic setting of default settings in builder. * Remove left over assert in builder. * Remove dead comment. * Reorder _call_circuit. * Fix small linting error * Fix commented out example code. * Remove comment headers. * Move NoActiveBuilder exception to exceptions. * Rename time to sample and vice versa to seconds to samples * Update macros module docstring. * Fix measure docstring spacing. * Update test_builder copyright. * Fix test docstrings. * Add notes for expected test failures. * Rename types sections to channels. * Fix test spacing. * Revert test modification. * Fix test_transform docstring. * Add better coverage for TestRemoveTrivialBarriers * Readd transform tests. * Change example usage to examples for uniformity. * linting invalid name. * Replace mutate flag with inplace to mirror the circuit model. * Allow passing name to pulse.build. * Fix bad builder example assert. * Allow frequency and phase offset contexts to broacast across channels. * Revert delay instruction error. * Remove unnecessary assignments for inplace schedule operations. * Reorder sequential transform reference ordering. * Removed unnecessary removal of barriers in transform test. * Verify that flattened works correctly by testing aligned on grouped schedule. * Make align right test depending on nesting. Refactor implementation of align_right. * Use append instead of append where it makes sense. Use inplace where I can. * Remove the pulse group instruction for now. * Added better inlining test. * Implement shift frequency and frequency_offset. * Clean up builder tests #1 * Deprecate warns only once. * Remove append_instruction from pulse namespace. * Fix bad test name in test_instructions. * Added beta flag. * Update flatten transform documentation. * Operator spaces. * Fix unnecessary else in schedule. * Fix operator spacing in test-transforms. * time to seconds * Fix misnamed test. * Revert children to _children. * Update pulse module docstring * linting. * Revert apidocs change in pulse. * Remove call_schedule, call_circuit, call_gate from top-level import. * Rename block to context_schedule. * Better error message. * Fix module level import. * revert reno files. * Added space in test builder. * Added set_phase instruction. * Revert visualization changes. * Remove unused import * Standardize imports for builder PR. * Docs updates. Co-authored-by: SooluThomas <soolu.elto@gmail.com> Co-authored-by: Lauren Capelluto <laurencapelluto@gmail.com> Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
faisaldebouni
pushed a commit
to faisaldebouni/qiskit-terra
that referenced
this issue
Aug 5, 2020
faisaldebouni
pushed a commit
to faisaldebouni/qiskit-terra
that referenced
this issue
Aug 5, 2020
* Add partial transpiler support for targeting ion trap backends. (Qiskit#3122) * handle reset/barrier/measure (Qiskit#3130) * Do not unroll an Rx,Ry,Rxx circuit to U3,CX because of measure. (Qiskit#3140) * rebase ion-trap branch (Qiskit#3153) * Remove changelog and document automated creation (Qiskit#3109) * Remove changelog and document automated creation With the introduction of the qiskit-bot release automation for terra we no longer need to manually maintain or keep a changelog in repo. The github release pages (which we were manually copy and pasting the changelog into already) take the place of this file. For all future releases the creation of this page is completely automatic and handled by the bot. This works by using the git log and PR tags to figure out which commits belong in the changelog summary. The commit msg summary (the first line) is used for the changelog based on the tags. If a longer explanation is necessary that should be handled in the reno release notes. Fixes Qiskit#3077 * Add README section on changelog * Make tweaks to readme for clarity * The option fig.tight_layout is triggering warnings in some situations so it is being removed (Qiskit#3123) * no fig.tight_layout * removing the rest of fig.tight_layout() * check casteable types in Layout (Qiskit#3100) * test * cast in insinstance * style * layouts are already layouts :) * Travis CI: The sudo: tag is deprecated on Travis (Qiskit#3134) https://blog.travis-ci.com/2018-11-19-required-linux-infrastructure-migration * Fix a syntax error in QuantumCircuit.mirror. (Qiskit#3138) * Fix for Qiskit#3106 gatefacecolor key on circuit diagrams (Qiskit#3137) * Issue Qiskit#3106 gatefacecolor key has no effect on circuit diagrams If the style property "gatefacecolor" is set to a different value than the default, this color is applied. Fixes Qiskit#3106 * Solved style problem space before : eliminated * Update plot_state_hinton() formatting (Qiskit#3093) Add axes to the image part. It looks like the image axes already exist for non-empty graphs. The change that I made here is to remove if np.any(dataimag != 0): if the desired behavior is to see the axes on graphs that don't contain any elements. Replace rho with the latex rho Use standard format for real and imag parts of rho Fixes Qiskit#2321 * Set barrier across multi-qubits correctly (Qiskit#3042) * Previously it was assumed that specified barrier has a single contiguous span across qubits. Qubits for the barrier need not be adjacent in the diagram. This commit handles this case by adding barrier across correct qubits. * compute multiple short spans. Fixes Qiskit#2918 * Test pulse clipping fix Osx Qiskit#1. (Qiskit#3144) * Remove superfluous reference to timeslots from assemble_schedules (Qiskit#3139) * Extend custom multiqubit gates over classical bits for mpl (Qiskit#3062) * Got it to extend over the clasical bits * Fixed a small bug * Removed a file accidentally modified * Fix linter * Deprecate allowing extra keys in circuit drawer style dict (Qiskit#3105) * test * cast in insinstance * style * layouts are already layouts :) * style['plotbarrier'] is being deprecated * internal param for text drawer renamed to plot_barriers * error when style contains unknown options * better error message * remove Qiskit#3100, since it was not my intention to be on it * style * remove plotbarrier * unused import * replace error with warning * release note * rochester_layout (Qiskit#3125) * Use _append when args already converted and broadcast. (Qiskit#2936) * Remove line in init which had been commented out (Qiskit#3150) * Fix circuit drawing justification (Qiskit#3061) Fixes Qiskit#2802 qiskit/visualization/utils.py _get_layered_instructions() was erroneous and did not justify left nor right correctly. I have reworked that code which underlies many visual representations of circuits to the user. * refactored, needs more work on right justification * Looks like this works for qiskit-terra issue Qiskit#2802 * May fix first test failure for this pull request, while causing another? * Draws conditionals on ClassicalRegister correctly now. * - Occurs check for gate in gates leads to good test results. - Added a few more self.maxDiff = None while debugging. Should they be pulled out? * tabs and trailing spaces ;) * removed the maxDiff's because they make the Style and lint test in Python 3.5 fail * added tests modified changelog * Test case extended to include original issue reported in Qiskit#2802 * oops, left a maxDiff=None in from testing. Fixed * changes to utils.py requested by reviewer maddy-tod * test cases split as requested by reviewer maddy-tod * added circuit diagrams in comments to new tests * removed note from changelog and made it a release note per @mtreinish * made _LayerSpooler a private class * Revert "Remove changelog and document automated creation (Qiskit#3109)" This reverts commit effad12. * Make _LayerSpooler a subclass of list The _LayerSpooler class was only ever used as list. While the class was an independent type it basically just wrapped an internal list. THen there were helper functions to access and manipulate that list. These methods just duplicated what python already provides and the list class itself already implements. This commit fixes this so the _LayerSpooler itself is a subclass of list so when it's initialized you can just treat it as the output list it was generating. * Clean up release note, fix only, not prelude * un reverted my revert of CONTRIBUTING.md * refactored, needs more work on right justification * Looks like this works for qiskit-terra issue Qiskit#2802 * May fix first test failure for this pull request, while causing another? * Draws conditionals on ClassicalRegister correctly now. * - Occurs check for gate in gates leads to good test results. - Added a few more self.maxDiff = None while debugging. Should they be pulled out? * tabs and trailing spaces ;) * removed the maxDiff's because they make the Style and lint test in Python 3.5 fail * added tests modified changelog * Test case extended to include original issue reported in Qiskit#2802 * oops, left a maxDiff=None in from testing. Fixed * changes to utils.py requested by reviewer maddy-tod * test cases split as requested by reviewer maddy-tod * added circuit diagrams in comments to new tests * removed note from changelog and made it a release note per @mtreinish * made _LayerSpooler a private class * Make _LayerSpooler a subclass of list The _LayerSpooler class was only ever used as list. While the class was an independent type it basically just wrapped an internal list. THen there were helper functions to access and manipulate that list. These methods just duplicated what python already provides and the list class itself already implements. This commit fixes this so the _LayerSpooler itself is a subclass of list so when it's initialized you can just treat it as the output list it was generating. * Clean up release note, fix only, not prelude * put back missing section * Add partial transpiler support for targeting ion trap backends. (Qiskit#3122) * handle reset/barrier/measure (Qiskit#3130) * Do not unroll an Rx,Ry,Rxx circuit to U3,CX because of measure. (Qiskit#3140) * Add global Molmer-Sorenson gate (Qiskit#3149) * add global ms gate * clean up * Update qiskit/extensions/standard/ms.py Co-Authored-By: Kevin Krsulich <kevin@krsulich.net> * Update qiskit/extensions/standard/ms.py Co-Authored-By: Kevin Krsulich <kevin@krsulich.net> * clean up * Update qiskit/extensions/standard/ms.py Co-Authored-By: Lauren Capelluto <laurencapelluto@gmail.com> * Update MS docstring
faisaldebouni
pushed a commit
to faisaldebouni/qiskit-terra
that referenced
this issue
Aug 5, 2020
* Fix setting contexts. * Make builder class private. * Add group transform. * Initial demo test is running (not necessarily doing the right thing. * Typed context gate call parameters. * Fix imports for builder. * Fix bugs in tests. * Minor changes. * Add pad context. Rename active -> current. * Add barrier test, expected fail. * Added group context test. * Fix bug in acquire instruction. * Add instruction tests. * Add builder utilities tests. * Fix bug in scheduler when no gates present in circuit. * Test transpiler and scheduler context settings / utilities. * Made children, a public method. * add default alignment context for builder. * Get tests working for call_schedule and call_circuit. Rework right align transform. * Rename test file. * Test measure macro. * Add delay_qubit macro test. * Update context builder test docstring. * Review suggestions * Add gate tests. Running into a bug with the schedule implementation. * Fix get_qubit_channels * Fix bug in acquire round 2. * Deprecation warning to use control(qubits: List) instead of control(channel: int) * Fix mutable insert flattening schedule tree. * Fix delay test using qubit index. * Fix using deprecated cnotgate. * typos * Rename alignment contexts. * update the control based on the new backend schema * typos * Unify alignment context naming. * Unify naming of transforms and fix broken align_right. * More logic fixes * lint * lint * add older code * More logic fixes * lint * Update docstrings and typehints * Unused imports * Release notes * Review suggestions * Bug fix for get_qubit_channels(0) Updated tests too * Review Suggestions * lint * Change error message of _get_channel_prefix_index * Added raise error for backends without 'channel' information * Update docstrings for raise errors * Fix error messages and docstrings * make self.channels private * Remove collections.Counter * Revert "Remove collections.Counter" This reverts commit d602738. * Add complex test. * Rename _schedule_lazy_circuit_before to _compile_lazy_circuit_before * Add delay_qubits instruction. Fix bug in schedule equality test. * Add frequency and phase offset contexts. * Renamed builder_context to builder. * Add inline directive. * linting. * Fix linting errors. * Add rescheduler linting. * Add transforms documentation. * Lint test builder. * Add macro linting. * Schedule linting. * lint pulse builder. * Remove cyclical imports with compiler import in pulse builder. * Add channel builder helper functions. Rename current to active. * Add relative barrier directive. * Refactor visualization namespacing. * Add barrier directive to builder. * Add num_qubits. * Add measure_all builder command. * Add acquire on qubit. * Add error if not all channels supplied to an Instruction is a channel. * Remove notebooks directory from hackathon. * linting * Fix issue with deprecated Delay. * Add backport packages for contextvars. * Reorder schedule and backend arguments. Make backend no longer required. * Small builder doc update. * Add simpler calling syntax for the builder. * Fix python versioninign. * Add __all__ for builder. * Add exceptions for no active builder or no backend set. * Update automodule Adds documentation of all non-private member function and properties * Remove unwanted docstrings Also fixes some typos * Fix pylint error - BackendNotSet not added in docstring * Fix weird bug * Fix 'commands' not imported * Fix typo * Rename pulse.reschedule -> pulse.transforms * Update surrounding code to support rename (releasenotes, add rescheduler back for import path deprecation, API documentation, update imports in tests) * Remove unwanted newlines * Reapply feedback from code review * Add test cases for issues with timeslots.' * Fix small bug in timeslot insertion finder. * Fixed another error in the code path. * Remove accidental comment. * Fix another small timeslot bug. (cherry picked from commit 28bbbdec13ebd137ca4e5fd1c61aff0c0304988e) * Fix small issue. * Moved circuit_scheduler back to scheduler. * Properly deprecate scheduler utils. * linting * Fix missed pieces when moving back scheduler. * Fix circular imports by using from instead of import * linting. * use Constant instead of ConstantPulse. * Rename pulse.reschedule -> pulse.transforms * Update surrounding code to support rename (releasenotes, add rescheduler back for import path deprecation, API documentation, update imports in tests) * Remove unwanted newlines * Reapply feedback from code review * Fix docs unexpected indent * Linting. * Change deprecation warning to emit warning at proper stack location. * Make changes to remove deprecation warnings. * Remove leftover files from moving of scheduler. * Revert ordering of channel and qubit arguments compared to parameters. * Add pulse builder documentation. * fix up builder tests. * Linting. * Docs update. * Fix deprecation warning. * Fix reno warnings * Some builder.py docstring updates * Documentation updates. * Fix issue with wrapped function not being properly documented. * Update builder docs to use jupyter-executer * Builder interface documentation. * Fix issue with pulse barrier padding. * Fix builder barrier doc. * Structure builder imports. * Update qiskit/pulse/instructions/directives.py Co-authored-by: Lauren Capelluto <laurencapelluto@gmail.com> * Update qiskit/pulse/instructions/acquire.py Co-authored-by: Lauren Capelluto <laurencapelluto@gmail.com> * Update qiskit/pulse/instructions/directives.py Co-authored-by: Lauren Capelluto <laurencapelluto@gmail.com> * Fix call circuit. * Enable a samples_to_time and time_to_samples method. * Add test to builder for calling circuit with cregs. * Update qiskit/pulse/builder.py Co-authored-by: Lauren Capelluto <laurencapelluto@gmail.com> * Update qiskit/pulse/builder.py Co-authored-by: Lauren Capelluto <laurencapelluto@gmail.com> * Update qiskit/pulse/builder.py Co-authored-by: Lauren Capelluto <laurencapelluto@gmail.com> * Revert acquire import changes. * Ignore trivial barriers. * Add note on future deprecation of calling gates within the pulse builder interface. * Remove commented out execution. * Update qiskit/pulse/transforms.py Co-authored-by: Lauren Capelluto <laurencapelluto@gmail.com> * Remove mention of quantum circuit in builder documentation intro. * Update qiskit/pulse/builder.py Co-authored-by: Lauren Capelluto <laurencapelluto@gmail.com> * Fix jupyter execute import style. * Fix unclear arguments in delay_qubits doc. * Make pulse builder warning more prominent and revise message. * Fixed import asthetic. * Move BackendNotSet to exceptions. * Fix more asthetic setting of default settings in builder. * Remove left over assert in builder. * Remove dead comment. * Reorder _call_circuit. * Fix small linting error * Fix commented out example code. * Remove comment headers. * Move NoActiveBuilder exception to exceptions. * Rename time to sample and vice versa to seconds to samples * Update macros module docstring. * Fix measure docstring spacing. * Update test_builder copyright. * Fix test docstrings. * Add notes for expected test failures. * Rename types sections to channels. * Fix test spacing. * Revert test modification. * Fix test_transform docstring. * Add better coverage for TestRemoveTrivialBarriers * Readd transform tests. * Change example usage to examples for uniformity. * linting invalid name. * Replace mutate flag with inplace to mirror the circuit model. * Allow passing name to pulse.build. * Fix bad builder example assert. * Allow frequency and phase offset contexts to broacast across channels. * Revert delay instruction error. * Remove unnecessary assignments for inplace schedule operations. * Reorder sequential transform reference ordering. * Removed unnecessary removal of barriers in transform test. * Verify that flattened works correctly by testing aligned on grouped schedule. * Make align right test depending on nesting. Refactor implementation of align_right. * Use append instead of append where it makes sense. Use inplace where I can. * Remove the pulse group instruction for now. * Added better inlining test. * Implement shift frequency and frequency_offset. * Clean up builder tests Qiskit#1 * Deprecate warns only once. * Remove append_instruction from pulse namespace. * Fix bad test name in test_instructions. * Added beta flag. * Update flatten transform documentation. * Operator spaces. * Fix unnecessary else in schedule. * Fix operator spacing in test-transforms. * time to seconds * Fix misnamed test. * Revert children to _children. * Update pulse module docstring * linting. * Revert apidocs change in pulse. * Remove call_schedule, call_circuit, call_gate from top-level import. * Rename block to context_schedule. * Better error message. * Fix module level import. * revert reno files. * Added space in test builder. * Added set_phase instruction. * Revert visualization changes. * Remove unused import * Standardize imports for builder PR. * Docs updates. Co-authored-by: SooluThomas <soolu.elto@gmail.com> Co-authored-by: Lauren Capelluto <laurencapelluto@gmail.com> Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
gadial
pushed a commit
to gadial/qiskit
that referenced
this issue
Oct 6, 2021
Initial mitigator tests
Zoufalc
pushed a commit
to Zoufalc/qiskit-terra
that referenced
this issue
Nov 10, 2021
Fix unrolling
kaelynj
referenced
this issue
in kaelynj/qiskit-terra
Nov 22, 2021
Fix template matching for parameters with LaTeX name.
mergify bot
added a commit
that referenced
this issue
Mar 1, 2022
* rm deprecated algo methods * add reno * fix tests, remove from varalgo * intial point was said to be abstract in varalgo! * attempt to fix sphinx #1 of ? Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Andrea-MiramonSerr
added a commit
to Andrea-MiramonSerr/qiskit-terra
that referenced
this issue
May 31, 2023
ElePT
pushed a commit
to ElePT/qiskit-algorithms-test
that referenced
this issue
Jul 17, 2023
* rm deprecated algo methods * add reno * fix tests, remove from varalgo * intial point was said to be abstract in varalgo! * attempt to fix sphinx Qiskit/qiskit#1 of ? Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
github-merge-queue bot
pushed a commit
that referenced
this issue
Jul 18, 2023
* Feat: Add `get_causal_node` to `DAGCircuit`: - Also added `get_qubit_input_node` and `get_qubit_output_node`. * Test: Added tests to `dagcircuit.py` * Docs: Added release note * Chore: Remove type-checking in `dagcircuit.py` - Type checking was causing strange behavior during linting. * Added changes to speed up get_causal_cone (#1) - Replace lists with deque for the iteration. * Docs: Modify docstring and release note * Fix: Wrong comparison in `_get_input_output_node` * Remove: input and output node methods. * Lint: Fixed formatting * Docs: Fixed release-note * Docs: Fixed docstring and release note. * Fix: Output map double-lookup. * Docs: Fix inline comments. * Test: Added test for circuits with barriers * Refactor: rename to `quantum_causal_cone` * FIx: Use quantum_sucessors and docstring --------- Co-authored-by: danielleodigie <97267313+danielleodigie@users.noreply.github.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi 👋
Per the header of the Setuptools bootstrapper script (https://bootstrap.pypa.io/ez_setup.py), this installation method is deprecated.
Equally the "curl | python" pattern might not be a great idea - https://jordaneldredge.com/blog/one-way-curl-pipe-sh-install-scripts-can-be-dangerous/
I'll try to look for an alternative when I am I front of a laptop 👍.
The text was updated successfully, but these errors were encountered: