qbraid_qir

This top level module contains the main qBraid QIR functionality.

Functions

dumps(module[, output_dir])

Saves the Quantum Intermediate Representation (QIR) of a given module to bitcode (.bc) and LLVM IR (.ll) files.

Exceptions

QbraidQirError

Base class for errors raised by qbraid-qir.

QirConversionError

Class for errors raised when converting quantum program to QIR.