Client for executing quantum applications on qserver instances
Project description
qclient
Client for running quantum applications on qserver instances. See https://quantum.tecnalia.com.
Install
pip install qclient
Usage
import qclient
qclient.configure({'token': 'YOUR_TOKEN'})
print(qclient.get('bell'))
print(qclient.execute('bell'))
Methods
- configure({ server?, ext? ,token? }):
server: default server at https://quantum.tecnalia.com.ext: default '.qasm', useful in case always using the same language to represent the algorithm.token: default '', authorization token to execute services. E.g.:configure({'token':'kkajsdkj-sudiuawjd....'}) - get(algorithm_name): the algorithm in plain text, the extension of the file is optional. E.g.:
get('bell') - execute(algorithm_name): based on the extension, an engine executes the algorithm and provides the result as string (depending on the engine, the result format can vary). E.g.:
execute('bell')
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
qclient-1.0.5.tar.gz
(3.1 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file qclient-1.0.5.tar.gz.
File metadata
- Download URL: qclient-1.0.5.tar.gz
- Upload date:
- Size: 3.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.6.1 pkginfo/1.7.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.8.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3cd7817a4dd61334949d22bdc9517972fadc0e78660f73c82d77b2b61c7e3dec
|
|
| MD5 |
58f551662081b627d60d203748084dad
|
|
| BLAKE2b-256 |
a418652ee78396a39a565cbd49247d91189e7929cb9a5fdc8c6263c20727d9b2
|
File details
Details for the file qclient-1.0.5-py3-none-any.whl.
File metadata
- Download URL: qclient-1.0.5-py3-none-any.whl
- Upload date:
- Size: 3.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.6.1 pkginfo/1.7.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.8.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
91dbf2dab85f2378b89980235cfc9df59f3e57b33605f59f974e7567ece151d1
|
|
| MD5 |
f6e9d85d6e09c6f07e5d85f5f1636365
|
|
| BLAKE2b-256 |
b1015fddad4e01db91fcc95dc1586f1ad75afe1752be015e1d5cd99a40cca13c
|