Ob# class discopy.quantum.circuit.Ob(name, dim=2, z=0)[source]# Bases: discopy.frobenius.Ob A circuit object is an information unit with some dimension dim > 1. Parameters: name (str) – The name of the object, e.g. "bit" or "qubit". dim – The dimension of the object, e.g. 2 for bits and qubits. Note This class can only be instantiated via its subclasses Digit and Qudit, but feel free to open a pull-request if you discover a third kind of information unit.