mirror of https://github.com/Qiskit/qiskit.git
![]() * Remove sympy as a hard dependency With the move to symbolic expression class added in #13278 the dependency on sympy is no longer as core to the Qiskit package as it was in the past. The only pieces that are still reliant on it are QPY deserialization of payloads older than QPY v13 and some small visualization utilities where sympy is used to generate the output. Since this functionality is not core to the library and only used in some less common use cases we no longer need to install sympy for every installation of Qiskit. In preparation for this Qiskit 2.0 laid the groundwork by marking all uses of sympy in Qiskit as being fallible if sympy was not installed and documented that sympy is not guaranteed to be installed with Qiskit anymore. This commit implements this change and moves sympy to be an optional dependency only used by some small components. * Add sympy to backwards compat qpy jobs * Update release notes * Update releasenotes/notes/no-sympy-19687d5ca814042c.yaml Co-authored-by: Julien Gacon <gaconju@gmail.com> --------- Co-authored-by: Julien Gacon <gaconju@gmail.com> |
||
---|---|---|
.. | ||
references | ||
timeline | ||
__init__.py | ||
test_circuit_drawer.py | ||
test_circuit_latex.py | ||
test_circuit_text_drawer.py | ||
test_dag_drawer.py | ||
test_gate_map.py | ||
test_pass_manager_drawer.py | ||
test_plot_histogram.py | ||
test_state_latex_drawer.py | ||
test_state_plot_tools.py | ||
test_utils.py | ||
visualization.py |