Enum quil_rs::reserved::ReservedGate
source · pub enum ReservedGate {
Show 25 variants
CAN,
CCNOT,
CNOT,
CPHASE,
CPHASE00,
CPHASE01,
CPHASE10,
CSWAP,
CZ,
H,
I,
ISWAP,
PHASE,
PISWAP,
PSWAP,
RX,
RY,
RZ,
S,
SWAP,
T,
X,
XY,
Y,
Z,
}
Expand description
Every reserved Gate identifier
Variants§
CAN
CCNOT
CNOT
CPHASE
CPHASE00
CPHASE01
CPHASE10
CSWAP
CZ
H
I
ISWAP
PHASE
PISWAP
PSWAP
RX
RY
RZ
S
SWAP
T
X
XY
Y
Z
Trait Implementations§
source§impl Clone for ReservedGate
impl Clone for ReservedGate
source§fn clone(&self) -> ReservedGate
fn clone(&self) -> ReservedGate
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for ReservedGate
impl Debug for ReservedGate
source§impl Display for ReservedGate
impl Display for ReservedGate
source§impl FromStr for ReservedGate
impl FromStr for ReservedGate
source§impl PartialEq<ReservedGate> for ReservedGate
impl PartialEq<ReservedGate> for ReservedGate
source§fn eq(&self, other: &ReservedGate) -> bool
fn eq(&self, other: &ReservedGate) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl TryFrom<&str> for ReservedGate
impl TryFrom<&str> for ReservedGate
impl Eq for ReservedGate
impl StructuralEq for ReservedGate
impl StructuralPartialEq for ReservedGate
Auto Trait Implementations§
impl RefUnwindSafe for ReservedGate
impl Send for ReservedGate
impl Sync for ReservedGate
impl Unpin for ReservedGate
impl UnwindSafe for ReservedGate
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
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.