Skip to main content

PKTron Pakistan's 1st Quantum Simulator with 100 Qubits Version 0.1.6

Project description

PKTron: Pakistan Quantum Tron Simulator

PKTron Pakistan's 1st Quantum Simulator with 100 Qubits Capability Version 0.1.6 it has a library for quantum computing simulations, offering quantum circuit construction, quantum algorithms, and advanced visualizations integrated with machine learning capabilities.

Features

  • Quantum circuit simulation with statevector, stabilizer, and MPS backends
  • Implementation of quantum algorithms: QFT, Phase Estimation, Shor's, VQE, QAOA, HHL
  • Visualization tools: Histograms, Bloch spheres, density matrices
  • Machine learning integration with variational circuits and loss landscapes
  • Support for noisy simulations and error analysis

Installation

pip install pktron

Usage

from pktron import QuantumCircuit, plot_histogram, bb84_qkd

# Create a quantum circuit
qc = QuantumCircuit(2)
qc.h(0)
qc.cnot(0, 1)

# Visualize
plot_histogram(qc)

# Run BB84 QKD
result = bb84_qkd(4)
print(result['alice_key'], result['bob_key'])

Requirements

  • Python >= 3.7
  • numpy>=1.21.0
  • pennylane>=0.38.0
  • matplotlib>=3.4.0
  • quimb>=1.4.0
  • networkx>=2.8.0
  • plotly>=5.0.0
  • seaborn>=0.11.0
  • qutip>=4.6.0
  • imageio>=2.9.0

License

MIT License

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-0.1.6.tar.gz (14.1 kB view details)

Uploaded Source

Built Distribution

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

pktron-0.1.6-py3-none-any.whl (15.4 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for pktron-0.1.6.tar.gz
Algorithm Hash digest
SHA256 73cc3b1756c94ebe87bd11ea3e2235491b757c6cd267e1381c4ee790b5ca7d9c
MD5 482c894e01b1eb8c3bd1372b699dee1c
BLAKE2b-256 a55e556a28da16c0e7fd957bf93a817da49ce84c131aab8907b5291c1fcc415e

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for pktron-0.1.6-py3-none-any.whl
Algorithm Hash digest
SHA256 dca62f6b9a1a0fb989fa904987e21bc14f6e42ad73adfcf8b73faeed2907d929
MD5 6fe23177a9e3cc4dcc4d746d8d39537c
BLAKE2b-256 0beecd731f156fd45da4e4cde6b40372f1b50d5d746e29d20514f4b2637eeb24

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