Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Restrict qiskit.util to actual deprecated functions (#5509)
In #5420 the qiskit.util module was migrated to qiskit/utils to be consistent with imported code from qiskit-aqua in #5422. However, the backwards compat shim added in that PR has a couple of issues, mainly around re-exporting the entirety of qiskit.utils which occasionally causes import cycles and is larger than what functions used to exist in qiskit.util and should be deprecated. This commit fixes this by changing the deprecation shim in qiskit.util to only re-export the functions that previously existed in qiskit.util for backwards compatibility during the deprecation period.
- Loading branch information