mindquantum.core.gates.ISWAPGate

查看源文件
class mindquantum.core.gates.ISWAPGate[源代码]

ISWAP门会交换两个不同的量子比特并且为 \(\left|01\right>\) 和 \(\left|10\right>\) 的振幅增加相位 \(i\)。

更多用法,请参见 XGate。

get_cpp_obj()[源代码]

返回该门的c++对象。