unitaria.Increment

class unitaria.Increment(*, bits: int = None)[source]

Bases: Classical

Node implementing the (wrapping) increment of an integer.

Parameters:

bits – The size of the quantum state. The increment is performed modulo 2 ** bits.