docs: def cdim(self):
          """Circuit dimension (sum of dimensions of the operands)"""
          if self._cdim is None:
              self._cdim = sum((circuit.cdim for circuit in self.operands))
          return self._cdim