Skip to main content

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

PyPI version License: MIT

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


Download files

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

Source Distribution

lapq-1.0.2.tar.gz (38.4 kB view details)

Uploaded Source

Built Distribution

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

lapq-1.0.2-py3-none-any.whl (46.1 kB view details)

Uploaded Python 3

File details

Details for the file lapq-1.0.2.tar.gz.

File metadata

  • Download URL: lapq-1.0.2.tar.gz
  • Upload date:
  • Size: 38.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.2

File hashes

Hashes for lapq-1.0.2.tar.gz
Algorithm Hash digest
SHA256 b55aecfa83bcd31e6111f6c1b4316395f1ff1a297f8a005960cd95beb0c265b0
MD5 d0d26b08ef57ed28353e68769641451e
BLAKE2b-256 63c9fb137929b29543345dcac3597043c5389b1c780b336324edeef1d5be180e

See more details on using hashes here.

File details

Details for the file lapq-1.0.2-py3-none-any.whl.

File metadata

  • Download URL: lapq-1.0.2-py3-none-any.whl
  • Upload date:
  • Size: 46.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.2

File hashes

Hashes for lapq-1.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 fcaf12f16032ef67ea47698096e34a48121b446cc9d0c17a79189832aba1041d
MD5 e876540720b4d329986d056d32d86c92
BLAKE2b-256 bb49bf7678f403df9a79e81b39a140a4d1c0990c451709a355143ed887e6ee59

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