diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-12-22 19:52:05 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-12-22 19:52:05 +0000 |
commit | b6a0f46f7d2e1e21df70fb32169f7d9de85445f7 (patch) | |
tree | 2f1b6f7c25e85d70d737cd66c68673ed58e1108e /dev-python/qiskit-aer/files | |
parent | 9173f73d44f3cbc858477bd71e7680ede7d98e0d (diff) |
gentoo auto-resync : 22:12:2023 - 19:52:05
Diffstat (limited to 'dev-python/qiskit-aer/files')
-rw-r--r-- | dev-python/qiskit-aer/files/qiskit-aer-0.10.3-remove-cmake-dependency.patch | 10 | ||||
-rw-r--r-- | dev-python/qiskit-aer/files/qiskit-aer-0.11.2-terra-test.patch | 45 |
2 files changed, 0 insertions, 55 deletions
diff --git a/dev-python/qiskit-aer/files/qiskit-aer-0.10.3-remove-cmake-dependency.patch b/dev-python/qiskit-aer/files/qiskit-aer-0.10.3-remove-cmake-dependency.patch deleted file mode 100644 index 44917bbf8cca..000000000000 --- a/dev-python/qiskit-aer/files/qiskit-aer-0.10.3-remove-cmake-dependency.patch +++ /dev/null @@ -1,10 +0,0 @@ ---- a/setup.py 2022-02-09 17:41:55.000000000 +0100 -+++ b/setup.py 2022-03-02 14:44:04.344551645 +0100 -@@ -72,7 +72,6 @@ - - setup_requirements = common_requirements + [ - 'scikit-build>=0.11.0', -- 'cmake!=3.17,!=3.17.0', - 'pybind11>=2.6', - ] - diff --git a/dev-python/qiskit-aer/files/qiskit-aer-0.11.2-terra-test.patch b/dev-python/qiskit-aer/files/qiskit-aer-0.11.2-terra-test.patch deleted file mode 100644 index e9f65dd6a42a..000000000000 --- a/dev-python/qiskit-aer/files/qiskit-aer-0.11.2-terra-test.patch +++ /dev/null @@ -1,45 +0,0 @@ -https://github.com/Qiskit/qiskit-aer/commit/cec5c11513118fa8d701e2bef1376dc3db7263c3 - -From cec5c11513118fa8d701e2bef1376dc3db7263c3 Mon Sep 17 00:00:00 2001 -From: Jun Doi <doichan@jp.ibm.com> -Date: Fri, 27 Jan 2023 18:55:59 +0900 -Subject: [PATCH] Fix test_aer_statevector (#1710) - -* fix test_aer_statevector - -* add plot directive to docs - -* fix test_aer_statevector and remove reno - -Co-authored-by: Hiroshi Horii <horii@jp.ibm.com> ---- a/docs/conf.py -+++ b/docs/conf.py -@@ -67,6 +67,7 @@ extensions = [ - 'sphinx_tabs.tabs', - 'jupyter_sphinx', - 'reno.sphinxext', -+ 'matplotlib.sphinxext.plot_directive', - ] - html_static_path = ['_static'] - templates_path = ['_templates'] ---- a/test/terra/states/test_aer_statevector.py -+++ b/test/terra/states/test_aer_statevector.py -@@ -1347,13 +1347,14 @@ class TestAerStatevector(common.QiskitAerTestCase): - ([-1, 1j], ["-", "+i"]), - ([1e-16 + 1j], ["i"]), - ([-1 + 1e-16 * 1j], ["-"]), -- ([-1, -1 - 1j], ["-", "+ (-1 - i)"]), -+ ([-1, -1 - 1j], ["-", "+(-1 - i)"]), - ([np.sqrt(2) / 2, np.sqrt(2) / 2], ["\\frac{\\sqrt{2}}{2}", "+\\frac{\\sqrt{2}}{2}"]), - ([1 + np.sqrt(2)], ["(1 + \\sqrt{2})"]), - ] -- for numbers, latex_terms in cases: -- terms = numbers_to_latex_terms(numbers) -- self.assertListEqual(terms, latex_terms) -+ with self.assertWarns(DeprecationWarning): -+ for numbers, latex_terms in cases: -+ terms = numbers_to_latex_terms(numbers, 15) -+ self.assertListEqual(terms, latex_terms) - - def test_statevector_draw_latex_regression(self): - """Test numerical rounding errors are not printed""" |