Skip to content
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 fake backends based on BackendV1 (backport #12660) #12837

Merged
merged 3 commits into from
Jul 29, 2024

Commits on Jul 29, 2024

  1. Deprecate fake backends based on BackendV1 (#12660)

    * deprecate qobj and assemble
    
    * reno
    
    * first attempt on Fake1QV2
    
    * deprecate Fake1Q
    
    * Fake1QV2 should not have two-qubit gates
    
    Co-authored-by: Elena Peña Tapia <[email protected]>
    
    * test.python.circuit.test_parameters.TestParameters
    
    * test.python.providers.fake_provider.test_fake_backends.FakeBackendsTest
    
    * test.python.providers.test_fake_backends.TestFakeBackends
    
    * test.python.result.test_mitigators
    
    * test.python.transpiler.test_preset_passmanagers
    
    * test.python.transpiler.test_target
    
    * test.python.transpiler.test_unitary_synthesis
    
    * test.python.transpiler.test_vf2_layout
    
    * test.python.transpiler.test_vf2_post_layout
    
    * test/python/visualization/test_circuit_latex
    
    * test.python.transpiler.test_sabre_layout
    
    * test.python.transpiler.test_sabre_layout
    
    * test.python.transpiler.test_pulse_gate_pass
    
    * test.python.scheduler.test_basic_scheduler.TestBasicSchedule
    
    * test.python.pulse.test_transforms
    
    * test.python.pulse.test_schedule
    
    * test.python.pulse.test_macros
    
    * test.python.pulse.test_instruction_schedule_map
    
    * test.python.pulse.test_block
    
    * test.python.circuit.test_scheduled_circuit
    
    * test.python.transpiler.test_calibrationbuilder
    
    * test.python.providers.test_backendconfiguration
    
    * test.python.compiler.test_transpiler
    
    * test.python.transpiler.test_passmanager_run
    
    * test.python.transpiler.test_passmanager_config.TestPassManagerConfig.test_from_backend_and_user
    
    * test.python.transpiler.test_passmanager_config
    
    * test.python.primitives.test_backend_estimator.TestBackendEstimator
    
    * test.python.circuit.test_scheduled_circuit.TestScheduledCircuit.test_schedule_circuit_when_backend_tells_dt
    
    * test.python.circuit.test_scheduled_circuit
    
    * test.python.transpiler.test_vf2_layout
    
    * shallow deprecation of assemble
    
    * test.python.compiler.test_disassembler
    
    * fakebackend pulse
    
    * test.python.circuit.test_parameters
    
    * PulseQobjInstruction  is used by GenericBackendV2
    
    * test.python.scheduler.test_basic_scheduler
    
    * test.python.result.test_result
    
    * test.python.pulse.test_calibration_entries
    
    * test.python.compiler.test_assembler
    
    * test.python.transpiler.test_star_prerouting
    
    * test.python.pulse.test_instruction_schedule_map
    
    * test.python.providers.basic_provider.test_basic_simulator
    
    * test.python.primitives.test_backend_sampler_v2
    
    * test.python.compiler.test_disassembler
    
    * test.python.compiler.test_compiler
    
    * test.python.circuit.test_scheduled_circuit
    
    * test.python.providers.test_fake_backends
    
    * test.python.circuit.test_unitary
    
    * test.python.transpiler.test_sabre_swap
    
    * test.python.providers.fake_provider.test_fake_backends
    
    * Aer using Provider ABC
    
    * aer warnings
    
    * reno
    
    * another pass on reno
    
    * test.python.pulse
    
    * test.python.compiler.test_compiler
    
    * add module to fiterwarning
    
    * test.python.compiler.test_transpiler
    
    * fixing obscure expcetion handleing for comparison
    
    * test.python.transpiler.test_stochastic_swap test.python.transpiler.test_sabre_swap
    
    * test.python.transpiler.test_echo_rzx_weyl_decomposition
    
    * test.python.transpiler.test_instruction_durations
    
    * test.python.providers.test_backendproperties
    
    * test.python.qpy.test_circuit_load_from_qpy
    
    * test.python.providers.test_pulse_defaults
    
    * test.python.primitives.test_backend_sampler_v2
    
    * test.python.primitives.test_backend_sampler
    
    * test.python.compiler.test_scheduler
    
    * test/python/compiler/test_scheduler.py
    
    * test.python.compiler.test_disassembler
    
    * test.python.compiler.test_assembler
    
    * test.python.compiler.test_sequencer
    
    * test.python.compiler.test_transpiler
    
    * test.python.primitives.test_primitive
    
    * better depreaction handleling from Aer
    
    * test.python.primitives.test_backend_estimator_v2
    
    * test.python.compiler.test_compiler
    
    * ignore warnings, because the output is otherwise very verbose
    
    * ignore to avoid fludding the CI log
    
    * seeding all GenericBackendV2
    
    * test.python.visualization.test_gate_map
    
    * deprecation warnings: once
    
    * default
    
    * default
    
    * Apply suggestions from code review
    
    Co-authored-by: Elena Peña Tapia <[email protected]>
    
    * remove catch
    
    * new deprecate warning message
    
    * lint qiskit/assembler/assemble_circuits.py
    
    * concurrency warnings
    
    * ignore aer warnings
    
    * Update test/python/providers/fake_provider/test_fake_backends.py
    
    Co-authored-by: Elena Peña Tapia <[email protected]>
    
    * Update test/python/circuit/test_parameters.py
    
    Co-authored-by: Elena Peña Tapia <[email protected]>
    
    * Update qiskit/providers/models/pulsedefaults.py
    
    Co-authored-by: Elena Peña Tapia <[email protected]>
    
    * Update test/python/providers/fake_provider/test_fake_backends.py
    
    Co-authored-by: Elena Peña Tapia <[email protected]>
    
    * Update test/python/providers/fake_provider/test_generic_backend_v2.py
    
    Co-authored-by: Elena Peña Tapia <[email protected]>
    
    * lint
    
    * #12649 (comment)
    
    * #12649 (comment)
    
    * Update test/python/transpiler/test_sabre_swap.py
    
    Co-authored-by: Elena Peña Tapia <[email protected]>
    
    * Update qiskit/providers/models/pulsedefaults.py
    
    Co-authored-by: Elena Peña Tapia <[email protected]>
    
    * ignore Treating CircuitInstruction...
    
    * another unnecessary catch from aer
    
    * another unnecessary catch from aer, again
    
    * removing more unnecesary catches
    
    * less lines
    
    * seeding
    
    * remove those comments
    
    * test.python.compiler.test_transpiler.TestTranspile.test_scheduling_timing_constraints
    
    * tokyo cmap
    
    * test.python.circuit.test_scheduled_circuit.TestScheduledCircuit.test_schedule_circuit_when_backend_tells_dt
    
    * comment in test_sequencer.py
    
    * test.python.compiler.test_transpiler.TestPostTranspileIntegration.test_qasm3_output
    
    * Update test/python/primitives/test_primitive.py
    
    Co-authored-by: Elena Peña Tapia <[email protected]>
    
    * test/python/providers/test_backendconfiguration.py:30
    
    * test.python.primitives.test_backend_sampler
    
    * restore the assertWarns, waiting for #12818
    
    * use legacy_cmaps instead of explict coupling maps
    
    * use more legacy_map
    
    * KYOTO_CMAP
    
    * more legacy_cmap
    
    * #12832
    
    ---------
    
    Co-authored-by: Elena Peña Tapia <[email protected]>
    (cherry picked from commit 7cd2c41)
    
    # Conflicts:
    #	test/python/primitives/test_primitive.py
    #	test/python/transpiler/test_sabre_layout.py
    1ucian0 authored and mergify[bot] committed Jul 29, 2024
    Configuration menu
    Copy the full SHA
    d122037 View commit details
    Browse the repository at this point in the history
  2. Fix merge conflict

    ElePT authored Jul 29, 2024
    Configuration menu
    Copy the full SHA
    c29c80c View commit details
    Browse the repository at this point in the history
  3. Fix merge conflict

    ElePT authored Jul 29, 2024
    Configuration menu
    Copy the full SHA
    258356d View commit details
    Browse the repository at this point in the history