Skip to main content

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 this link 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 https://cloud.qibo.science/.

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"
job = client.run_circuit(circuit, nshots=1000, device=device)
result = job.result()
print(result)

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

qibo_client-0.0.14.tar.gz (12.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

qibo_client-0.0.14-py3-none-any.whl (13.2 kB view details)

Uploaded Python 3

File details

Details for the file qibo_client-0.0.14.tar.gz.

File metadata

  • Download URL: qibo_client-0.0.14.tar.gz
  • Upload date:
  • Size: 12.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for qibo_client-0.0.14.tar.gz
Algorithm Hash digest
SHA256 237bd91c9a67ebcf78a313420af7bff72b1fcce637118ef2e1018e85be432f3c
MD5 30ad191e286daa830d7655ef74a8a7d3
BLAKE2b-256 c934e3ffb232fb144d7390cc468f35e30b748e9211bde757721f5d1c06e1d424

See more details on using hashes here.

File details

Details for the file qibo_client-0.0.14-py3-none-any.whl.

File metadata

  • Download URL: qibo_client-0.0.14-py3-none-any.whl
  • Upload date:
  • Size: 13.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for qibo_client-0.0.14-py3-none-any.whl
Algorithm Hash digest
SHA256 4913b311183f1875f6e8a8468dec56da4c7098a6425f34c0dbcf09677f7af3f5
MD5 8109190b68e42411627e468b8b71b577
BLAKE2b-256 b2f9f6cb510959606bdf8777af839964a3d85e6658dda3669478cf6049557a52

See more details on using hashes here.

Supported by

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