Enum qdk_sim::ProcessData
source · [−]pub enum ProcessData {
MixedPauli(Vec<(f64, Vec<Pauli>)>),
Unitary(Array2<C64>),
KrausDecomposition(Array3<C64>),
Sequence(Vec<Process>),
ChpDecomposition(Vec<ChpOperation>),
Unsupported,
}
Expand description
Data used to represent a given process.
Variants
MixedPauli(Vec<(f64, Vec<Pauli>)>)
Representation of a process as a mixture of Pauli operators ${(p_i, P_i)}$ such that the channel acts as $\rho \mapsto \sum_i p_i P_i \rho P_i^{\dagger}$.
Unitary(Array2<C64>)
Representation of the process by an arbitrary unitary matrix.
KrausDecomposition(Array3<C64>)
Representation of the process by the singular vectors of its Choi representation (colloquially, the Kraus decomposition).
The first index denotes each Kraus operator, with the second and third indices representing the indices of each operator.
Sequence(Vec<Process>)
Representation of a process as a sequence of other processes.
ChpDecomposition(Vec<ChpOperation>)
Representation of a Clifford operation in terms of a decomposition into CNOT, Hadamard, and phase operations.
Unsupported
Represents a process that is not supported by a given noise model, and thus always fails when applied.
Trait Implementations
sourceimpl Clone for ProcessData
impl Clone for ProcessData
sourcefn clone(&self) -> ProcessData
fn clone(&self) -> ProcessData
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for ProcessData
impl Debug for ProcessData
sourceimpl<'de> Deserialize<'de> for ProcessData
impl<'de> Deserialize<'de> for ProcessData
sourcefn 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
sourceimpl Serialize for ProcessData
impl Serialize for ProcessData
Auto Trait Implementations
impl RefUnwindSafe for ProcessData
impl Send for ProcessData
impl Sync for ProcessData
impl Unpin for ProcessData
impl UnwindSafe for ProcessData
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more