Skip to content

Missing gates, circuit composition, and OpenQASM/ASCII export #10

Description

@corgab

Context

The gate set covers the common cases (h, x/y/z, s/t, rx/ry/rz, cnot, cz, swap, ccnot, measure) but omits several gates that Braket supports and that show up regularly: cy, cswap (Fredkin), iswap, S-dagger/T-dagger (si/ti), phaseshift/cphaseshift, and identity. These are comparatively cosmetic.

The more useful gap is circuit composition / reuse: there is no way to append a sub-circuit or define a reusable circuit fragment; every circuit is built from scratch on the fluent builder. This stays inside the package's abstraction and is genuine ergonomics, unlike an export format which only serves to leave the abstraction (a public toQasm() was considered and dropped for that reason — it works against the "stay in Laravel, swap the backend" goal).

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions