jet.interpreter.get_xir_manifest¶
-
get_xir_manifest
() → xir.program.Program[source]¶ Returns an XIR program that is populated with declarations for the gates and outputs supported by Jet.
- Returns
XIR program with the supported gate and output declarations.
- Return type
Example
Simply call the function directly:
import jet program = jet.get_xir_manifest() assert program.declarations["gate"] assert program.declarations["out"]
code/api/jet.interpreter.get_xir_manifest
Download Python script
Download Notebook
View on GitHub