Silq is a high-level programming language for quantum computing with a strong static type system. More information: https://silq.ethz.ch
To install via vscode without building from source, see: https://silq.ethz.ch/install
Run dependencies-release.sh
to download the LDC D compiler into the local directory.
Run build-release.sh
to build Silq.
Silq is written in the D programming language. D compilers are available at http://dlang.org/download.html.
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
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.
$ ./dependencies-release.sh && ./build-release.sh
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.
Run ./silq --help
to display information about supported command-line options.
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。
1. Open source ecosystem
2. Collaboration, People, Software
3. Evaluation model