Overview

Never locked into one provider.

Quantum hardware is rapidly evolving — new providers emerge, qubit counts grow, and access models change. An application built directly against a single vendor's API becomes a liability as the hardware landscape shifts.

The hardware abstraction layer insulates every φCoherent application from those changes. Circuits are described once, against a backend-neutral interface. At runtime, the HAL routes execution to whichever registered backend is appropriate — a local simulator for development, a cloud API for scale, or direct hardware for final runs. Switching providers requires no application code changes: only the backend registration changes.

/ Capabilities

What it provides.

Backend-neutral execution routing with a clean registration model for any quantum device or simulator.

  • / 01

    Unified execution interface

    All circuit submission, job management, and result retrieval goes through a single interface regardless of backend. Application code never imports vendor-specific symbols.

  • / 02

    Backend registry

    A singleton registry where simulators and hardware API adapters register themselves. Any registered backend is immediately available to any code that calls through the HAL.

  • / 03

    Hot-swappable backends

    Switch from simulator to hardware — or from one hardware provider to another — by changing the registered backend, not by modifying the application or its circuits.

  • / 04

    Consistent result schema

    Results from all backends arrive in the same typed format, so post-processing, error-correction, and analysis code handles simulator and hardware results identically.

In the stack

Portability layer — sits between all application code and all physical backends. The transpiler, runtime, and algorithm packages all submit circuits through the HAL. Adding support for a new quantum hardware provider requires writing one adapter that implements the HAL interface; nothing else in the stack changes.

Related packages
Licensing

Open under AGPLv3.

Published under the GNU AGPLv3 with whitepaper and reference implementation. Commercial licensing is available for closed-source deployments.

← Quantum Stack Commercial License