Skip to main content

embed

Function embed 

Source
pub fn embed(op: &CMat<f64>, qubit: usize, n: usize) -> CMat<f64>
Expand description

op acting on qubit qubit of n, identity on the rest.