Qibo client interface.
Project description
Qibo client
The documentation of the project can be found here.
Install
Install first the package dependencies with the following commands.
We recommend to start with a fresh virtual environment to avoid dependencies conflicts with previously installed packages.
python -m venv ./env
source activate ./env/bin/activate
The qibo-client package can be installed through pip:
pip install qibo-client
Quick start
Once installed, the provider allows to run quantum circuit computations on remote labs using Qibo.
:warning: Note: to run jobs on the remote cluster it is mandatory to own a validated account. Please, sign up to your preferred institution to obtain the needed token to run computations on the cluster.
The following snippet provides a basic usage example.
Replace the your-token string with your user token received during the
registration process. To check which devices are available with your account
please visit the dashboard at your institution.
import qibo
import qibo_client
# create the circuit you want to run
circuit = qibo.models.QFT(5)
# authenticate to server through the client instance
token = "your-token"
client = qibo_client.Client(token)
# run the circuit
device = "device_name"
project = "project_name"
job = client.run_circuit(circuit, device=device, project=project, nshots=1024)
result = job.result()
print(result)
The device name indicates the specific system or machine that will process the
job. The project name corresponds to the project or group to which the user
belongs and which will be charged for the service usage.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
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 qibo_client-0.0.17.tar.gz.
File metadata
- Download URL: qibo_client-0.0.17.tar.gz
- Upload date:
- Size: 11.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0e7103541c5b70b6cfa5ef9097d9e8cb14eb8f96e9d42026b84e63503cd22be9
|
|
| MD5 |
2615bf07c3d3e79b8b60ab1c6bb52d26
|
|
| BLAKE2b-256 |
0607c2ca985be68c17fa63581169d5620d31d195e5c8ea19ef4e36347468eaf2
|
File details
Details for the file qibo_client-0.0.17-py3-none-any.whl.
File metadata
- Download URL: qibo_client-0.0.17-py3-none-any.whl
- Upload date:
- Size: 13.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
bc0e55e9962e7eeab91de33f7c31e01bb46e19c8b664a353688e34b6e465d7c4
|
|
| MD5 |
6fd089e69bc84b05704a50f32423e937
|
|
| BLAKE2b-256 |
de73daa5b1576cdb839b85d2223d8aaaa4aeec4871a1281479bf68caaff90b8f
|