mindquantum.core.gates.ISWAPGate

View Source On Gitee
class mindquantum.core.gates.ISWAPGate[source]

ISWAP gate.

ISWAP gate that swaps two different qubits and phase the \(\left|01\right>\) and \(\left|10\right>\) amplitudes by \(i\).

More usage, please see XGate.

get_cpp_obj()[source]

Construct cpp obj.