Trait CircuitGate
q1tsim::export
pub trait CircuitGate: Gate + OpenQasm + CQasm + Latex { fn as_gate(&self) -> &dyn Gate; }
Trait combining the traits necessary for a gate in a quantum circuit
fn as_gate(&self) -> &dyn Gate
impl<G: Gate + OpenQasm + CQasm + Latex> CircuitGate for G