QNLP
v1.0
|
Meta container object for gate caching. More...
#include <GateCache.hpp>
Public Member Functions | |
GateMetaData (std::string labelGate="", std::size_t sqrt_depth=0, bool adjoint=false, double theta=0.0) | |
bool | operator== (const GateMetaData &other) const |
Data Fields | |
std::string | labelGate |
std::size_t | sqrt_depth |
bool | adjoint |
double | theta |
Friends | |
std::ostream & | operator<< (std::ostream &os, const GateMetaData &gmd) |
Meta container object for gate caching.
Definition at line 46 of file GateCache.hpp.
|
inline |
Definition at line 53 of file GateCache.hpp.
|
inline |
|
friend |
Definition at line 69 of file GateCache.hpp.
bool QNLP::GateMetaData::adjoint |
Definition at line 50 of file GateCache.hpp.
std::string QNLP::GateMetaData::labelGate |
Definition at line 47 of file GateCache.hpp.
Referenced by QNLP::GateMetaDataHasher::operator()(), and operator==().
std::size_t QNLP::GateMetaData::sqrt_depth |
Definition at line 49 of file GateCache.hpp.
Referenced by QNLP::GateMetaDataHasher::operator()(), and operator==().
double QNLP::GateMetaData::theta |
Definition at line 51 of file GateCache.hpp.
Referenced by QNLP::GateMetaDataHasher::operator()(), and operator==().