Skip to main content

Crate qir_qis

Crate qir_qis 

Source

Modules§

convert
opt

Constants§

DEFAULT_OPT_LEVEL
DEFAULT_TARGET
MAX_STATIC_QUBITS
Maximum number of statically declared qubits accepted by validation and translation.
MAX_STATIC_RESULTS
Maximum number of statically declared results accepted by validation and translation.

Functions§

create_memory_buffer_from_bytes
Create an LLVM memory buffer by copying the provided bytes.
get_entry_attributes
Get QIR entry point function attributes.
memory_buffer_to_owned_bytes
Copy an LLVM memory buffer into public bitcode bytes.
parse_bitcode_module
Parse public bitcode bytes into an inkwell module.
qir_ll_to_bc
Convert QIR LLVM IR text to QIR bitcode bytes.
qir_to_qis
Core QIR to QIS translation logic.
qir_to_qis_with_passthrough_calls
QIR to QIS translation logic with an explicit downstream external-call pass-through allow-list.
stub_info
Auto-generated function to gather information to generate stub files
validate_qir
Validate the given QIR bitcode.