pub trait Gate {
// Required methods
fn pbits(&self) -> &Vec<GridPbit>;
fn shape(&self) -> (usize, usize);
fn weight(&self) -> &DMatrix<i32>;
fn bias(&self) -> &Vec<i32>;
}
pub trait Gate {
// Required methods
fn pbits(&self) -> &Vec<GridPbit>;
fn shape(&self) -> (usize, usize);
fn weight(&self) -> &DMatrix<i32>;
fn bias(&self) -> &Vec<i32>;
}