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 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.6-cp38-abi3-win_amd64.whl (288.5 kB view details)

Uploaded CPython 3.8+Windows x86-64

zena_sdk-0.1.6-cp38-abi3-manylinux_2_34_x86_64.whl (441.3 kB view details)

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

File details

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

File metadata

  • Download URL: zena_sdk-0.1.6-cp38-abi3-win_amd64.whl
  • Upload date:
  • Size: 288.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.6-cp38-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 0de2c48d0b357ee11611426408a1f40d3ae13ac81e82a65528eb4742c5f162ff
MD5 9b2df67a7ae0121ce1fb1b12f5b4c328
BLAKE2b-256 f277c2fce9d238081d29736c8337564cc32c0834986853570c96e06a59a37110

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for zena_sdk-0.1.6-cp38-abi3-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 42431259519811ef4f7cb6e5ca85d7296ee5baec707eb5c66ba9397cbe2d006f
MD5 529a71b43fa751c8c652aaf9863b8ed4
BLAKE2b-256 1fa6c66bbd0a96717fbef289e8fb971820deea3e1c3a556b5f4b85e78f5a76a0

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