QuISP
Loading...
Searching...
No Matches
quisp::runtime::QubitId Struct Reference

describes Qubit id in a Program. This is like a local variable name in a runtime::Program. Be careful, this is not used for RuleEngine or QNIC. More...

#include <types.h>

Public Member Functions

 QubitId ()
 
 QubitId (int val)
 
size_t operator() (const QubitId &) const
 hash function for unordered map
 

Public Attributes

int val
 

Detailed Description

describes Qubit id in a Program. This is like a local variable name in a runtime::Program. Be careful, this is not used for RuleEngine or QNIC.

Constructor & Destructor Documentation

◆ QubitId() [1/2]

quisp::runtime::QubitId::QubitId ( )
inline

◆ QubitId() [2/2]

quisp::runtime::QubitId::QubitId ( int val)

Member Function Documentation

◆ operator()()

size_t quisp::runtime::QubitId::operator() ( const QubitId & id) const

hash function for unordered map

Member Data Documentation

◆ val

int quisp::runtime::QubitId::val

The documentation for this struct was generated from the following files: