Function __quantum__rt__qubit_allocate_array

Source
pub extern "C" fn __quantum__rt__qubit_allocate_array(
    size: u64,
) -> *const QirArray
Expand description

QIR API for allocating the given number of qubits in the simulation, returning them as a runtime managed array.

ยงPanics

This function will panic if the requested array size is too large to be described with the system pointer size.