diff options
Diffstat (limited to 'pkgs/development/python-modules/qiskit-nature/default.nix')
-rw-r--r-- | pkgs/development/python-modules/qiskit-nature/default.nix | 22 |
1 files changed, 6 insertions, 16 deletions
diff --git a/pkgs/development/python-modules/qiskit-nature/default.nix b/pkgs/development/python-modules/qiskit-nature/default.nix index 09941fcdd448e..2693daa6ead01 100644 --- a/pkgs/development/python-modules/qiskit-nature/default.nix +++ b/pkgs/development/python-modules/qiskit-nature/default.nix @@ -16,11 +16,12 @@ , pytestCheckHook , ddt , pylatexenc +, qiskit-aer }: buildPythonPackage rec { pname = "qiskit-nature"; - version = "0.2.2"; + version = "0.3.1"; disabled = pythonOlder "3.6"; @@ -28,13 +29,9 @@ buildPythonPackage rec { owner = "qiskit"; repo = pname; rev = version; - sha256 = "sha256-nQbvH911Gt4KddG23qwmiXfRJTWwVEsrzPvuTQfy4FY="; + sha256 = "sha256-EkYppEOQGmRIxKC4ArXZb0b+p1gPGnP6AU8LbEbOpPo="; }; - postPatch = '' - substituteInPlace requirements.txt --replace "h5py<3.3" "h5py" - ''; - propagatedBuildInputs = [ h5py numpy @@ -49,30 +46,23 @@ buildPythonPackage rec { pytestCheckHook ddt pylatexenc + qiskit-aer ]; pythonImportsCheck = [ "qiskit_nature" ]; pytestFlagsArray = [ "--durations=10" - ] ++ lib.optionals (!withPyscf) [ - "--ignore=test/algorithms/excited_state_solvers/test_excited_states_eigensolver.py" ]; disabledTests = [ - # small math error < 0.05 (< 9e-6 %) - "test_vqe_uvccsd_factory" - # unsure of failure reason. Might be related to recent cvxpy update? - "test_two_qubit_reduction" - ] ++ lib.optionals (!withPyscf) [ - "test_h2_bopes_sampler" - "test_potential_interface" + "test_two_qubit_reduction" # unsure of failure reason. Might be related to recent cvxpy update? ]; meta = with lib; { description = "Software for developing quantum computing programs"; homepage = "https://qiskit.org"; - downloadPage = "https://github.com/QISKit/qiskit-optimization/releases"; + downloadPage = "https://github.com/QISKit/qiskit-nature/releases"; changelog = "https://qiskit.org/documentation/release_notes.html"; license = licenses.asl20; maintainers = with maintainers; [ drewrisinger ]; |