Skip to main content

compile_sampler_program_ref

Function compile_sampler_program_ref 

Source
pub fn compile_sampler_program_ref(
    n_qubits: usize,
    operations: &[Operation],
    observables: Vec<LogicalObservable>,
) -> NpResult<SamplerProgram>
Expand description

Compile a borrowed operation tree into the canonical compact sampler program.