Class ClsP1Gate

Inheritance Relationships

Base Type

Class Documentation

class ClsP1Gate : public QuantumGate_OneQubit

A gate that projects a working qubit into state 1

Public Functions

ClsP1Gate(UINT target_qubit_index)

Constructor

Parameters
  • target_qubit_index: Index of target qubit