pub struct SymplecticTableau {
pub nrows: u32,
pub nqubits: u32,
pub xmat: Matrix<bool>,
pub zmat: Matrix<bool>,
pub phase: Matrix<bool>,
}
Expand description
Binary matrix form of a collection of Pauli strings.
Fields§
§nrows: u32
Number of rows in the tableau.
nqubits: u32
Number of columns in the tableau.
xmat: Matrix<bool>
The X matrix.
zmat: Matrix<bool>
The Z matrix.
phase: Matrix<bool>
The phase matrix.
Trait Implementations§
Source§impl Clone for SymplecticTableau
impl Clone for SymplecticTableau
Source§fn clone(&self) -> SymplecticTableau
fn clone(&self) -> SymplecticTableau
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 SymplecticTableau
impl Debug for SymplecticTableau
Source§impl<'de> Deserialize<'de> for SymplecticTableau
impl<'de> Deserialize<'de> for SymplecticTableau
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 Hash for SymplecticTableau
impl Hash for SymplecticTableau
Source§impl PartialEq for SymplecticTableau
impl PartialEq for SymplecticTableau
Source§impl Serialize for SymplecticTableau
impl Serialize for SymplecticTableau
impl Eq for SymplecticTableau
impl StructuralPartialEq for SymplecticTableau
Auto Trait Implementations§
impl Freeze for SymplecticTableau
impl RefUnwindSafe for SymplecticTableau
impl Send for SymplecticTableau
impl Sync for SymplecticTableau
impl Unpin for SymplecticTableau
impl UnwindSafe for SymplecticTableau
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