View on GitHub
Open this notebook in GitHub to run it yourself
QNum variables.
- Optimizing over depth and constraining the maximal width to 10 qubits.
- Optimizing over depth and constraining the maximal width to 12 qubits.
Output:
Output:
Change the quantum model constraint to treat the second scenario for optimizing over depth and constraining the maximal width to 12 qubits:
Output:
Output: