QuISP
Loading...
Searching...
No Matches
UtilFunctions.h File Reference
#include <iostream>
#include <map>
#include "backends/interfaces/IRandomNumberGenerator.h"
Include dependency graph for UtilFunctions.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  quisp
 
namespace  quisp::util_functions
 

Functions

template<typename Label >
Label quisp::util_functions::samplingWithWeights (std::map< Label, double > weights, double rand)