pub enum TargetTwoQubitGate {
CX,
TK2,
}Expand description
Target native two-qubit gate for optimisation passes.
Variants§
Trait Implementations§
Source§impl Clone for TargetTwoQubitGate
impl Clone for TargetTwoQubitGate
Source§fn clone(&self) -> TargetTwoQubitGate
fn clone(&self) -> TargetTwoQubitGate
Returns a duplicate 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 TargetTwoQubitGate
impl Debug for TargetTwoQubitGate
Source§impl<'de> Deserialize<'de> for TargetTwoQubitGate
impl<'de> Deserialize<'de> for TargetTwoQubitGate
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for TargetTwoQubitGate
impl PartialEq for TargetTwoQubitGate
Source§impl Serialize for TargetTwoQubitGate
impl Serialize for TargetTwoQubitGate
impl Eq for TargetTwoQubitGate
impl StructuralPartialEq for TargetTwoQubitGate
Auto Trait Implementations§
impl Freeze for TargetTwoQubitGate
impl RefUnwindSafe for TargetTwoQubitGate
impl Send for TargetTwoQubitGate
impl Sync for TargetTwoQubitGate
impl Unpin for TargetTwoQubitGate
impl UnwindSafe for TargetTwoQubitGate
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