all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
blob 01f1d0e8f98fc76645c51f030de26342c29f5f8d 5111 bytes (raw)
name: gnu/packages/quantum.scm 	 # note: path name is non-authoritative(*)

  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
 
(define-module (gnu packages quantum)
  #:use-module ((guix licenses) #:prefix license:)
  #:use-module (gnu packages commencement)
  #:use-module (gnu packages lisp-check)
  #:use-module (gnu packages lisp-xyz)
  #:use-module (gnu packages maths)
  #:use-module (guix build-system asdf)
  #:use-module (guix gexp)
  #:use-module (guix git-download)
  #:use-module (guix packages))

(define-public sbcl-magicl
  (package
    (name "sbcl-magicl")
    (version "0.9.1")
    (source
     (origin
       (method git-fetch)
       (uri (git-reference
             (url "https://github.com/quil-lang/magicl")
             (commit (string-append "v" version))))
       (file-name (git-file-name name version))
       (sha256
        (base32 "0x9p55qin399jhr5md88nij8fv78b64xjhww7ys364pkjnx8ak9v"))))
    (build-system asdf-build-system/sbcl)
    (inputs (list sbcl-alexandria
                  sbcl-abstract-classes
                  sbcl-policy-cond
                  sbcl-interface
                  sbcl-static-vectors
                  sbcl-trivial-garbage
                  lapack
                  gfortran-toolchain
                  sbcl-fiasco))
    (arguments
     (list
      #:phases #~(modify-phases %standard-phases
                   (add-after 'unpack 'fix-paths
                     (lambda* (#:key inputs #:allow-other-keys)
                       (let ((lapack (assoc-ref inputs "lapack")))
                         (substitute* "src/extensions/blas/load-libs.lisp"
                           (("libblas.so")
                            (string-append lapack "/lib/libblas.so")))
                         (substitute* "src/extensions/lapack/load-libs.lisp"
                           (("liblapack.so")
                            (string-append lapack "/lib/liblapack.so")))))))))
    (synopsis "Matrix Algebra proGrams In Common Lisp")
    (description "Matrix Algebra proGrams In Common Lisp by Rigetti Computing.
(née FLAIL: Finally, Linear Algebra In Lisp!)")
    (home-page "https://github.com/quil-lang/magicl")
    (license license:asl2.0)))

(define-public cl-magicl
  (sbcl-package->cl-source-package sbcl-magicl))

(define-public sbcl-rpcq
  (package
    (name "sbcl-rpcq")
    (version "3.10.0")
    (source
     (origin
       (method git-fetch)
       (uri (git-reference
             (url "https://github.com/rigetti/rpcq")
             (commit (string-append "v" version))))
       (file-name (git-file-name name version))
       (sha256
        (base32 "1bvppxlacvp0pfdbpn7ls1zxd127jacl225ds7lph5s8f8cyvf17"))))
    (build-system asdf-build-system/sbcl)
    (inputs (list sbcl-alexandria
                  sbcl-parse-float
                  sbcl-yason
                  sbcl-cl-ppcre
                  sbcl-pzmq
                  sbcl-cl-messagepack
                  sbcl-bordeaux-threads
                  sbcl-local-time
                  sbcl-uuid
                  sbcl-cl-syslog
                  sbcl-flexi-streams
                  sbcl-trivial-backtrace
                  sbcl-fiasco))
    (synopsis
     "RPC framework and message specification for rigetti Quantum Cloud Services")
    (description
     "The asynchronous RPC client-server framework and
message specification for Rigetti Quantum Cloud Services (QCS).
Implements an efficient transport protocol by using ZeroMQ (ZMQ) sockets
and MessagePack (msgpack) serialization.")
    (home-page "https://github.com/rigetti/rpcq")
    (license license:asl2.0)))

(define-public ecl-rpcq
  (sbcl-package->ecl-package sbcl-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))


debug log:

solving 01f1d0e8f9 ...
found 01f1d0e8f9 in https://yhetil.org/guix/1a45d226a7cd1ced86d8042f4f34f582830d28e7.1700844983.git.michal_atlas+git@posteo.net/
found adc2e848ac in https://yhetil.org/guix/c47c556a1e4ee186eaf016b02d1f44a2efee9c5a.1700844983.git.michal_atlas+git@posteo.net/
found 3663e386ea in https://yhetil.org/guix/f28ea6902ec0f984d07f10dd14e67a839ba37c0e.1700844983.git.michal_atlas+git@posteo.net/

applying [1/3] https://yhetil.org/guix/f28ea6902ec0f984d07f10dd14e67a839ba37c0e.1700844983.git.michal_atlas+git@posteo.net/
diff --git a/gnu/packages/quantum.scm b/gnu/packages/quantum.scm
new file mode 100644
index 0000000000..3663e386ea


applying [2/3] https://yhetil.org/guix/c47c556a1e4ee186eaf016b02d1f44a2efee9c5a.1700844983.git.michal_atlas+git@posteo.net/
diff --git a/gnu/packages/quantum.scm b/gnu/packages/quantum.scm
index 3663e386ea..adc2e848ac 100644


applying [3/3] https://yhetil.org/guix/1a45d226a7cd1ced86d8042f4f34f582830d28e7.1700844983.git.michal_atlas+git@posteo.net/
diff --git a/gnu/packages/quantum.scm b/gnu/packages/quantum.scm
index adc2e848ac..01f1d0e8f9 100644

Checking patch gnu/packages/quantum.scm...
Applied patch gnu/packages/quantum.scm cleanly.
Checking patch gnu/packages/quantum.scm...
2:113: new blank line at EOF.
+
Applied patch gnu/packages/quantum.scm cleanly.
Checking patch gnu/packages/quantum.scm...
1:168: new blank line at EOF.
+
Applied patch gnu/packages/quantum.scm cleanly.
warning: 2 lines add whitespace errors.

index at:
100644 01f1d0e8f98fc76645c51f030de26342c29f5f8d	gnu/packages/quantum.scm

(*) Git path names are given by the tree(s) the blob belongs to.
    Blobs themselves have no identifier aside from the hash of its contents.^

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.