Class ClsCZGate

Inheritance Relationships

Base Type

Class Documentation

class ClsCZGate : public QuantumGate_OneControlOneTarget

Control-Z gate

Public Functions

ClsCZGate(UINT control_qubit_index, UINT target_qubit_index)

Constructor

Parameters
  • control_qubit_index: Subscript of control qubit

  • target_qubit_index: Subscript of target qubit