22 buildPythonPackage rec {
23 pname = "qiskit-machine-learning";
26 disabled = pythonOlder "3.6";
28 src = fetchFromGitHub {
31 rev = "refs/tags/${version}";
32 hash = "sha256-oSLQvZGEq/nBj7ktDEq3BMk7xyYiLGpBDmKxuXtMTfs=";
35 propagatedBuildInputs = [
45 doCheck = false; # TODO: enable. Tests fail on unstable due to some multithreading issue?
53 pythonImportsCheck = [ "qiskit_machine_learning" ];
59 "--ignore=test/connectors/test_torch_connector.py" # TODO: fix, get multithreading errors with python3.9, segfaults
66 "test_qgan_training_cg"
68 "test_classifier_with_circuit_qnn_and_cross_entropy_4"
70 "test_regressor_with_opflow_qnn_4"
71 "test_qgan_save_model"
72 "test_qgan_training_analytic_gradients"
73 "test_qgan_training_run_algo_numpy"
79 description = "Software for developing quantum computing programs";
80 homepage = "https://qiskit.org";
81 downloadPage = "https://github.com/QISKit/qiskit-optimization/releases";
82 changelog = "https://qiskit.org/documentation/release_notes.html";
83 license = licenses.asl20;
84 maintainers = with maintainers; [ drewrisinger ];