Class ClsCNOTGate

Inheritance Relationships

Base Type

Class Documentation

class ClsCNOTGate : public QuantumGate_OneControlOneTarget

CNOT gate

Public Functions

ClsCNOTGate(UINT control_qubit_index, UINT target_qubit_index)

Constructor

Parameters
  • control_qubit_index: Subscript of control qubit

  • target_qubit_index: Subscript of target qubit