Class ClsSWAPGate

Inheritance Relationships

Base Type

Class Documentation

class ClsSWAPGate : public QuantumGate_TwoQubit

SWAP gate

Public Functions

ClsSWAPGate(UINT target_qubit_index1, UINT target_qubit_index2)

Constructor

Parameters
  • target_qubit_index1: Subscript of target qubit

  • target_qubit_index2: Subscript of another target qubit