PySparQ.pysparq.algorithms

PySparQ algorithm examples

This package contains educational implementations of quantum algorithms using the PySparQ register-level programming paradigm.

Available algorithms:
  • grover: Grover quantum search algorithm

  • shor: Shor integer factorization algorithm

  • cks_solver: CKS linear system solver

  • qda_solver: QDA linear system solver

  • state_preparation: QRAM-based state preparation

  • block_encoding: block encoding (tridiagonal and QRAM-based)

Utilities:
  • qram_utils: classical helper functions for QRAM data construction

Submodules