qvm
ergolib
Our great sponsors
qvm | ergolib | |
---|---|---|
7 | 6 | |
407 | 140 | |
1.5% | - | |
4.0 | 0.0 | |
15 days ago | almost 3 years ago | |
Common Lisp | Common Lisp | |
GNU General Public License v3.0 or later | - |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
qvm
-
I am planning my master's thesis to be about quantum computing and Lisp. Which books do you recommand on the subject ?
Quil's semantics are based off of an idea called the "quantum abstract machine". A piece of software which emulates the quantum abstract machine is called the Quantum Virtual Machine or QVM. It's open source and available here.
-
Lisp For Quantum Simulation?
More interestingly, the QVM repository includes a program called the dqvm which is the QVM but able to be run on an MPI cluster. This doesn't use any advanced state representation (such as matrix product states) and instead just very cleverly arranges for huge wavefunctions to be distributed across a cluster of arbitrary size and worked on in parallel.
-
The one-more-re-nightmare compiler – A fast regex compiler in Common Lisp
and/or in-line assembly code, and still can't optimize specific matrix shapes and structures, or do algebraic simplifications to eliminate work altogether.
The regex library FTA is a great, and clean, example of a long standing practice of compiling regexen, except it doesn't use any fancy VMs or any fancy JITs, just "when you see this regex, automatically turn it into this Common Lisp code, and let the Lisp compiler handle the rest."
[0a] https://github.com/quil-lang/qvm
[0b] COMPILE-OPERATOR: https://github.com/quil-lang/qvm/blob/master/src/compile-gat...
[1] https://www.gnu.org/software/libjit/
-
How do you use Lisp at work?
quantum computer simulator
-
Anybody using Common Lisp or clojure for data science
Yes, simulator, compiler, paper is some of it.
-
A compact quantum-computer that fits in 19-inch server racks
You can also do this with purely free and open source software like [0].
[0] https://github.com/quil-lang/qvm
-
Berkeley Lab Debuts Perlmutter, World’s Fastest AI Supercomputer
I wish I could try running the DQVM, the distributed quantum simulator written in Common Lisp [0], on this thing.
[0] https://github.com/quil-lang/qvm/tree/master/dqvm
ergolib
-
Lisp in Space
I have a macro in my personal library called BINDING-BLOCK that eliminates many though not all of the parens in common code idioms:
https://github.com/rongarret/ergolib/blob/master/core/bindin...
But like many of the sibling comments say, if you think getting rid of the parens entirely is desirable then you have missed the point, which is that Lisp code is not text, it's a data structure, a linked list, and the best way of serializing a linked list is with delimiters a the start and end, like so:
(1 2 3)
-
Lisping at JPL Revisited
I believe the OP's ergolib provides an example. From https://github.com/rongarret/ergolib/blob/master/core/bindin..., the examples show code like:
;;; (bb
-
Did anyone use Lisp in their home computers during the early PC revolution of the late 70s/early 80s (Apple, C64, etc.)? What was that experience like?
Yes. It was awesome. I used P-Lisp on an Apple II in the late 70s and it pretty much laid the foundation for my whole career. In the 80s I did my compiler class assignments in Lisp while everyone else was using Pascal or C. I got my assignments done in an hour while everyone else took days. I still got an A. I did my masters and Ph.D. thesis work using Coral Common Lisp (now Clozure Common Lisp) first on a Mac Plus, then a Mac II, then a Quadra. Nowadays I run CCL on an MBP. I still use some of the library code I wrote back in the 90s.
-
Eliminating Format from Lisp (2003)
to get a list of primes under 100.
See https://github.com/rongarret/ergolib for an implementation of WITH-COLLECTOR and lots of other constructs that are IMHO the Right Way to write code.
-
Common Lisp Resources
Any code modification is a potential security issue. There is nothing special about dynamic class redefinition in this regard.
I use it for deployment. I can deploy new code without having to take my application down. In fact, not only do all my existing instances get updated, but I also use an ORM [1] that automatically updates my database tables too.
[1] https://github.com/rongarret/ergolib/blob/master/layer1/sql....
- How do you use Lisp at work?
What are some alternatives?
screenshotbot-oss - A Screenshot Testing service to tie with your existing Android, iOS and Web screenshot tests
quilc - The optimizing Quil compiler.
neanderthal - Fast Clojure Matrix Library
weblog - a weblog
opendylan - Open Dylan compiler and IDE
PC-LISP - Franz Lisp dialect Lisp system
pyquil - A Python library for quantum programming using Quil.
CLPython - An implementation of Python in Common Lisp
AI-Feynman