[−][src]Enum dqcsim::common::gates::UnboundUnitaryGate
An unbound gate type.
The variants in this type specify all parameters to determine the behaviour of the gate. However, these variants carry no information about the target qubits.
Variants
Identity.
Pauli-X.
Pauli-Y.
Pauli-Z.
Hadamard.
Phase.
S† (conjugate transpose of S).
T.
T† (conjugate transpose of T).
90 degree rotation around X-axis.
minus 90 degree rotation around X-axis.
180 degree rotation around X-axis.
90 degree rotation around Y-axis.
minus 90 degree rotation around Y-axis.
180 degree rotation around Y-axis.
90 degree rotation around Y-axis.
minus 90 degree rotation around Z-axis.
180 degree rotation around Z-axis.
RX(f64)
Arbitrary rotation around X-axis with specified angle (θ).
RY(f64)
Arbitrary rotation around Y-axis with specified angle (θ).
RZ(f64)
Arbitrary rotation around Z-axis with specified angle (θ).
Phase(f64)
Arbitrary rotation around Z-axis, global phase chosen such that it works as a submatrix for controlled phase operations.
PhaseK(u64)
Same as Phase, but with θ = π/2^k.
Arbitrary rotation around X-, Y- and Z-axis with specified angles (θ, φ, λ).
Swap.
Square root of Swap.
U(&'matrix Matrix)
Abstract unitary gate with a reference to specified unitary matrix.
Trait Implementations
impl<'matrix> Clone for UnboundUnitaryGate<'matrix>
[src]
fn clone(&self) -> UnboundUnitaryGate<'matrix>
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<'matrix> Copy for UnboundUnitaryGate<'matrix>
[src]
impl<'matrix> Debug for UnboundUnitaryGate<'matrix>
[src]
impl<'matrix, '_> From<BoundUnitaryGate<'matrix, '_>> for UnboundUnitaryGate<'matrix>
[src]
fn from(
bound_gate: BoundUnitaryGate<'matrix, '_>
) -> UnboundUnitaryGate<'matrix>
[src]
bound_gate: BoundUnitaryGate<'matrix, '_>
) -> UnboundUnitaryGate<'matrix>
impl<'_> From<UnboundUnitaryGate<'_>> for UnitaryGateType
[src]
fn from(unbound_gate: UnboundUnitaryGate<'_>) -> UnitaryGateType
[src]
impl<'_> From<UnboundUnitaryGate<'_>> for Matrix
[src]
fn from(unbound_gate: UnboundUnitaryGate<'_>) -> Matrix
[src]
impl<'matrix> PartialEq<UnboundUnitaryGate<'matrix>> for UnboundUnitaryGate<'matrix>
[src]
fn eq(&self, other: &UnboundUnitaryGate<'matrix>) -> bool
[src]
fn ne(&self, other: &UnboundUnitaryGate<'matrix>) -> bool
[src]
impl<'matrix> StructuralPartialEq for UnboundUnitaryGate<'matrix>
[src]
impl<'_> TryFrom<UnitaryGateType> for UnboundUnitaryGate<'_>
[src]
Auto Trait Implementations
impl<'matrix> RefUnwindSafe for UnboundUnitaryGate<'matrix>
impl<'matrix> Send for UnboundUnitaryGate<'matrix>
impl<'matrix> Sync for UnboundUnitaryGate<'matrix>
impl<'matrix> Unpin for UnboundUnitaryGate<'matrix>
impl<'matrix> UnwindSafe for UnboundUnitaryGate<'matrix>
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,