pub struct DiagonalBatchData {
pub entries: Vec<DiagEntry>,
}Expand description
Data for a batched diagonal gate pass.
A contiguous run of diagonal gates collapsed into a precomputed phase LUT.
The entries describe individual phase contributions; the kernel extracts
unique qubits, builds a LUT indexed by their bits, and applies in one sweep.
Fields§
§entries: Vec<DiagEntry>Trait Implementations§
Source§impl Clone for DiagonalBatchData
impl Clone for DiagonalBatchData
Source§fn clone(&self) -> DiagonalBatchData
fn clone(&self) -> DiagonalBatchData
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 DiagonalBatchData
impl Debug for DiagonalBatchData
Source§impl PartialEq for DiagonalBatchData
impl PartialEq for DiagonalBatchData
Source§fn eq(&self, other: &DiagonalBatchData) -> bool
fn eq(&self, other: &DiagonalBatchData) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for DiagonalBatchData
Auto Trait Implementations§
impl Freeze for DiagonalBatchData
impl RefUnwindSafe for DiagonalBatchData
impl Send for DiagonalBatchData
impl Sync for DiagonalBatchData
impl Unpin for DiagonalBatchData
impl UnsafeUnpin for DiagonalBatchData
impl UnwindSafe for DiagonalBatchData
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