'The total number of qubits this gate acts on.
For controlled gate subclasses this includes both target and control
qubits, so that, for examples the CNOT gate acts on 2 qubits.'

@property
def nqubits(self):

    return len(self.targets)
