-
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
Deprecate BackendV1 and qiskit.providers.models
#12629
Merged
Merged
Changes from 199 commits
Commits
Show all changes
202 commits
Select commit
Hold shift + click to select a range
9cc2154
initial commit
1ucian0 6d8ac97
reno
1ucian0 5906c3b
Apply suggestions from code review
1ucian0 2e99d5a
deprecate qobj and assemble
1ucian0 76e6dd5
reno
1ucian0 a3610f5
first attempt on Fake1QV2
1ucian0 7c79309
deprecate Fake1Q
1ucian0 a5a6d72
Fake1QV2 should not have two-qubit gates
1ucian0 70113d0
test.python.circuit.test_parameters.TestParameters
1ucian0 ca7eba8
test.python.providers.fake_provider.test_fake_backends.FakeBackendsTest
1ucian0 43cfcb0
test.python.providers.test_fake_backends.TestFakeBackends
1ucian0 535f133
test.python.result.test_mitigators
1ucian0 7a265bb
test.python.transpiler.test_preset_passmanagers
1ucian0 eea59aa
test.python.transpiler.test_target
1ucian0 b2ed530
test.python.transpiler.test_unitary_synthesis
1ucian0 8cabdc1
test.python.transpiler.test_vf2_layout
1ucian0 52f950c
test.python.transpiler.test_vf2_post_layout
1ucian0 1659bab
test/python/visualization/test_circuit_latex
1ucian0 9dc496a
test.python.transpiler.test_sabre_layout
1ucian0 3bafa47
test.python.transpiler.test_sabre_layout
1ucian0 429718e
test.python.transpiler.test_pulse_gate_pass
1ucian0 8498188
test.python.scheduler.test_basic_scheduler.TestBasicSchedule
1ucian0 6c20149
test.python.pulse.test_transforms
1ucian0 1fb7833
test.python.pulse.test_schedule
1ucian0 c800414
test.python.pulse.test_macros
1ucian0 da77a15
test.python.pulse.test_instruction_schedule_map
1ucian0 40e2e69
test.python.pulse.test_block
1ucian0 ddef320
test.python.circuit.test_scheduled_circuit
1ucian0 847b920
test.python.transpiler.test_calibrationbuilder
1ucian0 2a9cbe8
test.python.providers.test_backendconfiguration
1ucian0 783b426
test.python.compiler.test_transpiler
1ucian0 798d06b
test.python.transpiler.test_passmanager_run
1ucian0 77bf474
test.python.transpiler.test_passmanager_config.TestPassManagerConfig.…
1ucian0 5dfacd3
test.python.transpiler.test_passmanager_config
1ucian0 d892be3
test.python.primitives.test_backend_estimator.TestBackendEstimator
1ucian0 2170a97
test.python.circuit.test_scheduled_circuit.TestScheduledCircuit.test_…
1ucian0 a21ee82
test.python.circuit.test_scheduled_circuit
1ucian0 21540a5
test.python.transpiler.test_vf2_layout
1ucian0 b57241c
Merge branch 'main' of github.com:Qiskit/qiskit-terra into deprecate/…
1ucian0 a398425
shallow deprecation of assemble
1ucian0 6d96cc8
test.python.compiler.test_disassembler
1ucian0 e0a3999
fakebackend pulse
1ucian0 79f67c2
test.python.circuit.test_parameters
1ucian0 66c6490
Merge branch 'main' of github.com:Qiskit/qiskit-terra into deprecate/…
1ucian0 2bba185
PulseQobjInstruction is used by GenericBackendV2
1ucian0 b809ace
test.python.scheduler.test_basic_scheduler
1ucian0 e5c5b43
test.python.result.test_result
1ucian0 7edd883
test.python.pulse.test_calibration_entries
1ucian0 b5e8b28
test.python.compiler.test_assembler
1ucian0 a2ee3b3
test.python.transpiler.test_star_prerouting
1ucian0 8a56629
test.python.pulse.test_instruction_schedule_map
1ucian0 249ccb7
test.python.providers.basic_provider.test_basic_simulator
1ucian0 e48d295
test.python.primitives.test_backend_sampler_v2
1ucian0 50a350a
test.python.compiler.test_disassembler
1ucian0 fefb294
test.python.compiler.test_compiler
1ucian0 da38a72
test.python.circuit.test_scheduled_circuit
1ucian0 a418008
test.python.providers.test_fake_backends
1ucian0 a3f0c79
test.python.circuit.test_unitary
1ucian0 2c99f28
test.python.transpiler.test_sabre_swap
1ucian0 5124403
test.python.providers.fake_provider.test_fake_backends
1ucian0 884d394
Aer using Provider ABC
1ucian0 ada3d38
aer warnings
1ucian0 593fabb
reno
1ucian0 1d781b0
another pass on reno
1ucian0 621e72a
test.python.pulse
1ucian0 3898c77
test.python.compiler.test_compiler
1ucian0 c2f2fdb
add module to fiterwarning
1ucian0 73dd5af
Merge branch 'main' of github.com:Qiskit/qiskit-terra into deprecate/…
1ucian0 82032bc
test.python.compiler.test_transpiler
1ucian0 963b1ae
fixing obscure expcetion handleing for comparison
1ucian0 2ebd949
conflicts
1ucian0 4c7fc59
Merge branch 'main' of github.com:Qiskit/qiskit-terra into fake_provi…
1ucian0 8f6714d
test.python.transpiler.test_stochastic_swap test.python.transpiler.te…
1ucian0 a921073
test.python.transpiler.test_echo_rzx_weyl_decomposition
1ucian0 31a03e1
test.python.transpiler.test_instruction_durations
1ucian0 226a98b
test.python.providers.test_backendproperties
1ucian0 9dc293b
test.python.qpy.test_circuit_load_from_qpy
1ucian0 c20b11b
test.python.providers.test_pulse_defaults
1ucian0 283471b
test.python.primitives.test_backend_sampler_v2
1ucian0 5ec7f9f
test.python.primitives.test_backend_sampler
1ucian0 dc8f237
test.python.compiler.test_scheduler
1ucian0 df530ca
test/python/compiler/test_scheduler.py
1ucian0 105848f
test.python.compiler.test_disassembler
1ucian0 386d893
test.python.compiler.test_assembler
1ucian0 0ce73df
test.python.compiler.test_sequencer
1ucian0 3db79f9
test.python.compiler.test_transpiler
1ucian0 f1a6490
test.python.primitives.test_primitive
1ucian0 e6bae24
Merge branch 'main' of github.com:Qiskit/qiskit-terra into fake_provi…
1ucian0 fcc7db4
better depreaction handleling from Aer
1ucian0 56a401a
test.python.primitives.test_backend_estimator_v2
1ucian0 4d08cea
test.python.compiler.test_compiler
1ucian0 1fbb30f
ignore warnings, because the output is otherwise very verbose
1ucian0 6743992
ignore to avoid fludding the CI log
1ucian0 4492c62
seeding all GenericBackendV2
1ucian0 6cbf167
test.python.visualization.test_gate_map
1ucian0 2c88395
deprecation warnings: once
1ucian0 ce72692
default
1ucian0 365da09
default
1ucian0 26ba948
Merge branch 'main' of github.com:Qiskit/qiskit-terra into deprecate/…
1ucian0 6142fca
Merge branch 'fake_provider/backendV2/1' into deprecate/backendv1
1ucian0 3b233d9
Merge branch 'main' of github.com:Qiskit/qiskit-terra into fake_provi…
1ucian0 330b180
BackendConfiguration
1ucian0 5da8083
PulseBackendConfiguration
1ucian0 19e86e0
QasmBackendConfiguration
1ucian0 9d77fe1
QasmBackendConfiguration and adjust stacklevel
1ucian0 35ef95f
UchannelLO
1ucian0 1ef62b4
GateConfig
1ucian0 9097bc9
test.python.providers.test_fake_backends.TestFakeBackends
1ucian0 419dfbe
Merge branch 'main' of github.com:Qiskit/qiskit-terra into deprecate/…
1ucian0 03f8574
test.python.providers.test_fake_backends
1ucian0 deb7380
test.python.compiler.test_transpiler
1ucian0 0fe2e02
remove catch
1ucian0 d185d7e
Apply suggestions from code review
1ucian0 ac54cd8
remove catch
1ucian0 9cd165b
new deprecate warning message
1ucian0 01c6716
Merge branch 'main' of github.com:Qiskit/qiskit-terra into deprecate/…
1ucian0 a45431a
lint qiskit/assembler/assemble_circuits.py
1ucian0 ba4ad6b
Merge branch 'main' of github.com:Qiskit/qiskit-terra into fake_provi…
1ucian0 4751fe1
Merge branch 'main' of github.com:Qiskit/qiskit-terra into deprecate/…
1ucian0 93030c7
udpate from deprecate/qobj_assemble/1
1ucian0 fa7f32d
concurrency warnings
1ucian0 2a085b5
ignore aer warnings
1ucian0 5e63bef
Update test/python/providers/fake_provider/test_fake_backends.py
1ucian0 83332e5
Update test/python/circuit/test_parameters.py
1ucian0 60cc9c5
Update qiskit/providers/models/pulsedefaults.py
1ucian0 1362b1b
Update test/python/providers/fake_provider/test_fake_backends.py
1ucian0 787090f
Update test/python/providers/fake_provider/test_generic_backend_v2.py
1ucian0 20a0c5c
lint
1ucian0 bd216a1
https://github.com/Qiskit/qiskit/pull/12649#discussion_r1686717954
1ucian0 c1c3b32
https://github.com/Qiskit/qiskit/pull/12649#discussion_r1686717732
1ucian0 7a2b3f7
Update test/python/transpiler/test_sabre_swap.py
1ucian0 5f19ae9
Update qiskit/providers/models/pulsedefaults.py
1ucian0 449c594
conflicts from deprecate/qobj_assemble/1
1ucian0 f8760ee
Merge branch 'main' of github.com:Qiskit/qiskit-terra into deprecate/…
1ucian0 a761b2d
ignore Treating CircuitInstruction...
1ucian0 264f2af
another unnecessary catch from aer
1ucian0 4c76ad0
another unnecessary catch from aer, again
1ucian0 9741934
Merge branch 'main' of github.com:Qiskit/qiskit-terra into deprecate/…
1ucian0 4e83c99
Merge branch 'main' of github.com:Qiskit/qiskit-terra into deprecate/…
1ucian0 b69bdf9
removing more unnecesary catches
1ucian0 db985db
conflicts
1ucian0 8c7f685
less lines
1ucian0 a9802da
conflicts
1ucian0 cd21d30
seeding
1ucian0 f34620c
remove those comments
1ucian0 6013044
test.python.compiler.test_transpiler.TestTranspile.test_scheduling_ti…
1ucian0 ff36f48
tokyo cmap
1ucian0 5eb561e
test.python.circuit.test_scheduled_circuit.TestScheduledCircuit.test_…
1ucian0 4053ad4
conflict
1ucian0 469189c
comment in test_sequencer.py
1ucian0 11a82d4
test.python.compiler.test_transpiler.TestPostTranspileIntegration.tes…
1ucian0 3535925
Update test/python/primitives/test_primitive.py
1ucian0 e005b48
test/python/providers/test_backendconfiguration.py:30
1ucian0 adca82c
Merge branch 'fake_provider/backendV2/1' of github.com:1ucian0/qiskit…
1ucian0 10b0de4
test.python.primitives.test_backend_sampler
1ucian0 87aae01
Merge branch 'main' of github.com:Qiskit/qiskit-terra into fake_provi…
1ucian0 589e6f2
restore the assertWarns, waiting for #12818
1ucian0 fc9e4e1
conflicts
1ucian0 bd2e363
use legacy_cmaps instead of explict coupling maps
1ucian0 982e274
use more legacy_map
1ucian0 36633d1
KYOTO_CMAP
1ucian0 6b521db
more legacy_cmap
1ucian0 889173b
https://github.com/Qiskit/qiskit/issues/12832
1ucian0 772eb54
conflicts
1ucian0 2104e7d
Merge branch 'main' of github.com:Qiskit/qiskit-terra into deprecate/…
1ucian0 6e8b1b2
Merge branch 'main' of github.com:Qiskit/qiskit-terra into fake_provi…
1ucian0 647d86c
Merge branch 'fake_provider/backendV2/1' into deprecate/providers/mod…
1ucian0 6febe72
test.python.transpiler.test_vf2_post_layout
1ucian0 52e9960
comma
1ucian0 c9b0680
Merge branch 'fake_provider/backendV2/1' into deprecate/backendv1
1ucian0 0c2b648
https://github.com/Qiskit/qiskit/pull/12660#discussion_r1694781920
1ucian0 74e9e70
Merge branch 'deprecate/backendv1' into deprecate/providers/models/1
1ucian0 ea1de69
Merge branch 'main' into deprecate/backendv1
1ucian0 fa3f6fc
Merge branch 'deprecate/providers/models/1' into deprecate/backendv1
1ucian0 f80ce38
do not deprecate BackendV2Converter yet
1ucian0 b28394b
test.python.providers.test_faulty_backend
1ucian0 f16ad3a
test.python.compiler.test_transpiler.TestTranspile
1ucian0 47211b1
Merge branch 'main' of github.com:Qiskit/qiskit-terra into deprecate/…
1ucian0 6bfcbbf
cleaning up warnings
1ucian0 15961b8
Merge branch 'main' of github.com:Qiskit/qiskit-terra into deprecate/…
1ucian0 ce993d7
no deprecation in test/python/compiler/test_transpiler.py
1ucian0 5db7ec3
Apply suggestions from code review
1ucian0 d4f22cc
reno lint
1ucian0 baa16f1
adding models in reno
1ucian0 0910b6a
black
1ucian0 048fef5
test.python.transpiler.test_preset_passmanagers
1ucian0 4284501
seeding GenericBackendV2
1ucian0 11c1e18
less Fake5QV1
1ucian0 b0c16ee
test.python.transpiler.test_sabre_layout
1ucian0 8681761
test.python.transpiler.test_pulse_gate_pass
1ucian0 1086706
test.python.pulse.test_builder
1ucian0 241f2dd
test.python.primitives.test_backend_sampler_v2
1ucian0 2991bc8
test.python.primitives.test_backend_sampler_v2
1ucian0 dc210de
test.python.primitives.test_backend_estimator_v2
1ucian0 ac542e5
test.python.compiler.test_transpiler
1ucian0 ae46bcc
Apply suggestions from code review
1ucian0 b672edd
Apply suggestions from code review
1ucian0 433768f
test.python.primitives.test_backend_estimator_v2.TestBackendEstimatorV2
1ucian0 8ba5437
test.python.primitives.test_backend_estimator_v2
1ucian0 cd5d8ef
Fix expected_regex in transpile tests
ElePT 2d57de8
Fix missing assertions in:
ElePT cf3c12d
Fix line-too-long lint complaints
ElePT File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
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
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
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
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
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
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
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
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
Oops, something went wrong.
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For full transparency, should we raise a custom deprecation message to indicate that from 2.0 onwards
transpile
will not be accepting V1 backends as inputs?There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great idea... this found several unnecessary usages of BackendV1. It will take me some time to adapt them.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
adding it in 048fef5