pub fn run_file(
path: impl AsRef<Path>,
entry_point: Option<&str>,
shots: u32,
rng_seed: Option<u64>,
output_writer: &mut impl Write,
) -> Result<(), String>
Expand description
ยงErrors
Will return Err
if
filename
does not exist or the user does not have permission to read it.filename
does not contain a valid bitcode modulefilename
does not have either a .ll or .bc as an extensionentry_point
is not found in the QIR- Entry point has parameters or a non-void return type.