about summary refs log tree commit diff
diff options
context:
space:
mode:
authorJonas Hoersch <coroa@online.de>2013-09-24 23:06:28 +0200
committerJonas Hoersch <coroa@online.de>2013-09-26 13:24:46 +0200
commit289359d49928e0095875393144763717f9499916 (patch)
treea398f7b02dc21bdf9ac6556bcdf994bf1709a2e2
parentd20ba1c861740e405b33cfa2e0de9737d47b88be (diff)
downloadnixlib-289359d49928e0095875393144763717f9499916.tar
nixlib-289359d49928e0095875393144763717f9499916.tar.gz
nixlib-289359d49928e0095875393144763717f9499916.tar.bz2
nixlib-289359d49928e0095875393144763717f9499916.tar.lz
nixlib-289359d49928e0095875393144763717f9499916.tar.xz
nixlib-289359d49928e0095875393144763717f9499916.tar.zst
nixlib-289359d49928e0095875393144763717f9499916.zip
python-qutip: Add qutip - the quantum toolbox in python
-rw-r--r--pkgs/top-level/python-packages.nix31
1 files changed, 31 insertions, 0 deletions
diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix
index 19981fdd8162..5a9fe87417bb 100644
--- a/pkgs/top-level/python-packages.nix
+++ b/pkgs/top-level/python-packages.nix
@@ -4933,6 +4933,37 @@ pythonPackages = modules // import ./python-packages-generated.nix {
   };
 
 
+  qutip = buildPythonPackage rec {
+    name = "qutip-2.2.0";
+
+    src = fetchurl {
+      url = "https://qutip.googlecode.com/files/QuTiP-2.2.0.tar.gz";
+      sha1 = "76ba4991322a991d580e78a197adc80d58bd5fb3";
+    };
+
+    propagatedBuildInputs = [ numpy scipy matplotlib pkgs.pyqt4
+      pkgs.cython ];
+
+    buildInputs = with pkgs; [ gcc qt4 blas ] ++ [ nose ];
+
+    meta = {
+      description = "QuTiP - Quantum Toolbox in Python";
+      longDescription = ''
+        QuTiP is open-source software for simulating the dynamics of
+        open quantum systems. The QuTiP library depends on the
+        excellent Numpy and Scipy numerical packages. In addition,
+        graphical output is provided by Matplotlib. QuTiP aims to
+        provide user-friendly and efficient numerical simulations of a
+        wide variety of Hamiltonians, including those with arbitrary
+        time-dependence, commonly found in a wide range of physics
+        applications such as quantum optics, trapped ions,
+        superconducting circuits, and quantum nanomechanical
+        resonators.
+      '';
+      homepage = http://qutip.org/;
+    };
+  };
+
   requests_oauth2 = buildPythonPackage rec {
     name = "requests-oauth2-0.1.1";