|
tket
|
Architectural qubit location. More...
#include <UnitID.hpp>


Public Member Functions | |
| Node () | |
| Node (unsigned index) | |
| Qubit in default register. | |
| Node (const std::string &name, unsigned index) | |
| Named register with a one-dimensional index. | |
| Node (const std::string &name, unsigned row, unsigned col) | |
| Named register with a two-dimensional index. | |
| Node (const std::string &name, unsigned row, unsigned col, unsigned layer) | |
| Named register with a three-dimensional index. | |
| Node (const std::string &name, std::vector< unsigned > index) | |
| Named register with a multi-dimensional index. | |
| Node (const UnitID &other) | |
Public Member Functions inherited from tket::Qubit | |
| Qubit () | |
| Qubit (unsigned index) | |
| Qubit in default register. | |
| Qubit (const std::string &name) | |
| Named register with no index. | |
| Qubit (const std::string &name, unsigned index) | |
| Named register with a one-dimensional index. | |
| Qubit (const std::string &name, unsigned row, unsigned col) | |
| Named register with a two-dimensional index. | |
| Qubit (const std::string &name, unsigned row, unsigned col, unsigned layer) | |
| Named register with a three-dimensional index. | |
| Qubit (const std::string &name, std::vector< unsigned > index) | |
| Named register with a multi-dimensional index. | |
| Qubit (const UnitID &other) | |
| Copy constructor. | |
Public Member Functions inherited from tket::UnitID | |
| UnitID () | |
| std::string | repr () const |
| String representation including name and index. | |
| std::string | reg_name () const |
| Register name. | |
| unsigned | reg_dim () const |
| Index dimension. | |
| std::vector< unsigned > | index () const |
| Index. | |
| UnitType | type () const |
| Unit type. | |
| register_info_t | reg_info () const |
| Register dimension and type. | |
| bool | operator< (const UnitID &other) const |
| bool | operator> (const UnitID &other) const |
| bool | operator== (const UnitID &other) const |
| bool | operator!= (const UnitID &other) const |
Additional Inherited Members | |
Protected Member Functions inherited from tket::UnitID | |
| UnitID (const std::string &name, const std::vector< unsigned > &index, UnitType type) | |
Architectural qubit location.
Definition at line 306 of file UnitID.hpp.
|
inline |
Definition at line 308 of file UnitID.hpp.
|
inlineexplicit |
Qubit in default register.
Definition at line 311 of file UnitID.hpp.
|
inline |
Named register with a one-dimensional index.
Definition at line 314 of file UnitID.hpp.
|
inline |
Named register with a two-dimensional index.
Definition at line 317 of file UnitID.hpp.
|
inline |
Named register with a three-dimensional index.
Definition at line 321 of file UnitID.hpp.
|
inline |
Named register with a multi-dimensional index.
Definition at line 325 of file UnitID.hpp.
|
inlineexplicit |
Definition at line 328 of file UnitID.hpp.