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: Requires valid qsys and simulator_statevector backend installations)

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. visualizae
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 (zena) sits on top of the Core Engine (qsys).

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

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

zena_sdk-0.1.4.tar.gz (4.1 MB view details)

Uploaded Source

Built Distributions

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

zena_sdk-0.1.4-py3-none-any.whl (4.1 MB view details)

Uploaded Python 3

zena_sdk-0.1.4-cp313-cp313-win_amd64.whl (248.3 kB view details)

Uploaded CPython 3.13Windows x86-64

zena_sdk-0.1.4-cp312-cp312-manylinux_2_34_x86_64.whl (406.8 kB view details)

Uploaded CPython 3.12manylinux: glibc 2.34+ x86-64

zena_sdk-0.1.4-cp38-abi3-win_amd64.whl (250.5 kB view details)

Uploaded CPython 3.8+Windows x86-64

File details

Details for the file zena_sdk-0.1.4.tar.gz.

File metadata

  • Download URL: zena_sdk-0.1.4.tar.gz
  • Upload date:
  • Size: 4.1 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.3

File hashes

Hashes for zena_sdk-0.1.4.tar.gz
Algorithm Hash digest
SHA256 47874e17a86cf20dfd80ca281dfd8bd488444f504df289dd4072d9ef6df8a397
MD5 d7ef985bba94e966470ea22f60ed1a00
BLAKE2b-256 9ec5c8050b02449ab0df61dfa0f0b6dc36fac2d2a936829a2f1cd7c26aa6bd38

See more details on using hashes here.

File details

Details for the file zena_sdk-0.1.4-py3-none-any.whl.

File metadata

  • Download URL: zena_sdk-0.1.4-py3-none-any.whl
  • Upload date:
  • Size: 4.1 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.3

File hashes

Hashes for zena_sdk-0.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 b737eb0e5f65ae9099c833cd2051a17e1da578a501e735e3d70a46f04f7adfe3
MD5 426cb2ffab9d5776f14896e4e38847a7
BLAKE2b-256 39d09676ef4e1fce9d27ed4a179f6106ab5db3d27800889c23632ab10ddd8343

See more details on using hashes here.

File details

Details for the file zena_sdk-0.1.4-cp313-cp313-win_amd64.whl.

File metadata

  • Download URL: zena_sdk-0.1.4-cp313-cp313-win_amd64.whl
  • Upload date:
  • Size: 248.3 kB
  • Tags: CPython 3.13, 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.4-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 068dd6aa83370c81aa0650ca663c54e48d4862aef6e6307a576fa916c41642ae
MD5 128d0eeba26059e37bc8e63cff2087c7
BLAKE2b-256 578a2fb5be5660638f41390e78ca65482af1f0b73ffe348bfe39d4687b16f58e

See more details on using hashes here.

File details

Details for the file zena_sdk-0.1.4-cp312-cp312-manylinux_2_34_x86_64.whl.

File metadata

File hashes

Hashes for zena_sdk-0.1.4-cp312-cp312-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 ce09fc76df58dfb770589663fb827f9956d028b69570d7513d890400faa30452
MD5 c89a8abcef15a3440cb6630554af87ce
BLAKE2b-256 40286fb4112e604e4fd4b1ce071691529176df1cf1b5077f55f76d7148420b50

See more details on using hashes here.

File details

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

File metadata

  • Download URL: zena_sdk-0.1.4-cp38-abi3-win_amd64.whl
  • Upload date:
  • Size: 250.5 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.4-cp38-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 f305da0213ca9cde9bf4101eed28bd9567d6fc47f7740243edf0265ed175c61a
MD5 f8dfd47a6312e0b8f1b6a3eecaac6d5a
BLAKE2b-256 57eeaa85a45778026c5174f7034f9cd8dfa57181d8b0d05ff9d59c11cbe0dcec

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