Skip to main content

A Quantum Development Library

Project description

Welcome to the Quantum Rings SDK (CPU only mode)

Minimum System Requirements

A system with a configuration better than the minimum requirements is advised. Lower configurations may affect the number of qubits that can be supported and may perform poorly.

  • Operating systems recommended:

    • Ubuntu 22.04.4 LTS

    • Ubuntu 24.04.4 LTS

    • Windows 11 Pro

    • macOS 15

    • WSL2 based Linux instances

  • 64-bit Intel i9 x86 CPU (14 cores 20 logical processors recommended) or equivalent

  • DDR5 or better memory channels recommended

  • 32 GB Installed physical memory

  • 18 GB Available physical memory

  • 64-bit Python version 3.11 or later

Installation Procedure

STEP - 1

Obtain your license to the Quantum Rings SDK by selecting the Login menu.

Skip this step, if you are already registered.

Login to the Quantum Rings portal. Download your access keys by selecting the Manage Keys menu in the left-hand side bar.

STEP - 2

Create a virtual environment for your python version using the following example.

virtualenv --python=/usr/bin/python3.11 myenv
source myenv/bin/activate

In some installations, the virtual environment can be created as follows:

python3.11 -m venv myenv
source myenv/bin/activate

Note that installing a python virtual environment may require additional steps.

You can optionally choose to install Jupyter notebook, at this time using the following command.

pip install notebook

STEP - 3

Install the Quantum Rings SDK using the following command:

pip install QuantumRingsLib

STEP - 4

Store your credentials to the Quantum Rings SDK locally using the following commands from your terminal. Edit the <…> fields and enter the values provided for you.

If you are using the Jupyter notebook, open the termnial as follows:

From your Jupyter notebook, select File->New->Terminal. This launches the terminal window.

From this terminal window, create the configuration file holding the license key as follows:

mkdir ~/.config/quantumrings
echo -e '[default]\nemail = <YOUR_ACCOUNT_ID>\nkey = <YOUR_ACCESS_KEY>\nbackend = scarlet_quantum_rings' > ~/.config/quantumrings/quantumrings.conf

STEP - 5

Now, try the following program from your Jupyter notebook to ensure that everything is working fine.

import QuantumRingsLib
from QuantumRingsLib import QuantumRegister, AncillaRegister, ClassicalRegister, QuantumCircuit
from QuantumRingsLib import QuantumRingsProvider
from QuantumRingsLib import job_monitor
from QuantumRingsLib import JobStatus
from QuantumRingsLib import OptimizeQuantumCircuit
from matplotlib import pyplot as plt
import numpy as np
import math

provider = QuantumRingsProvider(token =<YOUR_TOKEN_HERE>, name=<YOUR_ACCOUNT_NAME_HERE>)
backend = provider.get_backend("scarlet_quantum_rings")
numberofqubits = 50
shots = 100

q = QuantumRegister(numberofqubits , 'q')
c = ClassicalRegister(numberofqubits , 'c')
qc = QuantumCircuit(q, c)

qc.h(0);
for i in range (qc.num_qubits - 1):
    qc.cnot(i, i + 1);

qc.measure_all();

job = backend.run(qc, shots=shots)
job_monitor(job)

result = job.result()
counts = result.get_counts()

Feedback and getting support

We love to hear from you! Please join our Discord community to discuss anything quantum computing.

SDK Documentation

FAQ

Managing your license keys

Need more qubits? Requuest here

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

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

quantumrings_nvidia_gpu-0.10.211-cp311-cp311-win_amd64.whl (2.3 MB view details)

Uploaded CPython 3.11Windows x86-64

quantumrings_nvidia_gpu-0.10.211-cp311-cp311-manylinux_2_34_x86_64.whl (2.8 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.34+ x86-64

quantumrings_nvidia_gpu-0.10.211-cp311-cp311-manylinux_2_27_x86_64.whl (2.5 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.27+ x86-64

File details

Details for the file quantumrings_nvidia_gpu-0.10.211-cp311-cp311-win_amd64.whl.

File metadata

File hashes

Hashes for quantumrings_nvidia_gpu-0.10.211-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 05381b80121e6cda35eac1cbd226e15a3434ee99f81db5ed8f538b4e9b607521
MD5 98a6c7510babde9d2908e8e63b6a705d
BLAKE2b-256 a276fb9a1d9984d0e73337f7b8b649083cd3e6dc490762f094ad78f587e904f1

See more details on using hashes here.

File details

Details for the file quantumrings_nvidia_gpu-0.10.211-cp311-cp311-manylinux_2_34_x86_64.whl.

File metadata

File hashes

Hashes for quantumrings_nvidia_gpu-0.10.211-cp311-cp311-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 83744934d704fc19c23ece60e9de9beea01c54e27b3c9461eb7cf28fc266d19a
MD5 322252c257e688525dc85a28d3dfe073
BLAKE2b-256 fa74f213f56b3e4a07f9dcfd18089cc0a9bcd438facaa788833299a18613fb37

See more details on using hashes here.

File details

Details for the file quantumrings_nvidia_gpu-0.10.211-cp311-cp311-manylinux_2_27_x86_64.whl.

File metadata

File hashes

Hashes for quantumrings_nvidia_gpu-0.10.211-cp311-cp311-manylinux_2_27_x86_64.whl
Algorithm Hash digest
SHA256 961ae54ee317366d81911d87be5865cc56bd686a81802809fcf4260c556fcbb1
MD5 a0eb1938a6da95431395b413064395a2
BLAKE2b-256 d4c2f69b15248ef8c3aba2d33e1f39ccdc33588c00c2b25ad8d95046e46fd74d

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