WeightedAdder.num_ancilla_qubits

property WeightedAdder.num_ancilla_qubits: int

The number of ancilla qubits required to implement the weighted sum.

Return type

int

Returns

The number of ancilla qubits in the circuit.