guix_mirror_bot pushed a commit to branch master
in repository guix.

commit 44b056b35695ab6d92b15c1a91cc7a6167a3614b
Author: Orahcio FelĂ­cio de Sousa <[email protected]>
AuthorDate: Mon Nov 2 18:56:57 2026 -0300

    gnu: Add python-qutip-qtrl.
    
    * gnu/packages/physics.scm (python-qutip-qtrl): New variable.
    
    Relates-to: guix/guix!12343
    Signed-off-by: Sharlatan Hellseher <[email protected]>
---
 gnu/packages/physics.scm | 26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)

diff --git a/gnu/packages/physics.scm b/gnu/packages/physics.scm
index ed833fbb37d..9651c3d31c4 100644
--- a/gnu/packages/physics.scm
+++ b/gnu/packages/physics.scm
@@ -931,6 +931,32 @@ solvers.
 @end itemize")
     (license license:bsd-3)))
 
+(define-public python-qutip-qtrl
+  (package
+    (name "python-qutip-qtrl")
+    (version "0.2.0")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/qutip/qutip-qtrl";)
+             (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "0k2b6ai8zwp6y4i3004kz57b2rqjyq53cqy8jxpf382kzj9jgvf7"))))
+    (build-system pyproject-build-system)
+    (propagated-inputs (list python-numpy python-qutip))
+    (native-inputs (list python-cython python-pytest python-setuptools))
+    (home-page "https://github.com/qutip/qutip-qtrl";)
+    (synopsis "Quantum optimal control basis package for QuTiP")
+    (description
+     "The @code{qutip-qtrl} package, QuTiP quantum optimal control, aims at 
providing
+advanced tools for the optimal control of quantum devices.  Compared to other 
libraries
+for quantum optimal control, @code{qutip-qtrl} puts additional emphasis on the 
physics
+layer and the interaction with the QuTiP package.  The package offers support 
for both
+the CRAB and GRAPE methods.")
+    (license license:bsd-3)))
+
 (define-public python-shiver
   (package
     (name "python-shiver")

Reply via email to