SupportsCircuitTemplates

class SupportsCircuitTemplates(*args, **kwargs)[source]

Bases: Protocol

Capability protocol for backends that resolve parametric QASM templates server-side.

The pipeline’s deferred-binding path is gated on isinstance(backend, SupportsCircuitTemplates); a backend opts in simply by implementing submit_circuit_templates() — no inheritance is required, and no capability flag has to be plumbed through the base class for backends that have nothing else to share with the protocol.

Methods Summary

submit_circuit_templates(templates, *[, ...])

Methods Documentation

submit_circuit_templates(templates, *, cancellation_event=None, **kwargs)[source]
Return type:

ExecutionResult