pub trait HasDagger {
    type Output;
    fn dag(&self) -> Self::Output;
}
Expand description

Represents types that have hermitian conjugates (e.g.: $A^\dagger$ for a matrix $A$ is defined as the complex conjugate transpose of $A$, $(A^\dagger)_{ij} = A_{ji}^*$).

Associated Types

The type of the hermitian conjugate.

Required methods

Returns the hermitian conjugate (colloquially, the dagger) of a borrowed reference as a new copy.

For most types implementing this trait, the hermitian conjugate is represented by the conjugate transpose.

Implementations on Foreign Types

Implementors