Skip to content

pu2wof/silq

 
 

Folders and files

NameName
Last commit message
Last commit date
May 3, 2021
Jun 20, 2020
May 3, 2021
Jul 9, 2020
Sep 10, 2019
Jun 16, 2020
Nov 8, 2016
Aug 1, 2020
Aug 18, 2020
Sep 5, 2017
May 31, 2019
Sep 10, 2019
Jul 16, 2020
Oct 8, 2019
Jul 16, 2020
Oct 8, 2019
Oct 8, 2019
Apr 6, 2021
Jun 25, 2020
Sep 1, 2020
Jun 25, 2020
Oct 8, 2019
Dec 19, 2017
Oct 8, 2019
May 31, 2019
Jan 7, 2018
Sep 7, 2019
Jun 25, 2020
Feb 28, 2018
Nov 11, 2016
May 2, 2017
Sep 7, 2019
May 3, 2021
Oct 8, 2019
Oct 5, 2016
Nov 22, 2017
Nov 17, 2017
Aug 18, 2020
Jun 25, 2020
Mar 12, 2019

Repository files navigation

Silq

Silq is a high-level programming language for quantum computing with a strong static type system. More information: https://silq.ethz.ch

Installation

To install via vscode without building from source, see: https://silq.ethz.ch/install

Build Instructions

GNU/Linux and OSX

Quick build

  1. Run dependencies-release.sh to download the LDC D compiler into the local directory.

  2. Run build-release.sh to build Silq.

Additional information

Silq is written in the D programming language. D compilers are available at http://dlang.org/download.html.

FreeBSD

Silq can be built from a port or installed as a binary package on FreeBSD/amd64. Other FreeBSD platforms do currently lack the D language support required by silq.

To install from source, assuming an up-to-date ports tree is available:

$ cd /usr/ports/lang/silq
$ make install

(Or use portmaster or any of the other ports management tools available in FreeBSD ...)

To install from a package:

$ pkg install silq

Other platforms

The build instructions given here are for GNU/Linux and OSX. Silq can also be built on other platforms. Feel free to write a pull request with working build scripts for your favourite platform.

Example

$ ./dependencies-release.sh && ./build-release.sh

Using Silq

Run ./silq example.slq, where example.slq is a Silq source file to type check that source file.

Run ./silq example.slq --run, where example.slq is a Silq source file to type check and simulate the main function in that source file.

Additional command-line options

Run ./silq --help to display information about supported command-line options.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Q# 48.8%
  • D 45.5%
  • TeX 3.8%
  • Python 1.4%
  • Other 0.5%