Architecture Class
Abstract base class for quantum hardware architectures.
Constructor
Architecture()
Methods
| context |
Create a new enumeration context for this architecture. |
| provided_isa |
Create the ISA provided by this architecture, adding instructions directly to the context's provenance graph. |
context
Create a new enumeration context for this architecture.
context() -> ISAContext
Returns
| Type | Description |
|---|---|
|
A new enumeration context. |
provided_isa
Create the ISA provided by this architecture, adding instructions directly to the context's provenance graph.
abstract provided_isa(ctx: ISAContext) -> ISA
Parameters
| Name | Description |
|---|---|
|
ctx
Required
|
The enumeration context whose provenance graph stores the instructions. |
Returns
| Type | Description |
|---|---|
|
The ISA backed by the context's provenance graph. |