Catalog PyPI
Back to packageRELEASE DETAILS

0.3.0

PyPI

aegis-q

High-performance quantum compiler middleware for Dynamical Decoupling.

Published3 Mar 2026
Direct dependencies1
Transitive dependenciesNot calculated

README

Version 0.3.0 documentation

🚀 AegisQ v0.3.0: Universal Pulse-Level Compiler

AegisQ is a high-performance, memory-safe quantum compiler backend written in Rust, wrapped in a flexible Python API. It mitigates $ZZ$ crosstalk and physical qubit decoherence by automatically calculating and injecting hardware-aware microwave pulse parameters (Dynamical Decoupling) into idle computational windows.

🏗️ Architecture

AegisQ uses a strict Adapter Pattern to fully decouple the physics engine from the quantum software framework.

  1. The Python Frontend (Adapters): Accepts native quantum circuits (e.g., qiskit.QuantumCircuit) and compiles them down to a Universal Intermediate Representation (IR).
  2. The PyO3 Boundary: Safely serializes the IR and hardware topology across the language boundary.
  3. The Rust Backend (Physics Engine): Constructs a directed acyclic graph (DAG), analyzes spatial/temporal crosstalk, calculates precise physical waveform parameters (e.g., DRAG pulse Amplitude and Beta), and injects them to protect vulnerable qubits.

✨ Key Features

  • Multi-Framework Support: Universal IR supports rapid adapter creation for Qiskit, Cirq, and others.
  • Hardware-Aware Scheduling: Prevents decoherence by utilizing $XY4$, $CPMG$, and custom dynamical decoupling sequences.
  • Leakage Prevention: Emits precise physical DRAG envelope parameters to suppress leakage into the $|2\rangle$ state.
  • Memory Safe: Core optimization passes are written in strict, dependency-inverted Rust.

💻 Quick Start

With the new Universal Architecture, you simply wrap your quantum circuit in a framework-specific adapter before handing it to the Rust physics engine.

from qiskit import QuantumCircuit
from qiskit.providers.fake_provider import GenericBackendV2
from aegis_q.adapters.qiskit_adapter import QiskitAdapter
import aegis_q

# 1. Define your hardware and circuit
backend = GenericBackendV2(num_qubits=3)
qc = QuantumCircuit(3)
qc.cx(0, 1)
qc.delay(1500, 2) # Qubit 2 is idle and vulnerable to crosstalk
qc.cx(0, 2)

# 2. Wrap it in the AegisQ Adapter
adapter = QiskitAdapter(qc, backend)

# 3. Run the Rust Compiler Engine
# AegisQ analyzes the topology and injects physical DRAG pulses 
# (amp, beta) to protect the idle qubit.
optimized_qc = aegis_q.optimize_circuit(adapter, sequence="XY4")

print(optimized_qc.draw())

📦 Installation

AegisQ provides pre-compiled binaries for Linux, macOS, and Windows.

bash

pip install aegis-q

Downloads & popularity

Awaiting observations

No metric observations yet

Download counts and popularity will appear here as the collector receives them.

Declared dependencies 1

Native requirements
1 direct targetsNot calculated transitive count
Package / targetRequirementRelationship
qiskit
Environment
{
  "extras": "",
  "marker": null,
  "requires_python": ">=3.8",
  "evaluation": "NOT_EVALUATED"
}
qiskit>=1.0.0runtime

Distribution files

34 collected
aegis_q-0.3.0-cp310-cp310-macosx_10_12_x86_64.whl

bdist_wheel · 277.63 KB · Python cp310

Source file
aegis_q-0.3.0-cp310-cp310-macosx_11_0_arm64.whl

bdist_wheel · 270.79 KB · Python cp310

Source file
aegis_q-0.3.0-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl

bdist_wheel · 303.54 KB · Python cp310

Source file
aegis_q-0.3.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

bdist_wheel · 309.77 KB · Python cp310

Source file
aegis_q-0.3.0-cp310-cp310-win_amd64.whl

bdist_wheel · 164.03 KB · Python cp310

Source file
aegis_q-0.3.0-cp311-cp311-macosx_10_12_x86_64.whl

bdist_wheel · 277.43 KB · Python cp311

Source file
aegis_q-0.3.0-cp311-cp311-macosx_11_0_arm64.whl

bdist_wheel · 270.48 KB · Python cp311

Source file
aegis_q-0.3.0-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl

bdist_wheel · 303.46 KB · Python cp311

Source file
aegis_q-0.3.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

bdist_wheel · 309.01 KB · Python cp311

Source file
aegis_q-0.3.0-cp311-cp311-win_amd64.whl

bdist_wheel · 163.94 KB · Python cp311

Source file
aegis_q-0.3.0-cp312-cp312-macosx_10_12_x86_64.whl

bdist_wheel · 275.89 KB · Python cp312

Source file
aegis_q-0.3.0-cp312-cp312-macosx_11_0_arm64.whl

bdist_wheel · 268.97 KB · Python cp312

Source file
aegis_q-0.3.0-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl

bdist_wheel · 301.91 KB · Python cp312

Source file
aegis_q-0.3.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

bdist_wheel · 307.48 KB · Python cp312

Source file
aegis_q-0.3.0-cp312-cp312-win_amd64.whl

bdist_wheel · 162.29 KB · Python cp312

Source file
aegis_q-0.3.0-cp313-cp313-macosx_10_12_x86_64.whl

bdist_wheel · 275.42 KB · Python cp313

Source file
aegis_q-0.3.0-cp313-cp313-macosx_11_0_arm64.whl

bdist_wheel · 269.1 KB · Python cp313

Source file
aegis_q-0.3.0-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl

bdist_wheel · 301.8 KB · Python cp313

Source file
aegis_q-0.3.0-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

bdist_wheel · 306.79 KB · Python cp313

Source file
aegis_q-0.3.0-cp313-cp313t-manylinux_2_17_aarch64.manylinux2014_aarch64.whl

bdist_wheel · 301.62 KB · Python cp313

Source file
aegis_q-0.3.0-cp313-cp313-win_amd64.whl

bdist_wheel · 162.26 KB · Python cp313

Source file
aegis_q-0.3.0-cp314-cp314-macosx_10_12_x86_64.whl

bdist_wheel · 275.85 KB · Python cp314

Source file
aegis_q-0.3.0-cp314-cp314-macosx_11_0_arm64.whl

bdist_wheel · 269.12 KB · Python cp314

Source file
aegis_q-0.3.0-cp314-cp314-manylinux_2_17_aarch64.manylinux2014_aarch64.whl

bdist_wheel · 301.16 KB · Python cp314

Source file
aegis_q-0.3.0-cp314-cp314-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

bdist_wheel · 306.67 KB · Python cp314

Source file
aegis_q-0.3.0-cp314-cp314t-manylinux_2_17_aarch64.manylinux2014_aarch64.whl

bdist_wheel · 300.11 KB · Python cp314

Source file
aegis_q-0.3.0-cp314-cp314-win_amd64.whl

bdist_wheel · 162.34 KB · Python cp314

Source file
aegis_q-0.3.0-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl

bdist_wheel · 305.18 KB · Python cp38

Source file
aegis_q-0.3.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

bdist_wheel · 312.04 KB · Python cp38

Source file
aegis_q-0.3.0-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl

bdist_wheel · 305.93 KB · Python cp39

Source file
aegis_q-0.3.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

bdist_wheel · 311.93 KB · Python cp39

Source file
aegis_q-0.3.0-pp311-pypy311_pp73-manylinux_2_17_aarch64.manylinux2014_aarch64.whl

bdist_wheel · 304.63 KB · Python pp311

Source file
aegis_q-0.3.0-pp311-pypy311_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

bdist_wheel · 311.11 KB · Python pp311

Source file
aegis_q-0.3.0.tar.gz

sdist · 98.46 KB · Python source

Source file

Metadata history

Meaningful changes
Current collected state Current

Observed since 20 Oct, 20:18 UTC

No superseded metadata states collected. Unchanged observations do not create new revisions.

Record identity

package_version:d7dee6c4641d2589bcedd9eb74d1c42aede7ffe99d615bc3ce1e4c34d023c514

Other collected versions

View all collected versions →