Skip to main content

A high-level Python SDK for the Zena Quantum Simulator, including core Rust engine.

Project description

Zena SDK

Zena SDK is a high-level Python library for creating and simulating quantum circuits, designed with a familiar API for users of Qiskit. It serves as the user-facing layer for the powerful Zena Quantum Simulator engine.

Installation

pip install zena-sdk

(Note: Binary wheels include all necessary simulation kernels for Windows and Linux)

Basic Usage

Zena SDK allows you to build circuits using QuantumRegister, ClassicalRegister, and QuantumCircuit in a way that feels completely natural.

from zena import QuantumCircuit, execute, Aer

# 1. Create a Quantum Circuit
qc = QuantumCircuit(2, 2)
qc.h(0)
qc.cx(0, 1)
qc.measure([0, 1], [0, 1])

# 2. Visualize
print(qc.draw())

# 3. Choose a Backend
backend = Aer.get_backend('statevector_simulator')

# 4. Execute
job = execute(qc, backend, shots=1024)
result = job.result()

# 5. Get Results
print("Counts:", result.get_counts())

Features

  • Familiar API: Drop-in conceptual replacement for basic Qiskit circuits.
  • High Performance: Powered by a Rust-based statevector simulator.
  • Visualizations: Built-in methods for circuit drawing and result plotting.
  • Extensible: Modular architecture allowing for future backend plugins.

Architecture

Zena SDK sits on top of the Core Engine.

  • Base Layer: qsys (Intermediate Representation & Composer)
  • Simulation Layer: simulator_statevector (Rust-based capabilities)
  • User Layer: zena (High-level Circuit & Provider API)

For detailed documentation, visit the docs/ directory.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

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

zena_sdk-0.1.8-cp38-abi3-win_amd64.whl (622.9 kB view details)

Uploaded CPython 3.8+Windows x86-64

zena_sdk-0.1.8-cp38-abi3-manylinux_2_34_x86_64.whl (490.1 kB view details)

Uploaded CPython 3.8+manylinux: glibc 2.34+ x86-64

File details

Details for the file zena_sdk-0.1.8-cp38-abi3-win_amd64.whl.

File metadata

  • Download URL: zena_sdk-0.1.8-cp38-abi3-win_amd64.whl
  • Upload date:
  • Size: 622.9 kB
  • Tags: CPython 3.8+, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.9

File hashes

Hashes for zena_sdk-0.1.8-cp38-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 b10b909a0badc1880cb565eff11774aea0737cd4e32a7322d39b84fa8f22f8c1
MD5 0b271cd935fe1538b7ed1ff8e322fdfd
BLAKE2b-256 3b0d480a4b827c823de24ced2b5d62f9a0fef4cfb378f89cf102f6dde3f81dda

See more details on using hashes here.

File details

Details for the file zena_sdk-0.1.8-cp38-abi3-manylinux_2_34_x86_64.whl.

File metadata

File hashes

Hashes for zena_sdk-0.1.8-cp38-abi3-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 620e6f2a1b9a7b7603e2af22ea4a2c2a5f85991c6b5b4eba4f68aa47314944f6
MD5 0c85d68353cfacce21b15bbf9749150c
BLAKE2b-256 b69475c397f02d0ac4e81ab3cc7c050ee55a1dd184983a60c5352fd4bcb9933f

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