25 buildPythonPackage rec {
26 pname = "qiskit-machine-learning";
30 disabled = pythonOlder "3.6";
32 src = fetchFromGitHub {
35 rev = "refs/tags/${version}";
36 hash = "sha256-EBjWWoNRuIZFWQkrjf9IyZZ648rP5d7MZkjeIYifgGk=";
39 nativeBuildInputs = [ setuptools ];
41 propagatedBuildInputs = [
51 doCheck = false; # TODO: enable. Tests fail on unstable due to some multithreading issue?
59 pythonImportsCheck = [ "qiskit_machine_learning" ];
65 "--ignore=test/connectors/test_torch_connector.py" # TODO: fix, get multithreading errors with python3.9, segfaults
72 "test_qgan_training_cg"
74 "test_classifier_with_circuit_qnn_and_cross_entropy_4"
76 "test_regressor_with_opflow_qnn_4"
77 "test_qgan_save_model"
78 "test_qgan_training_analytic_gradients"
79 "test_qgan_training_run_algo_numpy"
85 description = "Software for developing quantum computing programs";
86 homepage = "https://qiskit.org";
87 downloadPage = "https://github.com/QISKit/qiskit-optimization/releases";
88 changelog = "https://qiskit.org/documentation/release_notes.html";
89 license = licenses.asl20;
90 maintainers = with maintainers; [ drewrisinger ];