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.0.tar.gz (32.1 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.0-py3-none-any.whl (39.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: lapq-1.0.0.tar.gz
  • Upload date:
  • Size: 32.1 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.0.tar.gz
Algorithm Hash digest
SHA256 7981e2b67889c7f8d6a2ed351cef3329624993679a4ccc12996a566fb5331ba6
MD5 797fcc17ce741c2b432445ff965e0c7f
BLAKE2b-256 b830073df169f8ec39bb490e372a7d2d1db8ad0f7573279bd8f10c3e1955b2cb

See more details on using hashes here.

File details

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

File metadata

  • Download URL: lapq-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 39.6 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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 cabdbb6c2093b087886281289ace6b2216a960bd76dbe6e0d54808a3046b6a1c
MD5 4234893a25bf94287cf875fa84b38888
BLAKE2b-256 6165cabc78cb1ec129f2c41b346f45654139676eabdeb7617721e5a039a04d43

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