all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Michal Atlas <michal_atlas+git@posteo.net>
To: 67428@debbugs.gnu.org
Cc: Michal Atlas <michal_atlas+git@posteo.net>
Subject: [bug#67428] [PATCH v2 11/12] gnu: Add cl-quil
Date: Fri, 24 Nov 2023 17:07:16 +0000	[thread overview]
Message-ID: <1a45d226a7cd1ced86d8042f4f34f582830d28e7.1700844983.git.michal_atlas+git@posteo.net> (raw)
In-Reply-To: <d9c4cec2b7a19c9ee13a5758b94ed5d0c6dcd7c3.1700844983.git.michal_atlas+git@posteo.net>

* 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





  parent reply	other threads:[~2023-11-24 17:08 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-11-24 10:28 [bug#67428] [PATCH 00/12] gnu: Add Quil Quantum VM (QVM) and CL dependencies Michal Atlas
2023-11-24 16:19 ` [bug#67428] [PATCH 01/12] gnu: Add cl-interface Michal Atlas
2023-11-24 16:22 ` jgart via Guix-patches via
2024-01-24 17:57   ` Guillaume Le Vaillant
2024-01-25  0:28     ` jgart via Guix-patches via
2023-11-24 17:05 ` [bug#67428] [PATCH v2 " Michal Atlas
2023-11-24 17:05   ` [bug#67428] [PATCH v2 02/12] gnu: Add cl-syslog Michal Atlas
2023-11-24 17:06   ` [bug#67428] [PATCH v2 03/12] gnu: Add cl-alexa Michal Atlas
2023-11-24 17:07   ` [bug#67428] [PATCH v2 04/12] gnu: Add cl-metering Michal Atlas
2023-11-24 17:07   ` [bug#67428] [PATCH v2 05/12] gnu: Add cl-grnm Michal Atlas
2023-11-24 17:07   ` [bug#67428] [PATCH v2 06/12] gnu: Add cl-priority-queue Michal Atlas
2023-11-24 17:07   ` [bug#67428] [PATCH v2 07/12] gnu: Add cl-messagepack Michal Atlas
2023-11-24 17:07   ` [bug#67428] [PATCH v2 08/12] gnu: Add cl-permutation Michal Atlas
2023-11-24 17:07   ` [bug#67428] [PATCH v2 09/12] gnu: Add cl-magicl Michal Atlas
2023-11-24 17:07   ` [bug#67428] [PATCH v2 10/12] gnu: Add cl-rpcq Michal Atlas
2023-11-24 17:07   ` Michal Atlas [this message]
2023-11-24 17:07   ` [bug#67428] [PATCH v2 12/12] gnu: Add cl-qvm Michal Atlas
2024-01-28 16:36   ` bug#67428: [PATCH v2 01/12] gnu: Add cl-interface Guillaume Le Vaillant

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1a45d226a7cd1ced86d8042f4f34f582830d28e7.1700844983.git.michal_atlas+git@posteo.net \
    --to=michal_atlas+git@posteo.net \
    --cc=67428@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.