Normal

class qdflow.util.distribution.Normal(mean, stdev)

Bases: Distribution[float]

A normal distribution with the specified mean and standard deviation.

Parameters:
  • mean (float) – The mean of the normal distribution.

  • stdev (float) – The standard deviation of the normal distribution.

__init__(mean, stdev)

Methods

draw(rng[, size])

Draws one or more samples from the distribution.