diff options
author | Michal Atlas <michal_atlas+git@posteo.net> | 2024-01-28 16:58:52 +0100 |
---|---|---|
committer | Guillaume Le Vaillant <glv@posteo.net> | 2024-01-28 16:59:13 +0100 |
commit | 9d70cb8c9afdc42c17f68a321ce7f39054881b48 (patch) | |
tree | 2b63116ea10214e4ecb0b61d25e1ea320010d827 /gnu/packages/quantum.scm | |
parent | 78bdf4f9993c47956270adefca24991b2221752f (diff) | |
download | guix-9d70cb8c9afdc42c17f68a321ce7f39054881b48.tar.gz guix-9d70cb8c9afdc42c17f68a321ce7f39054881b48.zip |
gnu: Add cl-quil.
* gnu/packages/quantum.scm (cl-quil, sbcl-cl-quil): New variables.
Change-Id: I7777f569cbb28737d25dd1e990a8e8aeb2c251b7
Signed-off-by: Guillaume Le Vaillant <glv@posteo.net>
Diffstat (limited to 'gnu/packages/quantum.scm')
-rw-r--r-- | gnu/packages/quantum.scm | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/gnu/packages/quantum.scm b/gnu/packages/quantum.scm index c0658daae4..9877528418 100644 --- a/gnu/packages/quantum.scm +++ b/gnu/packages/quantum.scm @@ -66,3 +66,50 @@ an efficient transport protocol by using ZeroMQ (ZMQ) sockets and MessagePack (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 "cl-quil" version)) + (sha256 + (base32 "1s99lk456sw9hhsx5cf3x9r97iw9s3ydqsd94zz3bjnq77wmkhz5")))) + (build-system asdf-build-system/sbcl) + (arguments + (list + ;; Requires cyclic dependency with qvm + #:tests? #f)) + (inputs + (list sbcl-abstract-classes + sbcl-alexa + sbcl-alexandria + sbcl-cl-algebraic-data-type + sbcl-cl-grnm + sbcl-cl-heap + sbcl-cl-permutation + sbcl-cl-yacc + sbcl-global-vars + sbcl-magicl + sbcl-optima + sbcl-parse-float + sbcl-queues + sbcl-salza2 + sbcl-split-sequence + sbcl-trivial-garbage + sbcl-yason)) + (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)) |