ControlledGate.num_ctrl_qubits

property ControlledGate.num_ctrl_qubits

Get number of control qubits.

Returns

The number of control qubits for the gate.

Return type

int