anchor.diff:  , retworkx
   , scipy
   , scikit-quant ? null
  +, setuptools-rust
   , stevedore
   , symengine
   , sympy
  
positive.code:     "test_two_qubit_weyl_decomposition_ab0"
      "test_sample_counts_memory_superposition"
      "test_piecewise_polynomial_function"
      "test_vqe_qasm"
      "test_piecewise_chebyshev_mutability"
      "test_bit_conditional_no_cregbundle"
      "test_gradient_wrapper2"
      "test_two_qubit_weyl_decomposition_abmb"
      "test_two_qubit_weyl_decomposition_abb"
      "test_two_qubit_weyl_decomposition_aac"
      "test_aqc"
      "test_gradient"
      "test_piecewise_polynomial_rotations_mutability"
      "test_confidence_intervals_1"
      "test_trotter_from_bound"
    ];
  
    # Moves tests to $PACKAGEDIR/test. They can't be run from /build because of finding
  
negative.code: 
  buildPythonPackage rec {
    pname = "qiskit-terra";
    version = "0.20.0";
  
    disabled = pythonOlder "3.7";
  
    src = fetchFromGitHub {
      owner = "qiskit";
      repo = pname;
      rev = version;
      sha256 = "sha256-/t87IgazpJlfd8NT2Pkn5b6/Ut104DcJEFCubQ/bBiw=";
    };
  
    nativeBuildInputs = [ setuptools-rust ] ++ (with rustPlatform; [ rust.rustc rust.cargo cargoSetupHook ]);
  
    cargoDeps = rustPlatform.fetchCargoTarball {
      inherit src;
      name = "${pname}-${version}";
      sha256 = "sha256-tNiBXn32g1PTuTmKNXSac+4PLSc1Ao9n+oAMfvVYR30=";
    };
  
    propagatedBuildInputs = [
      dill
  