Upgrade Instructions
- Python SDK
- The IDE upgrades automatically.
Interface Changes
- The
controlandquantum_ifstatements have been unified into one statement in native Qmod and the SDK under the namecontrol.- SDK: The unified
controlstatement accepts a qbit (q), a q-array (qbv), or a comparison of a qnum and an integer (n == 5) as the first argument. - SDK: The old
controlsyntax (withctrlas the second argument) is deprecated and will be removed in the next release. - SDK: The
quantum_ifoperator is deprecated and will be removed in the next release. - Native Qmod:
quantum_ifis no longer supported, use the newcontrolstatement instead.
- SDK: The unified
- SDK: The
QParamandArraytypes are deprecated and will be removed in the next release.- Instead of
QParam[int], useCInt. - Instead of
QParam[float], useCReal. - Instead of
QParam[bool], useCBool. - Instead of
QParam[List[...]], useCArray[...]. - Instead of
QParam[Array[..., size]], useCArray[..., size].
- Instead of
- SDK: Using Python types (
int,bool, etc.) in struct declarations (@struct) is deprecated and will not be supported by the next release. Instead, use classical data types (CInt,CBool, etc., see above). - Default timeout for sending jobs to AWS changed from 5 minutes to 4 hours.
Deprecations
- The error mitigation settings in the execution preferences are no longer available.
- The
aer_simulatorbackend has been removed. Use Classiq’s simulator backend instead (ClassiqSimulatorBackendNames.SIMULATOR).
Enhancements
- Improved error messages.
Bug fixes
- Fixed a bug preventing execution of circuits synthesized with hardware aware synthesis on Azure and IonQ.