pub enum BasisGateSet {
IbmEagle,
IonQAria,
RigettiAspen,
Universal,
}Expand description
Hardware-native basis gate sets supported by the transpiler.
Variants§
IbmEagle
IBM Eagle: CX, ID, RZ, SX (= Rx(pi/2)), X
IonQAria
IonQ Aria: GPI, GPI2, MS – mapped to Rx, Ry, Rzz
RigettiAspen
Rigetti Aspen: CZ, RX, RZ
Universal
Universal: any gate passes through without decomposition.
Trait Implementations§
Source§impl Clone for BasisGateSet
impl Clone for BasisGateSet
Source§fn clone(&self) -> BasisGateSet
fn clone(&self) -> BasisGateSet
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 BasisGateSet
impl Debug for BasisGateSet
Source§impl PartialEq for BasisGateSet
impl PartialEq for BasisGateSet
impl Copy for BasisGateSet
impl Eq for BasisGateSet
impl StructuralPartialEq for BasisGateSet
Auto Trait Implementations§
impl Freeze for BasisGateSet
impl RefUnwindSafe for BasisGateSet
impl Send for BasisGateSet
impl Sync for BasisGateSet
impl Unpin for BasisGateSet
impl UnsafeUnpin for BasisGateSet
impl UnwindSafe for BasisGateSet
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