0 80 0
Released on 2025-05-19.
Upgrade Instructions
- Python SDK
- The IDE upgrades automatically.
Enhancements
-
Value range analysis of arithmetic expressions is now generalized to apply across statements, optimizing quantum variables sizes and arithmetic expressions implementation in more cases.
-
Quantum functions inside a control statement get a
c-
prefix -
Added the functions
prepare_dicke_state
andprepare_dicke_state_unary_input
. -
A new exponentiation function, sparse_suzuki_trotter, has been added to the core library, performing Suzuki-Trotter decomposition using a sparse representation of the Hamiltonian. It is recommended to use this function instead of
suzuki_trotter
when you handle a sparse Hamiltonian, as it is more efficient. -
Include
classiq.execution
in the top levelclassiq
package in the SDK.Old:
from classiq.execution import ExecutionPreferences
New:
from classiq import ExecutionPreferences
-
allocate
now supports specifying numeric attributes of the allocated variable.