summaryrefslogtreecommitdiff
path: root/dev-python
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2023-08-30 06:15:40 +0100
committerSam James <sam@gentoo.org>2023-08-30 06:16:03 +0100
commit6a74d54a20889040b5c7c182bcd15528f1f643aa (patch)
tree85cbf60f91f8521e6ba5d80c83b96f7aa07b5a0e /dev-python
parentc6e96aa4bc290f4fb0f7fac851d4ebf12682c8fc (diff)
downloadgentoo-6a74d54a20889040b5c7c182bcd15528f1f643aa.tar.gz
gentoo-6a74d54a20889040b5c7c182bcd15528f1f643aa.tar.bz2
gentoo-6a74d54a20889040b5c7c182bcd15528f1f643aa.zip
dev-python/qiskit-aer: keyword 0.12.2
Thanks to mgorny for doing a lot of work on this and figuring out nlohmann_json was to blame. Put back tests which fail for me too (revert some of 24963bcd1828a41b98a09ef6eb66f62e7ad246fe). Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-python')
-rw-r--r--dev-python/qiskit-aer/qiskit-aer-0.12.2.ebuild11
1 files changed, 9 insertions, 2 deletions
diff --git a/dev-python/qiskit-aer/qiskit-aer-0.12.2.ebuild b/dev-python/qiskit-aer/qiskit-aer-0.12.2.ebuild
index 2a51f570fc73..9224a7dcb613 100644
--- a/dev-python/qiskit-aer/qiskit-aer-0.12.2.ebuild
+++ b/dev-python/qiskit-aer/qiskit-aer-0.12.2.ebuild
@@ -21,14 +21,15 @@ SRC_URI="
LICENSE="Apache-2.0"
SLOT="0"
-# Tests fail: https://github.com/Qiskit/qiskit-aer/issues/1742
-#KEYWORDS="~amd64"
+KEYWORDS="~amd64"
# The reference implementation of BLAS/CBLAS is not compatible with qiskit-aer right now,
# because importing library causes an error.
# /usr/lib/python3.9/site-packages/qiskit/providers/aer/backends/controller_wrappers.cpython-39-x86_64-linux-gnu.so: undefined symbol: slamch_
# Using sci-libs/openblas instead here,
# with the option to switch between reference/openblas implementation runtime (eselect-ldso).
+#
+# <nlohmann_json-3.10.3 for https://github.com/Qiskit/qiskit-aer/issues/1742
DEPEND="
>=dev-python/numpy-1.16.3[${PYTHON_USEDEP}]
<dev-cpp/nlohmann_json-3.10.3
@@ -97,8 +98,14 @@ python_test() {
local EPYTEST_DESELECT=(
# TODO
test/terra/states/test_aer_state.py::TestAerState::test_appply_diagonal
+ test/terra/states/test_aer_state.py::TestAerState::test_appply_measure
test/terra/states/test_aer_state.py::TestAerState::test_appply_reset
+ # TODO: GLIBCXX_ASSERTIONS, bug #897758
+ test/terra/backends/aer_simulator/test_algorithms.py::TestAlgorithms::test_extended_stabilizer_sparse_output_probs
+ test/terra/backends/aer_simulator/test_options.py::TestOptions::test_mps_options
+ test/terra/backends/aer_simulator/test_fusion.py::TestGateFusion::test_parallel_fusion_diagonal
+
# requires qiskit_qasm3_import
test/terra/backends/aer_simulator/test_save_statevector.py::TestSaveStatevector::test_save_statevector_for_qasm3_circuit_1___automatic____CPU__
test/terra/backends/aer_simulator/test_save_statevector.py::TestSaveStatevector::test_save_statevector_for_qasm3_circuit_2___statevector____CPU__