/black-stone

Specification and Implementation of Quantum Common Lisp, for gate-model quantum computers

Primary LanguageCommon LispMIT LicenseMIT

BLACK-STONE

Build Status Coverage Status DOI Quicklisp MIT License Join the chat at https://gitter.im/thephoeron/black-stone

Specification and Implementation of Quantum Common Lisp and the Black Stone Quantum Computer simulator, for modelling classical interface gate-model quantum computer programs.

Note: due to an unfortunate naming conflict with Omer's QCL, a quantum programming language based on the syntax of C, we will generally refer to Quantum Common Lisp as (qcλ), or qclambda in the source.

Documentation available at: http://thephoeron.viewdocs.io/black-stone

Sources and References

Installation & Use (Linux/OS X)

Dump the executable:

$ CC=gcc sbcl --script make.lisp

Install for all users:

$ sudo install -v ./black-stone /usr/local/bin

Or if you have a local executable directory on your path:

$ install -v ./black-stone ~/bin

When running from the terminal, it is recommended to use RLWRAP:

$ rlwrap black-stone
...

#[BLACK-STONE::QCL-USER]> _

This will provide you with an improved line-editing environment over the underlying SBCL REPL.

System Requirements

Tested on Linux x86_64 and OS X 10.7

  • SBCL 1.1.14+
  • Quicklisp

Dependencies

Available through Quicklisp:

  • LET-OVER-LAMBDA
  • CL-ISAAC
  • GSLL
  • CL-PPCRE
  • CL-FAD
  • CLON (the Command-Line Options Nuker)
  • PROVE (to run the test suite)

License

Copyright © 2013–2017, "the Phoeron" Colin J.E. Lupton. This project has been released under the MIT License; please see black-stone/LICENSE for more information.