pub struct QuantumConfig {
pub num_qubits: usize,
pub enable_superposition: bool,
pub enable_entanglement: bool,
pub error_correction_level: u8,
pub annealing_temperature: f32,
pub max_entanglement_distance: usize,
}Expand description
Configuration for quantum-inspired quantization
Fields§
§num_qubits: usizeNumber of qubits for state representation (default: 8 for INT8 equivalent)
enable_superposition: boolEnable superposition quantization
enable_entanglement: boolEnable entanglement-based compression
error_correction_level: u8Quantum error correction level (0-3)
annealing_temperature: f32Annealing temperature for optimization
max_entanglement_distance: usizeMaximum entanglement distance (default: 16)
Trait Implementations§
Source§impl Clone for QuantumConfig
impl Clone for QuantumConfig
Source§fn clone(&self) -> QuantumConfig
fn clone(&self) -> QuantumConfig
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 QuantumConfig
impl Debug for QuantumConfig
Auto Trait Implementations§
impl Freeze for QuantumConfig
impl RefUnwindSafe for QuantumConfig
impl Send for QuantumConfig
impl Sync for QuantumConfig
impl Unpin for QuantumConfig
impl UnsafeUnpin for QuantumConfig
impl UnwindSafe for QuantumConfig
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more