pub struct SegmentCost {
pub memory_bytes: u64,
pub estimated_flops: u64,
pub qubit_count: u32,
}Expand description
Estimated resource consumption for simulating a circuit segment.
Fields§
§memory_bytes: u64Estimated memory consumption in bytes.
estimated_flops: u64Estimated floating-point operations.
qubit_count: u32Number of qubits in this segment.
Trait Implementations§
Source§impl Clone for SegmentCost
impl Clone for SegmentCost
Source§fn clone(&self) -> SegmentCost
fn clone(&self) -> SegmentCost
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 moreAuto Trait Implementations§
impl Freeze for SegmentCost
impl RefUnwindSafe for SegmentCost
impl Send for SegmentCost
impl Sync for SegmentCost
impl Unpin for SegmentCost
impl UnsafeUnpin for SegmentCost
impl UnwindSafe for SegmentCost
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