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.