10 # Optional package inputs
11 , withVisualization ? false
24 buildPythonPackage rec {
25 pname = "qiskit-ignis";
28 disabled = pythonOlder "3.6";
30 # Pypi's tarball doesn't contain tests
31 src = fetchFromGitHub {
33 repo = "qiskit-ignis";
34 rev = "refs/tags/${version}";
35 hash = "sha256-WyLNtZhtuGzqCJdOBvtBjZZiGFQihpeSjJQtP7lI248=";
38 propagatedBuildInputs = [
43 ] ++ lib.optionals (withCvx) [ cvxpy ]
44 ++ lib.optionals (withVisualization) [ matplotlib ]
45 ++ lib.optionals (withJit) [ numba ];
48 pythonImportsCheck = [ "qiskit.ignis" ];
49 dontUseSetuptoolsCheck = true;
60 "test_tensored_meas_cal_on_circuit" # Flaky test, occasionally returns result outside bounds
61 ] ++ lib.optionals stdenv.isAarch64 [
62 "test_fitters" # Fails check that arrays are close. Might be due to aarch64 math issues.
66 description = "Qiskit tools for quantum hardware verification, noise characterization, and error correction";
67 homepage = "https://qiskit.org/ignis";
68 downloadPage = "https://github.com/QISKit/qiskit-ignis/releases";
69 changelog = "https://qiskit.org/documentation/release_notes.html";
70 license = licenses.asl20;
71 maintainers = with maintainers; [ drewrisinger ];