Classiq

Latest version: v0.58.1

Safety actively analyzes 682244 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 2 of 4

0.51.0

Released on 2024-09-29.

Upgrade Instructions

- [Python SDK](../classiq_101/registration_installations.md/platform-version-updates)
- The IDE upgrades automatically.

Notice

- With the release of version `0.52` (scheduled for the week of 06-12.10.2024),
execution with older SDK versions might result in errors or unexpected behavior.
In order to make sure executions of your quantum programs via the SDK work properly
upgrade your SDK to the latest version (See instructions guide above).

Enhancements

1. Improve qubit reuse in arithmetic operations when `machine_precision` is set.
2. Improve error messages when executing circuits on Amazon Braket.
3. Improve error messages when executing the VQE primitive.
4. Support constant assignments: `x |= 3`, `x ^= 3`, and `x += 3`.

Bug Fixes

1. Fix in-place XOR assignments (`^=`) of 1-qubit expressions into multi-qubit
variables (used to raise an error).

SDK

1. Add a new function, `quantum_program_from_qasm`, to convert a QASM string into a Quantum Program.

0.50.0

Released on 2024-09-23.

Upgrade Instructions

- [Python SDK](../classiq_101/registration_installations.md/platform-version-updates)
- The IDE upgrades automatically.

Notice

- With the release of version `0.52` (scheduled for the week of 06-12.10.2024),
execution with older SDK versions might result in errors or unexpected behavior.
In order to make sure executions of your quantum programs via the SDK work properly
upgrade your SDK to the latest version (See instructions guide above).

0.49.0

Released on 2024-09-16.

Upgrade Instructions

- [Python SDK](../classiq_101/registration_installations.md/platform-version-updates)
- The IDE upgrades automatically.

Notice

- With the release of version `0.52` (scheduled for the week of 06-12.10.2024),
execution with older SDK versions might result in errors or unexpected behavior.
In order to make sure executions of your quantum programs via the SDK work properly
upgrade your SDK to the latest version (See instructions guide above).

Bug Fixes

1. Raise indicative error when circuit cannot be visualized.
2. Fixed synthesis of arithmetic operations nested in a within-apply statement
when `machine_precision` is set.

0.48.0

Released on 2024-09-10.

Upgrade Instructions

- [Python SDK](../classiq_101/registration_installations.md/platform-version-updates)
- The IDE upgrades automatically.

<!-- cspell:ignore significand -->

Enhancements

1. Improved error messages.
2. Added `SIGNED` and `UNSIGNED` built-in constants to improve readability of
QNum types. SDK: `QNum[4, SIGNED, 1]`. Native: `qnum<4, SIGNED, 1>`.
3. `QNum` types can specify just the size property. SDK: `QNum[4]` and
`QNum("n", 4)`. Native: `qnum<4>`. Such types are unsigned
(`is_signed=False`) integers (`fraction_digits=0`) by default.
4. Execution on remote providers is no longer subject to any time limit when using `ExecutionSession`
or executing models without classical execution code. Note: simulation on Classiq backends is still subject to time limit.
5. In-place add operations (`inplace_add`) now support signed variables.

Bug Fixes

1. Fixed an operand-related bug. Might occur when calling a function recursively
in one of its operands (for example: `foo(lambda: foo(...))`).
2. Fixed an expression-related bug. Might occur when using the same variable
in multiple expressions.
3. Fixed in-place XOR operations (`^=` / `inplace_xor`) in the presence of
signed variables. The sign variable is now interpreted as part of the
significand without special treatment.
4. Fixed synthesis of arithmetic operations nested in a within-apply statement.

Interface Changes

1. SDK: Deprecated parameter names in built-in operations were removed.
- `control(ctrl=..., operand=...)` => `control(ctrl=..., stmt_block=...)`
- `within_apply(compute=..., action=...)` => `within_apply(within=..., apply=...)`
- `power(power=..., operand=...)` => `power(exponent=..., stmt_block=...)`
- `invert(operand=)` => `invert(stmt_block=...)`

Library Additions

1. Added a [new notebook](../../explore/algorithms/differential_equations/hhl_jungle/hhl_jungle/) for solving the Differential equation using the HHL Algorithm, to simulate war games.

0.47.0

Upgrade Instructions

- [Python SDK](../classiq_101/registration_installations.md/platform-version-updates)
- The IDE upgrades automatically.

Enhancements

1. Cancelling an execution job will now result in cancellation of any ongoing jobs sent to the provider during the execution. For more information, see [Cancellation](../user-guide/executor/index.mdcancellation).

Library and Documentation

1. A new tutorial on the Oblivious Amplitude Amplification algorithm was added.

SDK

1. The Classiq SDK now supports Python 3.12.

0.46.0

Upgrade Instructions

- [Python SDK](../classiq_101/registration_installations.md/platform-version-updates)
- The IDE upgrades automatically.

Enhancements

1. Improve synthesis performance in unconstrained large models by lowering circuit width via qubit recycling.

Deprecations

1. The Classiq SDK will drop support for Python 3.8 near its end-of-life on October 2024.

Page 2 of 4

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.