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.0.tar.gz (6.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.0-py3-none-any.whl (1.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: zena_sdk-0.1.0.tar.gz
  • Upload date:
  • Size: 6.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.0.tar.gz
Algorithm Hash digest
SHA256 2b90941e14d016d9180eca46c48a3320fed6728e35a65e3bfd0475e89298f79e
MD5 80ed4796332124e734e51703ca136e29
BLAKE2b-256 c6f65d44db0e0985cc4c51c883e091e78e0ccdaf56e7bd3a8eba97a1e8b17d1b

See more details on using hashes here.

File details

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

File metadata

  • Download URL: zena_sdk-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 1.8 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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 8fa88cab90e0716a6439fa67ca1d3554adac925c5f2f247d09d78fd3ccb370ba
MD5 7ad635c6663a9bc45259b910bb71a866
BLAKE2b-256 e441ea79cb4ff856de5c3c9539b4215f6c579d8d5335a1ca0c5af2f1ddf436e2

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