Skip to main content

NQCH Quantum Computing Cloud Client

Project description

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

pip install nqch-quantum

Quick start

Once installed, the provider allows to run quantum circuit computations on NQCH CQT'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 nqch_quantum

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

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

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

nqch_quantum-0.1.0-py3-none-any.whl (6.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: nqch_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 nqch_quantum-0.1.0.tar.gz
Algorithm Hash digest
SHA256 cf15a4b70060973ea37b9e35ca5a9b45b977a3668555516238aac57500ee8b06
MD5 35c087e4091606adeb36da9dfa9b9261
BLAKE2b-256 13908af31cc6a73f80f4e69f6901e7826fbf5dbfefcbb7071669bb3108d7549a

See more details on using hashes here.

File details

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

File metadata

  • Download URL: nqch_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 nqch_quantum-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 903805f72c09e6f17cdf94992e324ee85a128a7f191b0e56089e12fd2a8a2cfb
MD5 ee750a4e59614cf14ecf7b6cdff46ded
BLAKE2b-256 7722ab764eadb6514ff5bad40d865472f1a0436a4ba3c1ac5471d19421194461

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