QIRApplication Class
Application that produces a resource estimation trace from base profile QIR code.
Accepts QIR input as LLVM IR text or bitcode. The QIR input must adhere to the base profile.
Constructor
QIRApplication(input: str | bytes)
Parameters
| Name | Description |
|---|---|
|
input
Required
|
|
Methods
| get_trace |
Return the resource estimation trace for the QIR program. |
get_trace
Attributes
input
QIR input as LLVM IR text (str) or bitcode (bytes).
input: str | bytes