Skip to content

fwcd/quantumlisp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

QuantumLisp

Quantum computing simulator for Common Lisp.

Examples

Creating and printing a superposition:

(defvar qubits (quantumlisp:superpos (list 1 0)))
(quantumlisp:print-superpos qubits)

Applying different quantum gates to a superposition:

(setq qubits (quantumlisp:swap qubits))
(setq qubits (quantumlisp:sqrt-swap qubits))
(setq qubits (quantumlisp:cnot qubits))

Collapsing a superposition:

(quantumlisp:collapse qubits)

Getting Started

An installation of the Quicklisp package manager is required

(push #p"/YOUR/CLONE/PATH/QuantumLisp/" asdf:*central-registry*)
(ql:quickload "quantumlisp")

License

MIT

About

Quantum computing simulation for Common Lisp

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published