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 Distribution

kbw-0.1.tar.gz (21.1 kB view details)

Uploaded Source

Built Distributions

kbw-0.1-pp37-pypy37_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (805.0 kB view details)

Uploaded PyPy manylinux: glibc 2.17+ x86-64

kbw-0.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (805.0 kB view details)

Uploaded CPython 3.10 manylinux: glibc 2.17+ x86-64

kbw-0.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (805.0 kB view details)

Uploaded CPython 3.9 manylinux: glibc 2.17+ x86-64

kbw-0.1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (805.2 kB view details)

Uploaded CPython 3.8 manylinux: glibc 2.17+ x86-64

kbw-0.1-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (805.0 kB view details)

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

File details

Details for the file kbw-0.1.tar.gz.

File metadata

  • Download URL: kbw-0.1.tar.gz
  • Upload date:
  • Size: 21.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.22.0 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.6

File hashes

Hashes for kbw-0.1.tar.gz
Algorithm Hash digest
SHA256 e50018f1218e17213df6ce494030d9c15df2868c963583427ed01df725cde5dd
MD5 5efc96f5a0dc0dae4e94eea1de6b4212
BLAKE2b-256 7f434d2ca02d74b11aebbd725f40a75585f0cde69dfc2272fdab5aeccaa3ba1f

See more details on using hashes here.

File details

Details for the file kbw-0.1-pp37-pypy37_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for kbw-0.1-pp37-pypy37_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 c7322c08efd1459709490d46eeed11aefe0d69f826481ea18c011500913e04d2
MD5 f6da5eb07fd5b6c4d3b010a3a43be557
BLAKE2b-256 a947ef35703497e57ecaebad62881229dda7bf3c73e24735360af2fbf6e90e88

See more details on using hashes here.

File details

Details for the file kbw-0.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

  • Download URL: kbw-0.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
  • Upload date:
  • Size: 805.0 kB
  • Tags: CPython 3.10, manylinux: glibc 2.17+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.22.0 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.6

File hashes

Hashes for kbw-0.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 0e85556edfeb7b8b1c4d5e79aa190c689927332c29f9b251dce26c93fa5d3061
MD5 4908caa3dd4d3c85954ded52dac43706
BLAKE2b-256 5bc59bdcd18831f23de4e7764852d13f1426522555b5d231f7964cd6cd044520

See more details on using hashes here.

File details

Details for the file kbw-0.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

  • Download URL: kbw-0.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
  • Upload date:
  • Size: 805.0 kB
  • Tags: CPython 3.9, manylinux: glibc 2.17+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.22.0 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.6

File hashes

Hashes for kbw-0.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 c13921df2748db01ddff52a3212000e9b232fce4f228a08198a9a089e127ab20
MD5 d5967f9e5421b165c9c922355c8104f1
BLAKE2b-256 712c87490d37ff128b32c80070943a158864c95e77d17e7956c255e6098e607b

See more details on using hashes here.

File details

Details for the file kbw-0.1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

  • Download URL: kbw-0.1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
  • Upload date:
  • Size: 805.2 kB
  • Tags: CPython 3.8, manylinux: glibc 2.17+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.22.0 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.6

File hashes

Hashes for kbw-0.1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 47d1401490c4369bbf0c5c9fceb28e510f986e8c0f0ab3070535e3d2843bed3b
MD5 e804f294f8f0141516bbfb6d3755a0ca
BLAKE2b-256 2451ffd56e4183509cee88df4f8aa15e3c632a351b7f811e3973147d78f7a6bc

See more details on using hashes here.

File details

Details for the file kbw-0.1-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

  • Download URL: kbw-0.1-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
  • Upload date:
  • Size: 805.0 kB
  • Tags: CPython 3.7m, manylinux: glibc 2.17+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.22.0 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.6

File hashes

Hashes for kbw-0.1-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 5be51f6510a2705e3129390a3f313a6362d1355f38a0988244dcac4e1ea223e1
MD5 dc2a4a7e1936028681f3fb720b554a80
BLAKE2b-256 69107c071234882df8cd2185fd72a5e631fa66aa72fd429d7155353af8d595c7

See more details on using hashes here.

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