pub struct Multi2qData {
pub gates: Vec<(usize, usize, [[Complex64; 4]; 4])>,
}Expand description
Data for multi-2q tiled pass fusion.
Batches consecutive two-qubit gates into a single cache-tiled pass over the
statevector. Each entry is (q0, q1, 4×4 matrix). Gate order is preserved.
Fields§
§gates: Vec<(usize, usize, [[Complex64; 4]; 4])>Trait Implementations§
Source§impl Clone for Multi2qData
impl Clone for Multi2qData
Source§fn clone(&self) -> Multi2qData
fn clone(&self) -> Multi2qData
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 Multi2qData
impl Debug for Multi2qData
Source§impl PartialEq for Multi2qData
impl PartialEq for Multi2qData
Source§fn eq(&self, other: &Multi2qData) -> bool
fn eq(&self, other: &Multi2qData) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for Multi2qData
Auto Trait Implementations§
impl Freeze for Multi2qData
impl RefUnwindSafe for Multi2qData
impl Send for Multi2qData
impl Sync for Multi2qData
impl Unpin for Multi2qData
impl UnsafeUnpin for Multi2qData
impl UnwindSafe for Multi2qData
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