Skip to main content

Ket Bitwise Simulator Server.

Project description

PyPI AppImage

Ket Bitwise Simulator

Ket Bitwise Simulator (KBW) server is the quantum computer simulator of the Ket Quantum Programming. The simulator executes Ket Quantum Assembly (.kqasm) generated by the libket (and the Ket quantum programming language), using the bitwise representation [arxiv:2004.03560].

Table of contents:

Usage

$ kbw -h
usage: kbw [-h] [--version] [-b] [-p] [-l]

Ket Bitwise Simulator server

optional arguments:
  -h, --help  show this help message and exit
  --version   show program's version number and exit
  -b          Server bind
  -p          Server port
  -l          Extra plugin path

Installation

Available installation methods:

Install using pip

To install using pip runs:

$ pip install kbw

Install from source

Install requirements:

  • C/C++ compiler
  • CMake
  • Java
  • Ninja or GNU Make
  • SWIG
  • cURL
  • unzip

To install from source runs:

$ git clone https://gitlab.com/quantum-ket/kbw.git
$ cd kbw
$ python setup.py install

Ket Bitwise Plugins

To get start developing you own plugin for KBW we recommend modify the example plugin: example.cpp. See https://quantum-ket.gitlab.io/kbw/namespaceket.html for the Ket Bitwise API documentation.

To use your plugin you can reinstall KBW from source or add the compiled plugin to the extra plugin path.

Compile example plugin

$ git clone https://gitlab.com/quantum-ket/kbw.git
$ cd kbw
$ mkdir build
$ cd build 
$ cmake -GNinja ..
$ ninja example

Add plugin to path

$ kbw -l kbw/build/lib

Do not execute KBW inside the project directory or subdirectories.


This project is part of the Ket Quantum Programming, see the documentation for more information https://quantum-ket.gitlab.io.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

kbw-0.1.1-pp37-pypy37_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (806.1 kB view hashes)

Uploaded PyPy manylinux: glibc 2.17+ x86-64

kbw-0.1.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (806.2 kB view hashes)

Uploaded CPython 3.10 manylinux: glibc 2.17+ x86-64

kbw-0.1.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (806.2 kB view hashes)

Uploaded CPython 3.9 manylinux: glibc 2.17+ x86-64

kbw-0.1.1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (806.3 kB view hashes)

Uploaded CPython 3.8 manylinux: glibc 2.17+ x86-64

kbw-0.1.1-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (806.1 kB view hashes)

Uploaded CPython 3.7m manylinux: glibc 2.17+ x86-64

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page