pub enum QuantumAlgorithm {
Shor,
Grover,
VQE,
QAOA,
QML(String),
Custom(String),
}Expand description
Quantum algorithm types
Variants§
Shor
Shor’s algorithm for factoring
Grover
Grover’s search algorithm
VQE
Variational Quantum Eigensolver
QAOA
Quantum Approximate Optimization Algorithm
QML(String)
Quantum Machine Learning algorithm
Custom(String)
Custom algorithm
Trait Implementations§
Source§impl Clone for QuantumAlgorithm
impl Clone for QuantumAlgorithm
Source§fn clone(&self) -> QuantumAlgorithm
fn clone(&self) -> QuantumAlgorithm
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 QuantumAlgorithm
impl RefUnwindSafe for QuantumAlgorithm
impl Send for QuantumAlgorithm
impl Sync for QuantumAlgorithm
impl Unpin for QuantumAlgorithm
impl UnwindSafe for QuantumAlgorithm
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