pub struct KAKDecomposition {
pub fidelity: f64,
pub allow_swaps: bool,
pub target_2qb_gate: TargetTwoQubitGate,
}Expand description
KAK decomposition configuration.
Fields§
§fidelity: f64Fidelity threshold to preserve semantics.
allow_swaps: boolWhether swaps are allowed during optimisation.
target_2qb_gate: TargetTwoQubitGateTarget native 2-qubit gate.
Trait Implementations§
Source§impl Clone for KAKDecomposition
impl Clone for KAKDecomposition
Source§fn clone(&self) -> KAKDecomposition
fn clone(&self) -> KAKDecomposition
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 KAKDecomposition
impl Debug for KAKDecomposition
Source§impl<'de> Deserialize<'de> for KAKDecomposition
impl<'de> Deserialize<'de> for KAKDecomposition
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for KAKDecomposition
impl PartialEq for KAKDecomposition
Source§impl Serialize for KAKDecomposition
impl Serialize for KAKDecomposition
impl StructuralPartialEq for KAKDecomposition
Auto Trait Implementations§
impl Freeze for KAKDecomposition
impl RefUnwindSafe for KAKDecomposition
impl Send for KAKDecomposition
impl Sync for KAKDecomposition
impl Unpin for KAKDecomposition
impl UnwindSafe for KAKDecomposition
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