Class QubitInfo

Inheritance Relationships

Derived Types

Class Documentation

class QubitInfo

量子ゲートが対象とする量子ビットの情報を保持するクラス

Subclassed by ControlQubitInfo, TargetQubitInfo

Public Functions

inline virtual ~QubitInfo()
inline UINT index() const

量子ビットの添え字を返す

戻り値

この量子ビットの添え字

inline void set_index(int idx)
inline explicit QubitInfo(UINT index_)

コンストラクタ

パラメータ

index_ -- 量子ビットの添え字

Protected Attributes

UINT _index

量子ビットの添え字