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.