QNLP  v1.0
GateCache.hpp File Reference
#include <unordered_map>
#include <unordered_set>
#include <complex>
#include <cassert>
#include <utility>
#include <vector>
#include <iostream>
#include <functional>
#include <cmath>
#include <limits>
#include "mat_ops.hpp"
Include dependency graph for GateCache.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  QNLP::GateMetaData
 Meta container object for gate caching. More...
 
struct  QNLP::GateMetaDataHasher
 Hashing function for GateMetaData objects, to allow storage in unordered_map. Taken from default docs example. More...
 
class  QNLP::GateCache< SimulatorType >
 Class to cache intermediate matrix values used within other parts of the computation. Heavily depended upon by NCU to store sqrt matrix values following Barenco et al. (1995) decomposition. More...
 

Namespaces

 QNLP
 

Functions

template<class fpType >
bool QNLP::fpComp (fpType theta0, fpType theta1)
 Comparison of floating point values within the given machine epsilon. More...