Skip to main content

A package for client

Project description

$ git clone
$ cd pykmqc
$ pip3 install virtualenv
$ virtualenv -p python3 venv
$ source venv/bin/activate
$ pip install -r requirements.txt
import kmqc

from kmqc import Qubit, gates, Program

qubit = Qubit(0)
p = Program()

endpoint = ''
user_id, api_key = 'user_id', 'api_key'
conn = kmqc.connect(endpoint, user_id, api_key)
r = conn.execute(p)
endpoint =
user_id  = user_id
api_key  = api_key
import kmqc

from kmqc import gates, Program

p = Program(
    gates.CNOT(0, 1),
conn = kmqc.connect(**kmqc.config('qvm_conn.ini', 'qvm_conn'))
r = conn.execute(p)

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

kmqc- (4.7 kB view hashes)

Uploaded source

Built Distribution

kmqc- (9.9 kB view hashes)

Uploaded py3

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