pub enum Gate1Q {
X,
Y,
Z,
H,
S,
T,
Rx(f64),
Ry(f64),
Rz(f64),
}Expand description
Single-qubit gate types
Variants§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Gate1Q
impl RefUnwindSafe for Gate1Q
impl Send for Gate1Q
impl Sync for Gate1Q
impl Unpin for Gate1Q
impl UnsafeUnpin for Gate1Q
impl UnwindSafe for Gate1Q
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more