guix-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug#67428] [PATCH v2 11/12] gnu: Add cl-quil


From: Michal Atlas
Subject: [bug#67428] [PATCH v2 11/12] gnu: Add cl-quil
Date: Fri, 24 Nov 2023 17:07:16 +0000

* gnu/packages/quantum.scm (sbcl-cl-quil, cl-quil): New variables.

Change-Id: Ief158f0e6e9ac47f9d4ff151d5ab8f551a6f37b4
---
 gnu/packages/quantum.scm | 46 ++++++++++++++++++++++++++++++++++++++++
 1 file changed, 46 insertions(+)

diff --git a/gnu/packages/quantum.scm b/gnu/packages/quantum.scm
index adc2e848ac..01f1d0e8f9 100644
--- a/gnu/packages/quantum.scm
+++ b/gnu/packages/quantum.scm
@@ -96,3 +96,49 @@ (define-public ecl-rpcq
 (define-public cl-rpcq
   (sbcl-package->cl-source-package sbcl-rpcq))
 
+(define-public sbcl-cl-quil
+  (package
+    (name "sbcl-cl-quil")
+    (version "1.26.0")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/quil-lang/quilc";)
+             (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "1s99lk456sw9hhsx5cf3x9r97iw9s3ydqsd94zz3bjnq77wmkhz5"))))
+    (build-system asdf-build-system/sbcl)
+    (arguments
+     (list
+      ;; Requires cyclic dependency with qvm
+      #:tests? #f))
+    (inputs (list sbcl-alexa
+                  sbcl-cl-yacc
+                  sbcl-alexandria
+                  sbcl-parse-float
+                  sbcl-abstract-classes
+                  sbcl-split-sequence
+                  sbcl-cl-algebraic-data-type
+                  sbcl-cl-permutation
+                  sbcl-trivial-garbage
+                  sbcl-magicl
+                  sbcl-global-vars
+                  sbcl-salza2
+                  sbcl-optima
+                  sbcl-cl-grnm
+                  sbcl-yason
+                  sbcl-cl-heap
+                  sbcl-queues))
+    (synopsis "The optimizing Quil compiler")
+    (description "Quil is the quantum instruction language,
+originally developed at Rigetti Computing.
+In Quil quantum algorithms are expressed using
+Quil's standard gates and instructions")
+    (home-page "https://github.com/quil-lang/quilc";)
+    (license license:asl2.0)))
+
+(define-public cl-quil
+  (sbcl-package->cl-source-package sbcl-cl-quil))
+
-- 
2.41.0






reply via email to

[Prev in Thread] Current Thread [Next in Thread]