Skip to main content

PKTron - Pakistan's 1st Quantum AI Powered Simulation Framework

Project description

PKTron AI Quantum Lab

PKTron v2.4.0 Release Notes

What's New in v2.4.0

🐛 Bug Fixes

  • Fixed all gates missing return self (chaining like qc.h(0).cnot(0,1) now works)
  • Fixed rx/ry/rz argument order (now theta first, qubit second)
  • Fixed rx_param/ry_param/rz_param not returning self
  • Fixed bind_parameters() attribute name bug
  • Fixed measure_all() missing method
  • Fixed StatevectorSimulator.run() missing noise_model support
  • Fixed MPS_Simulator and GPUStatevectorSimulator missing from imports
  • Fixed NoiseModel missing name= parameter
  • Fixed QuantumCircuit missing name= parameter

🚀 New Features

  • Added AdaptiveQuantumExecutor — smart executor with noise support
  • Added SupremacySimulator — run large circuits via fast sampling
  • Added FastSimulator — tensor-based engine, 3x faster than default
  • Added NoiseModel.apply_to_circuit() method
  • Added probabilities to executor results
  • Added full parameter shift gradient support

⚡ Performance

  • 60,000x faster import than Qiskit
  • 8x faster circuit construction than Qiskit
  • FastSimulator uses complex64 and tensor contraction
  • Optimized gate application for small circuits

📊 Benchmark vs Qiskit

  • Import Speed: PKTron 0.000s vs Qiskit 5.000s (60,000x faster)
  • Circuit Build: PKTron 1.549s vs Qiskit 12.388s (8x faster)
  • Small Circuits: PKTron wins due to zero per-circuit overhead

🧬 Unique Modules (not in Qiskit)

  • Quantum Finance module
  • Quantum Biology module
  • Quantum Chemistry module
  • Quantum Cosmology module
  • Zero config — works in Colab instantly

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

pktron-2.0.4.tar.gz (195.2 kB view details)

Uploaded Source

Built Distribution

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

pktron-2.0.4-py3-none-any.whl (239.7 kB view details)

Uploaded Python 3

File details

Details for the file pktron-2.0.4.tar.gz.

File metadata

  • Download URL: pktron-2.0.4.tar.gz
  • Upload date:
  • Size: 195.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.13

File hashes

Hashes for pktron-2.0.4.tar.gz
Algorithm Hash digest
SHA256 c448900d247fdff92cc6bcf39b0d95922fd1d5cb25a49c9ec16136722f5365ef
MD5 b21b21f332f1e851206914a9d8c5117b
BLAKE2b-256 4c56350526a97a1176c8961e39f7b0e7aae0caaebc7592b18ced49bacfb7d77b

See more details on using hashes here.

File details

Details for the file pktron-2.0.4-py3-none-any.whl.

File metadata

  • Download URL: pktron-2.0.4-py3-none-any.whl
  • Upload date:
  • Size: 239.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.13

File hashes

Hashes for pktron-2.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 c4de84c8b00f5d686a020300990b5b04a8e8211eff2d4d83b770dfa48b555d50
MD5 b13077b94462fed24dc76952e4af33f7
BLAKE2b-256 2e6c0548ddfb219d8509298b839a68fb637bc0ced9c1eaa436b69cdca946aaff

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