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

Uploaded CPython 3.8+Windows x86-64

zena_sdk-0.1.5-cp38-abi3-manylinux_2_34_x86_64.whl (410.3 kB view details)

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

File details

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

File metadata

  • Download URL: zena_sdk-0.1.5-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.5-cp38-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 996bac6bf918c0350755af1d5220e423c97435a00a0088a6d563fcaa9916414d
MD5 c15224e2272c0fac984432cd4f2e81c2
BLAKE2b-256 677486e06c65984032becfd807a888d65de928e3f48db4b21040cd8d9817e687

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for zena_sdk-0.1.5-cp38-abi3-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 82d977b4124dcdd7ffec4d498171738dbb591e32ee422b81a844dfc81ead12de
MD5 35b8a82046233f24aa655c69ea715a4f
BLAKE2b-256 a3b33d7414b898fa2f5a2de1d1b00fdbf272fcf08247e9e1e4a240605541c9c9

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