Tutorials
Libraries
API References
qiskit.aqua
qiskit.chemistry
qiskit.finance
qiskit.ml
qiskit.optimization
Troubleshooting
Returns the total number of variables or the number of variables of the specified type.
vartype (Optional[VarType]) – The type to be filtered on. All variables are counted if None.
Optional
VarType
int
The total number of variables.