Skip to main content

Quantum Computing Lab Programs & myqclab Package

Compact, verified Python and Qiskit implementations of 9 core quantum algorithms for lab exams.

Available both as standalone scripts/notebooks and as an installable Python package myqclab.


📦 Package Installation

Install directly in your environment:

pip install .

Or in editable/development mode:

pip install -e .

🚀 Package Usage

1. In Python / Jupyter Notebook

import myqclab

# Show the code of any algorithm in the terminal (quotes optional!)
myqclab.show(grover)
myqclab.show("grover")

# Run the algorithm and print the circuit and simulation output
myqclab.run(grover)

# List all available programs
myqclab.list()

2. From Terminal CLI

# Print code of a program
myqclab grover
myqclab show grover

# Execute program directly
myqclab run grover

# List all programs
myqclab list

📚 Available Quantum Programs

Program Name Loop Variation Algorithm Manually Configurable Input
qe qeloop Quantum Entanglement state = '00' ('00', '01', '10', '11')
tele teleloop Quantum Teleportation state = '1' ('0' or '1')
super superloop Superdense Coding msg = '01' ('00', '01', '10', '11')
de deloop Deutsch's Algorithm oracle_type = 'balanced_id' ('constant_0', etc.)
dj djloop Deutsch-Jozsa Algorithm oracle_type = 'balanced', n = 3
simon simonloop Simon's Algorithm s = '11'
bv bvloop Bernstein-Vazirani s = '1011'
grover groverloop Grover's Search target = '10' ('00', '01', '10', '11')
shor shorloop Shor's Algorithm N = 15, a = 7

Standalone Running

Run any script with Python:

python qe.py

Or open any .ipynb file in Jupyter Notebook / JupyterLab / Google Colab.

Metadata

Release files for myqclab 0.1.0

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

Source distribution (sdist)

Source distribution for myqclab 0.1.0
File Size Uploaded Provenance
myqclab-0.1.0.tar.gz 7.2 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for myqclab 0.1.0
File Interpreter ABI Platform
myqclab-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 14.3 kB

Release files / myqclab-0.1.0.tar.gz

Download URL myqclab-0.1.0.tar.gz
Size 7.2 kB
Tags Source
SHA-256 checksum
How to use checksums
10cfaa03f9a6ba62de8162700e0634d90056e83e3fa11f3ddba380eb5e624ab4
BLAKE2b-256 checksum
How to use checksums
7f76606501e0b59a4fbf83577ed9dd427ef1df8622c289a0b7572b05afc6de58
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.11.16

Release files / myqclab-0.1.0-py3-none-any.whl

Download URL myqclab-0.1.0-py3-none-any.whl
Size 7.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
acdbd0d83e939ce93bcb3bcf12442031f3b5be8f7d19155d2635a7fa3aa6c296
BLAKE2b-256 checksum
How to use checksums
5274e6f7431b44840501de461972541eb188c62134dfeeddbe611ffe614e5ca1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.11.16

Security for myqclab 0.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files No provenance

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