Sequential Quantum Gate Decomposer  v1.9.3
Powerful decomposition of general unitarias into one- and two-qubit gates gates
List of all members | Public Member Functions
GrayCodeHash_base< intType > Class Template Reference

Class to hash function operator for GrayCode_base keys in unordered maps and unordered sets. More...

#include <GrayCodeHash_base.hpp>

Public Member Functions

 GrayCodeHash_base ()
 Constructor of the class. More...
 
size_t operator() (const GrayCode_base< intType > &key) const
 Operator to generate hash key for class instance PicState_base<intType> More...
 

Detailed Description

template<typename intType>
class GrayCodeHash_base< intType >

Class to hash function operator for GrayCode_base keys in unordered maps and unordered sets.

Definition at line 37 of file GrayCodeHash_base.hpp.

Constructor & Destructor Documentation

◆ GrayCodeHash_base()

template<typename intType >
GrayCodeHash_base< intType >::GrayCodeHash_base ( )
inline

Constructor of the class.

Returns
Returns with the instance of the class.

Definition at line 47 of file GrayCodeHash_base.hpp.

Member Function Documentation

◆ operator()()

template<typename intType >
size_t GrayCodeHash_base< intType >::operator() ( const GrayCode_base< intType > &  key) const
inline

Operator to generate hash key for class instance PicState_base<intType>

Parameters
keyAn instance of class PicState
Returns
Returns with the calculated hash value.

Definition at line 57 of file GrayCodeHash_base.hpp.

Here is the call graph for this function:

The documentation for this class was generated from the following file: