Class ISWAPGate

java.lang.Object
com.quantum4j.core.gates.TwoQubitGate
com.quantum4j.core.gates.ISWAPGate
All Implemented Interfaces:
Gate

public final class ISWAPGate extends TwoQubitGate
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.

  • Constructor Details

    • ISWAPGate

      public ISWAPGate()
  • Method Details

    • name

      public String name()
      Description copied from interface: Gate
      Get the name of this gate (e.g., "H", "X", "CNOT").
      Returns:
      the gate name