pub struct MultiFusedData {
pub gates: Vec<(usize, [[Complex64; 2]; 2])>,
pub all_diagonal: bool,
}Expand description
Data for multi-gate single-pass fusion.
Batches consecutive single-qubit gates on distinct qubits into one tiled
pass over the statevector. Each entry is (target_qubit, 2×2 matrix).
Fields§
§gates: Vec<(usize, [[Complex64; 2]; 2])>§all_diagonal: boolTrait Implementations§
Source§impl Clone for MultiFusedData
impl Clone for MultiFusedData
Source§fn clone(&self) -> MultiFusedData
fn clone(&self) -> MultiFusedData
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 MultiFusedData
impl Debug for MultiFusedData
Source§impl PartialEq for MultiFusedData
impl PartialEq for MultiFusedData
Source§fn eq(&self, other: &MultiFusedData) -> bool
fn eq(&self, other: &MultiFusedData) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for MultiFusedData
Auto Trait Implementations§
impl Freeze for MultiFusedData
impl RefUnwindSafe for MultiFusedData
impl Send for MultiFusedData
impl Sync for MultiFusedData
impl Unpin for MultiFusedData
impl UnsafeUnpin for MultiFusedData
impl UnwindSafe for MultiFusedData
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