Skip to main content

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

For Jupyter notebook support (including progress bars and rich UI), you can install the optional dependencies:

pip install "tii-quantum[notebook]"

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 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.

Metadata

Release files for tii-quantum 0.1.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for tii-quantum 0.1.2
File Size Uploaded
tii_quantum-0.1.2.tar.gz 23.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for tii-quantum 0.1.2
File Interpreter ABI Platform
tii_quantum-0.1.2-py3-none-any.whl Python 3 none any Details

Total release size: 51.1 kB

Release files / tii_quantum-0.1.2.tar.gz

Download URL tii_quantum-0.1.2.tar.gz
Size 23.2 kB
Tags Source
SHA-256 checksum
How to use checksums
7f796cea601de4a89eb8e68417f7d2711e12b700da66ecd7f36c2dea74f1ec30
BLAKE2b-256 checksum
How to use checksums
377b86874db4778bd11bcf9b047482fda2e8e2854bc950966f0f20063fce137c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.14

Release files / tii_quantum-0.1.2-py3-none-any.whl

Download URL tii_quantum-0.1.2-py3-none-any.whl
Size 27.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
7adc6ee1356b41dacef1f7b1f613ae098af1f6dfe7a4184404a0c1b735082376
BLAKE2b-256 checksum
How to use checksums
6d60fbcc9530df0eea2a1717bb4bd70bcf60aaa7d702ca14491dd1da32512802
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.14

Release history Release notifications | RSS feed

This release

0.1.2 This release

2 release files

0.1.1

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page