torchquantum
torchquantum copied to clipboard
[Backlog] Fix Deprecation Warnings
Task for some point: fix the deprecation warnings when running.
torchquantum/torchquantum/plugin/qiskit/qiskit_pulse.py:29: DeprecationWarning: The module 'qiskit.test.mock' is deprecated since Qiskit Terra 0.21.0, and will be removed 3 months or more later. Instead, you should import the desired object directly 'qiskit.providers.fake_provider'.
from qiskit.test.mock import FakeQuito, FakeArmonk, FakeBogota
Adding to this, we should eventually migrate from opflow: https://qiskit.org/documentation/migration_guides/opflow_migration.html