<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def all_qubits(self) -> FrozenSet[ops.Qid]: """Returns the qubits acted upon by Operations in this circuit."""

        return frozenset(q for m in self._moments for q in m.qubits)