WeightedAdder.num_carry_qubits¶
- property WeightedAdder.num_carry_qubits: int¶
The number of carry qubits required to compute the sum.
Note that this is not necessarily equal to the number of ancilla qubits, these can be queried using
num_ancilla_qubits
.- Return type
int
- Returns
The number of carry qubits required to compute the sum.