Skip to main content

Module ir

Module ir 

Source
Expand description

Intermediate representation (IR) modules for the Libket quantum compiler.

This module re-exports the three primary IR sub-modules:

  • block: basic blocks (straight-line gate sequences).
  • gate: gate types, parameters, and gate instructions.
  • hamiltonian: Hamiltonian operators for expectation-value tasks.

Modulesยง

block
Basic block: a straight-line sequence of quantum gate instructions.
gate
Intermediate representation (IR) for quantum gate instructions.
hamiltonian
Hamiltonian operator representation for expectation-value computations.