QNLP
v1.0
|
Hashing function for GateMetaData objects, to allow storage in unordered_map. Taken from default docs example. More...
#include <GateCache.hpp>
Public Member Functions | |
std::size_t | operator() (const GateMetaData &gmd) const |
Hashing function for GateMetaData objects, to allow storage in unordered_map. Taken from default docs example.
Definition at line 79 of file GateCache.hpp.
|
inline |
Definition at line 80 of file GateCache.hpp.
References QNLP::GateMetaData::labelGate, QNLP::GateMetaData::sqrt_depth, and QNLP::GateMetaData::theta.