Digit# class discopy.quantum.circuit.Digit(dim, z=0)[source]# Bases: Ob A digit is a classical unit of information. Parameters: dim (int) – The dimension of the digit, e.g. 2 for bits. Examples >>> assert bit.inside == (Digit(2),)