[][src]Function qip::state_ops::apply_op

pub fn apply_op<P: Precision>(
    n: u64,
    op: &QubitOp,
    input: &[Complex<P>],
    output: &mut [Complex<P>],
    input_offset: u64,
    output_offset: u64,
    multithread: bool
)

Apply op to the input, storing the results in output. If either start at a nonzero state index in their 0th index, use input/output_offset.