Skip to main content

A high-level Python SDK for the Zena Quantum Simulator, inspired by Qiskit.

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.1.tar.gz (29.9 kB view details)

Uploaded Source

Built Distribution

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

zena_sdk-0.1.1-py3-none-any.whl (39.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: zena_sdk-0.1.1.tar.gz
  • Upload date:
  • Size: 29.9 kB
  • 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.1.tar.gz
Algorithm Hash digest
SHA256 438d165dbcfd6760334463785cad5b30b2787c109b5ac381f8471f0e0b181d07
MD5 994ec780e65202e8327ffa907cb8617c
BLAKE2b-256 32d2fa990be4aa7152d7313a5d2e9572a1a2a97e54c6c04b20e1e735ce64ed15

See more details on using hashes here.

File details

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

File metadata

  • Download URL: zena_sdk-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 39.4 kB
  • 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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 6087d6d508f223ff0de025e1fce3886c33fe72f0c1854ea33da6e1d44f453a49
MD5 2022c59a9f86cae78b70cd4bab06f289
BLAKE2b-256 f246486564e8a46bac5c7b1fe81752f0f2d3118e6b85366ec40032eaf6238b36

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