Skip to main content

TII Quantum Computing Cloud Client

Project description

TII Quantum Cloud Client

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 tii-quantum package can be installed through pip:

pip install tii-quantum

Quick start

Once installed, the provider allows to run quantum circuit computations on TII's labs.

: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 tii_quantum

# create the circuit you want to run
circuit = qibo.models.QFT(5)

# authenticate to server through the client instance
token = "your-token"
client = tii_quantum.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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

tii_quantum-0.1.1.tar.gz (6.0 kB view details)

Uploaded Source

Built Distribution

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

tii_quantum-0.1.1-py3-none-any.whl (6.7 kB view details)

Uploaded Python 3

File details

Details for the file tii_quantum-0.1.1.tar.gz.

File metadata

  • Download URL: tii_quantum-0.1.1.tar.gz
  • Upload date:
  • Size: 6.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for tii_quantum-0.1.1.tar.gz
Algorithm Hash digest
SHA256 2441c310150b7c65d74fbaa3b3ac157627ddd023d47f81c8ff46f090ee618a6d
MD5 87905d262f109879d21ab26be04bc609
BLAKE2b-256 ec367aff4df8ffff03e488fc6f3fe59ed78015b8f1005b2ffe3f11dab58b73a5

See more details on using hashes here.

File details

Details for the file tii_quantum-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: tii_quantum-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 6.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for tii_quantum-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 a99b5006c01257a6cd5dcc0d17e770687d79bb7e05866a3e7359d0f7695b7f70
MD5 d89212082376d7c1034312440e674792
BLAKE2b-256 50b132d0e02d95f44e11aa6a50c9915546406c7508df5cc6b7d4fd35ac92be8b

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