Delta

class qdflow.util.distribution.Delta(value)

Bases: Distribution[T], Generic[T]

A delta-function distribution which always returns value.

Parameters:

value (T) – The value that the delta-function distribution should return.

__init__(value)

Methods

draw(rng[, size])

Draws one or more samples from the distribution.