[−][src]Function quantum2::gates::sqrt_swap
pub fn sqrt_swap() -> Gate
The two qubit sqrt(swap) gate.
This performs half-way of a two-qubit swap.
It is universal such that any quantum many qubit gate can be constructed from only sqrt(swap) and single qubit gates.
See Wikipedia for more information.