pub struct AutoSquash {
pub basis_singleqs: Vec<String>,
}Expand description
Automatically squash single-qubit gates.
Fields§
§basis_singleqs: Vec<String>OpTypes of supported single-qubit gates.
Trait Implementations§
Source§impl Clone for AutoSquash
impl Clone for AutoSquash
Source§fn clone(&self) -> AutoSquash
fn clone(&self) -> AutoSquash
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 AutoSquash
impl Debug for AutoSquash
Source§impl<'de> Deserialize<'de> for AutoSquash
impl<'de> Deserialize<'de> for AutoSquash
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 AutoSquash
impl PartialEq for AutoSquash
Source§impl Serialize for AutoSquash
impl Serialize for AutoSquash
impl StructuralPartialEq for AutoSquash
Auto Trait Implementations§
impl Freeze for AutoSquash
impl RefUnwindSafe for AutoSquash
impl Send for AutoSquash
impl Sync for AutoSquash
impl Unpin for AutoSquash
impl UnwindSafe for AutoSquash
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