LAP Technologies Python SDK for the QPU-1 quantum processor — 150+ algorithms, full gate set with auto-decomposition.
Project description
lapq — LAP Technologies SDK for QPU-1
lapq is a powerful Python SDK for the QPU-1 quantum processor, designed for both beginners and experts. It features a library of over 150+ algorithms and an automatic gate decomposition engine.
Made by SK Mahammad Saad Amin | LAP Technologies
🔑 API Access
To use this library, you need a QPU-1 API key. Get your key here: https://qpu-1.lovable.app/api-access
🚀 Quick Start
Installation
pip install lapq
Basic Usage
from lapq import QPU1
# Initialize client
qpu = QPU1("your_api_key_here")
# Run a Bell State circuit
result = qpu.circuit(2).h(0).cnot(0, 1).run()
print(f"Result: {result.bits}") # e.g. "00" or "11"
High-Level Algorithms
from lapq.algorithms import grover, shors_factorization
# Run Grover's search for state |5> on 3 qubits
result = grover(qpu, n=3, marked=[5]).run()
print(result.bits) # "101"
🛠 Features
- 150+ Algorithms: Including Grover, Shor's, VQE, QAOA, QFT, and more.
- Auto-Decomposition: Use high-level gates (CZ, CSWAP, CCZ...) and we handle the math.
- Multi-Format Support: Run raw Qreg, Qiskit, or OpenQASM 2.0.
📄 License
Distributed under the MIT License. See LICENSE for more information.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file lapq-1.0.1.tar.gz.
File metadata
- Download URL: lapq-1.0.1.tar.gz
- Upload date:
- Size: 32.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e934946a2d4f0ac35fcabce463a28a36bae0f10222c5ab3cac11641c1a8947fa
|
|
| MD5 |
a602ec08e89d8611555a913a9eadb5b4
|
|
| BLAKE2b-256 |
985435a1001eacbbc3cfbf76164b94efc6a303e619f780b17b696de25805e410
|
File details
Details for the file lapq-1.0.1-py3-none-any.whl.
File metadata
- Download URL: lapq-1.0.1-py3-none-any.whl
- Upload date:
- Size: 40.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e88fab00de06ccfcc36877dd38d4afd0ceb3b5355046cf50820d75a5c5120542
|
|
| MD5 |
6299e803e954bbcac5c8983d08d2b717
|
|
| BLAKE2b-256 |
0be57c633fb6c2f3c81cdc80594a634b73a64ff2439559822fbeab276083df9c
|