Package com.quantum4j.core.gates
Class ISWAPGate
java.lang.Object
com.quantum4j.core.gates.TwoQubitGate
com.quantum4j.core.gates.ISWAPGate
- All Implemented Interfaces:
Gate
iSWAP (imaginary SWAP) quantum gate.
A two-qubit gate that swaps the states of two qubits and applies an imaginary phase (i) to the |01⟩ and |10⟩ basis states. The iSWAP gate is useful for implementing quantum interactions and is commonly used in superconducting qubit architectures.
-
Field Summary
Fields inherited from class com.quantum4j.core.gates.TwoQubitGate
matrix -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class com.quantum4j.core.gates.TwoQubitGate
apply, arity
-
Constructor Details
-
ISWAPGate
public ISWAPGate()
-
-
Method Details
-
name
Description copied from interface:GateGet the name of this gate (e.g., "H", "X", "CNOT").- Returns:
- the gate name
-