34 noiseModel::Diagonal::shared_ptr
model_;
40 typedef boost::shared_ptr<Sampler> shared_ptr;
51 explicit Sampler(
const noiseModel::Diagonal::shared_ptr& model,
52 uint_fast64_t seed = 42u);
60 explicit Sampler(
const Vector& sigmas, uint_fast64_t seed = 42u);
71 Vector sigmas()
const {
73 return model_->sigmas();
76 const noiseModel::Diagonal::shared_ptr& model()
const {
return model_; }
83 Vector sample()
const;
89 Vector sampleDiagonal(
const Vector& sigmas)
const;
Global functions in a separate testing namespace.
Definition: chartTesting.h:28
Sampling structure that keeps internal random number generators for diagonal distributions specified ...
Definition: Sampler.h:31
noiseModel::Diagonal::shared_ptr model_
noiseModel created at generation
Definition: Sampler.h:34
std::mt19937_64 generator_
generator
Definition: Sampler.h:37