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

Return the resource estimation trace for the QIR program.

get_trace(parameters: None = None) -> Trace

Parameters

Name Description
parameters

Unused. Defaults to None.

Default value: None

Returns

Type Description

The resource estimation trace.

Attributes

input

QIR input as LLVM IR text (str) or bitcode (bytes).

input: str | bytes