qrisp.interface.Backend.gate_set#

property Backend.gate_set#

Native gate set supported by the backend.

This property describes which operations the backend can execute natively. The gate set is purely descriptive. Qrisp does not assume the set is universal. Compilation passes that require universality must verify this themselves.

Different qubit pairs may support different gates (e.g. CZ on some pairs, iSWAP on others, or both). Backends are expected to encode this granularity in the returned object.

Measurement is not assumed. The availability of a measurement operation on a given qubit is not guaranteed by this interface. Backends that require explicit measurement declarations should include them in the gate set.

The format of the returned object is backend-specific. For hardware backends it typically refers to native operations. For simulators it may be omitted or ignored.

Returns None if the backend does not expose gate availability.