pub struct GateData { /* private fields */ }Implementations§
Source§impl GateData
impl GateData
pub fn name(&self) -> String
pub fn aliases(&self) -> Vec<String>
pub fn num_parens_arguments_range(&self) -> Vec<u8> ⓘ
pub fn is_noisy_gate(&self) -> bool
pub fn is_reset(&self) -> bool
pub fn is_single_qubit_gate(&self) -> bool
pub fn is_symmetric_gate(&self) -> bool
pub fn is_two_qubit_gate(&self) -> bool
pub fn is_unitary(&self) -> bool
pub fn produces_measurements(&self) -> bool
pub fn takes_measurement_record_targets(&self) -> bool
pub fn takes_pauli_targets(&self) -> bool
pub fn flows(&self) -> Vec<String>
pub fn tableau(&self) -> Option<Tableau>
pub fn clone_handle(&self) -> Self
pub fn inverse(&self) -> Option<Self>
pub fn generalized_inverse(&self) -> Self
pub fn hadamard_conjugated(&self, unsigned_only: bool) -> Option<Self>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for GateData
impl RefUnwindSafe for GateData
impl !Send for GateData
impl !Sync for GateData
impl Unpin for GateData
impl UnsafeUnpin for GateData
impl UnwindSafe for GateData
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