[][src]Trait q1tsim::export::CircuitGate

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

Required methods

fn as_gate(&self) -> &dyn Gate

Loading content...

Implementors

impl<G: Gate + OpenQasm + CQasm + Latex> CircuitGate for G[src]

Loading content...