Skip to main content

TII Quantum Computing Cloud Client

Project description

TII Quantum Cloud 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 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.0.tar.gz (6.1 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.0-py3-none-any.whl (6.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: tii_quantum-0.1.0.tar.gz
  • Upload date:
  • Size: 6.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.14

File hashes

Hashes for tii_quantum-0.1.0.tar.gz
Algorithm Hash digest
SHA256 0c0fabdaf01678ab6959517c5c80eedb703b938bf0af59ce58d87fdf5827b710
MD5 807130cc474afa2c87f6f5bd995b247c
BLAKE2b-256 e463225afa64d82039dd6fa0bb7f456772d1ba41251c453435047a04e4bde1fb

See more details on using hashes here.

File details

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

File metadata

  • Download URL: tii_quantum-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 6.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.14

File hashes

Hashes for tii_quantum-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 b0b04eb92dbf3eea50b23198fdfe90890cc474d1a0cdffca90556b7e0192ddd4
MD5 06af03ef55097ad175190471cc63dc35
BLAKE2b-256 0c74231a3384f85331a56b4409f9826190ec3e6d81cc126af85e46ed4783c9cd

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