[−][src]Enum dqcsim::common::gates::BoundUnitaryGate
A bound gate type.
The variants in this type specify all parameters and qubits targets to determine the behaviour of the gate.
Variants
I(QubitRef)
Identity with specified qubit target.
X(QubitRef)
Pauli-X with specified qubit target.
Y(QubitRef)
Pauli-Y with specified qubit target.
Z(QubitRef)
Pauli-Z with specified qubit target.
H(QubitRef)
Hadamard with specified qubit target.
S(QubitRef)
Phase with specified qubit target.
SDAG(QubitRef)
S† (conjugate transpose of S) with specified qubit target.
T(QubitRef)
T with specified qubit target.
TDAG(QubitRef)
T† (conjugate transpose of T) with specified qubit target.
RX90(QubitRef)
90 degree rotation around X-axis with specified qubit target.
RXM90(QubitRef)
minus 90 degree rotation around X-axi with specified qubit target.
RX180(QubitRef)
180 degree rotation around X-axis with specified qubit target.
RY90(QubitRef)
90 degree rotation around Y-axis with specified qubit target.
RYM90(QubitRef)
minus 90 degree rotation around Y-axis with specified qubit target.
RY180(QubitRef)
180 degree rotation around Y-axis with specified qubit target.
RZ90(QubitRef)
90 degree rotation around Y-axis with specified qubit target.
RZM90(QubitRef)
minus 90 degree rotation around Z-axis with specified qubit target.
RZ180(QubitRef)
180 degree rotation around Z-axis with specified qubit target.
Arbitrary rotation around X-axis with specified angle (θ) and qubit target.
Arbitrary rotation around Y-axis with specified angle (θ) and qubit target.
Arbitrary rotation around Z-axis with specified angle (θ) and qubit target.
Arbitrary rotation around Z-axis, global phase chosen such that it works as a submatrix for controlled phase operations.
Same as Phase, but with θ = π/2^k.
Arbitrary rotation around X-, Y- and Z-axis with specified angles (θ, φ, λ) and qubit target.
Swap with specified qubit targets.
Square root of Swap with specified qubit targets.
Abstract unitary gate with a reference to specified unitary matrix and qubit targets.
Trait Implementations
impl<'matrix, 'qref> Clone for BoundUnitaryGate<'matrix, 'qref>
[src]
fn clone(&self) -> BoundUnitaryGate<'matrix, 'qref>
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<'matrix, 'qref> Copy for BoundUnitaryGate<'matrix, 'qref>
[src]
impl<'matrix, 'qref> Debug for BoundUnitaryGate<'matrix, 'qref>
[src]
impl<'_, '_> From<BoundUnitaryGate<'_, '_>> for UnitaryGateType
[src]
fn from(bound_gate: BoundUnitaryGate<'_, '_>) -> UnitaryGateType
[src]
impl<'_, '_> From<BoundUnitaryGate<'_, '_>> for Matrix
[src]
fn from(bound_gate: BoundUnitaryGate<'_, '_>) -> Matrix
[src]
impl<'_, '_> From<BoundUnitaryGate<'_, '_>> for Gate
[src]
fn from(bound_gate: BoundUnitaryGate<'_, '_>) -> Gate
[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<'matrix, 'qref> PartialEq<BoundUnitaryGate<'matrix, 'qref>> for BoundUnitaryGate<'matrix, 'qref>
[src]
fn eq(&self, other: &BoundUnitaryGate<'matrix, 'qref>) -> bool
[src]
fn ne(&self, other: &BoundUnitaryGate<'matrix, 'qref>) -> bool
[src]
impl<'matrix, 'qref> StructuralPartialEq for BoundUnitaryGate<'matrix, 'qref>
[src]
Auto Trait Implementations
impl<'matrix, 'qref> RefUnwindSafe for BoundUnitaryGate<'matrix, 'qref>
impl<'matrix, 'qref> Send for BoundUnitaryGate<'matrix, 'qref>
impl<'matrix, 'qref> Sync for BoundUnitaryGate<'matrix, 'qref>
impl<'matrix, 'qref> Unpin for BoundUnitaryGate<'matrix, 'qref>
impl<'matrix, 'qref> UnwindSafe for BoundUnitaryGate<'matrix, 'qref>
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>,