Skip to main content

Official Python SDK for the Aṇu Astra Virtual Quantum Processor and PQC API

Project description

🌌 Aṇu Astra: Official Python SDK (v1.6.0)

PyPI version License: MIT

The official Python SDK for the Aṇu Astra 1024-Qubit Virtual Quantum Processor (VQP) and Post-Quantum Cryptography (PQC) API.

Build research-grade path-integral quantum circuits, execute high-fidelity Bell State benchmarks, and secure your data with NIST-standardized quantum-safe algorithms.

🚀 Installation

Install the package via pip:

pip install anuastra

⚛️ Quick Start: "Quantum Hello World" (Bell State)

The QuantumCircuit builder provides a fluent interface for high-performance quantum simulation.

from anuastra import AnuAstra, QuantumCircuit

# Initialize the v1.6.0 Research Client
client = AnuAstra(api_key="sk_live_YourAstraKeyHere")

# Scaffold a 2-qubit register
qc = QuantumCircuit(2)
qc.h(0).cx(0, 1) # Create entanglement (Bell State)

# Execute on the VQP Engine
result = client.execute_quantum(qc, shots=1024)

print(f"Executed on: {result['engine']}")
print(f"Results: {result['results']['counts']}")

# Retrieve the Scientific Receipt (OpenQASM 2.0 Export)
print(f"OpenQASM: {result['telemetry']['qasm_receipt']}")

🏗️ Industrial Portability: OpenQASM Bridge

Aṇu Astra v1.6.0 enables a 360-degree circuit validation loop. Export natively built Python circuits to industrial standard OpenQASM 2.0 strings for archival and documentation.

qc = QuantumCircuit(3)
qc.h(0).cx(0, 1).cx(1, 2) # 3-Qubit GHZ State

# Export to OpenQASM 2.0
qasm_string = qc.to_qasm()
print(qasm_string)

🛡️ Post-Quantum Cryptography (PQC)

Secure your applications using FIPS-standardized ML-KEM and ML-DSA primitives.

# Generate Kyber-768/ML-KEM Keypair
keypair = client.pqc.generate_keypair("kyber768")
public_key = keypair["public_key"]

# Encapsulate a shared secret
encap = client.pqc.encapsulate(public_key)
ciphertext = encap["ciphertext"]
shared_secret = encap["shared_secret"]

📊 VQP v1.6.0 Capability Matrix

Feature Support Level Advantage
Qubits Up to 1024 O(N) Forward-Path Sampling
Standards OpenQASM 2.0 Full Ingestion & Export
Math 35+ Gates H, CX, TOFFOLI, RZ, CSWAP, etc.
Trust Ed25519 JSON Scientific Receipts

© 2026 CryptoPIX Aṇu Astra. Decentralized Intelligence Infrastructure.

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

anuastra-1.6.0.tar.gz (8.1 kB view details)

Uploaded Source

Built Distribution

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

anuastra-1.6.0-py3-none-any.whl (7.1 kB view details)

Uploaded Python 3

File details

Details for the file anuastra-1.6.0.tar.gz.

File metadata

  • Download URL: anuastra-1.6.0.tar.gz
  • Upload date:
  • Size: 8.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.6

File hashes

Hashes for anuastra-1.6.0.tar.gz
Algorithm Hash digest
SHA256 fdc7e70a94bd95f11e580417be6469df61f7e37884ce8b227e4a7a82d88e943d
MD5 459522809316533832a36858cd4c9ffa
BLAKE2b-256 64e36a87a41fd90275a45a4332ba1560105c15b27885a5b3824efaf3398b08e4

See more details on using hashes here.

File details

Details for the file anuastra-1.6.0-py3-none-any.whl.

File metadata

  • Download URL: anuastra-1.6.0-py3-none-any.whl
  • Upload date:
  • Size: 7.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.6

File hashes

Hashes for anuastra-1.6.0-py3-none-any.whl
Algorithm Hash digest
SHA256 dd7123a9b784dfcaf5592e2f83c6ddc8cda5979b55b207b30d7b97488f2b7d8b
MD5 7093660a979a6bdb391ec15d2c497585
BLAKE2b-256 07f4fffd6518c6123b76c9b4f9dd4a1954af7564eeac31e81f734977717135e7

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