Skip to content

Releases: Classiq/classiq-library

Classiq 0.80.0

19 May 13:40

Choose a tag to compare

Released on 2025-05-19.

Upgrade Instructions

Enhancements

  1. Value range analysis of arithmetic expressions is now generalized to apply
    across statements, optimizing quantum variables sizes and arithmetic expressions
    implementation in more cases.

  2. Quantum functions inside a control statement get a c- prefix

  3. Added the functions prepare_dicke_state and prepare_dicke_state_unary_input.

  4. 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.

  5. Include classiq.execution in the top level classiq package in the SDK.

    Old:

    from classiq.execution import ExecutionPreferences
    

    New:

    from classiq import ExecutionPreferences
    
  6. allocate now
    supports specifying numeric attributes of the allocated variable.

Classiq 0.79.1

15 May 13:02

Choose a tag to compare

Released on 2025-05-15.

Upgrade Instructions

Bug Fixes

  1. Fix a system bug that caused execution jobs to fail with an "insufficient
    resources" message.
  2. Fix a bug related to execution parameters.

Classiq 0.79.0

12 May 15:17

Choose a tag to compare

Upgrade Instructions

Enhancements

  1. Value range analysis of arithmetic expressions is now generalized to apply
    across statements, optimizing quantum variables sizes and arithmetic expressions
    implementation in more cases.

Classiq 0.78.0

07 May 09:07

Choose a tag to compare

Released on 2025-05-05.

Upgrade Instructions

Enhancements

  1. A new IQAE application has been added to the SDK. It allows you to define iqae problems in terms of Qmod function,
    and directly estimate the amplitude of the state you prepared.

    IQAE application Descriptions

    It is recommended to use this application in iqae problems, rather than cmain
    with the primitive iqae.

Bug Fixes

  1. Fixed an issue where the “Basic” view was always empty; it now correctly renders the circuit as intended.
  2. Fixed bugs causing several example models to not be supported in the "New" circuit visualization, including "Shor's Algorithm Modular Exponentiation".

Classiq 0.77.0

30 Apr 08:20

Choose a tag to compare

Released on 2025-04-28.

Upgrade Instructions

Enhancements

  1. In Qmod's Python embedding, you can now declare quantum functions with classical parameters
    of Python builtin types such as int, float, and list. These variables can be
    used in expressions that require Python values, such as Python for loops and 3rd party
    library functions, as is shown in the example below. See more on this under the new
    reference page on
    Generative Descriptions

    @qfunc
    def rotate(ratio: float, qa: QArray[QBit]):
        for i in range(qa.len):  # 'qa.len' is a Python integer
            PHASE(math.asin(ratio * i), qa[i])  # 'ratio*2' evaluates to a Python float

Interface Changes

  1. With Enhancement 1 described above, Python-type parameters supersede classical Qmod-type parameters
    in generative functions. Hence, the use of the function decorator @qfunc(generative=True)
    is no longer required. Qmod-type parameters are treated symbolically in Python, and their
    use in Python expressions is deprecated.

Classiq IDE

  1. Improved UX in Quantum program visualization: collapsing a Quantum operation block will scroll the viewport into the parent operation block position

Classiq 0.76.0

23 Apr 15:11

Choose a tag to compare

Released on 2025-04-21.

Upgrade Instructions

Enhancements

  1. It is now legal to out-of-place assign
    to a variable whose declared size is larger than the minimal size required to
    fit the range of possible expression values.

Interface Changes

  1. The function synthesize now returns an object of type QuantumProgram, and its fields can be accessed directly.
    The type SerailizedQuantumProgram and method QuantumProgram.get_qprog are no longer needed, they are deprecated and will be removed in a future version.

  2. Email Service Update - We've replaced the Community button with a new
    dropdown menu.
    Users can now select "Contact Us", which opens a form.
    Once the form is submitted with user details, an email is sent directly to Classiq.

  3. Layout Fixes - Resolved an issue with inconsistent padding across the layout to ensure a cleaner, more polished UI.

  4. Enhanced Sharing Options - In addition to existing platforms, users can now share content to LinkedIn and Reddit with a single click.

Classiq 0.75.0

08 Apr 13:44

Choose a tag to compare

Released on 2025-04-08.

Upgrade Instructions

Classiq Studio Updates

Added a new command reset-user-env to reset the virtual environment to its default state
helping resolve dependency issues and clean up installations.

Classiq IDE

Added a "User Terms" button inside the IDE website at the bottom of the screen, and clicking on it opens a modal displaying our user terms.

Enhancements

When estimating using the ClassiqSimulatorBackendNames.SIMULATOR_STATEVECTOR backend,
whether using the ExecutionSession or classical main, compute the expectation
value directly from the state vector instead of running shots.

Classiq 0.74.0

31 Mar 13:06

Choose a tag to compare

Released on 2025-03-31.

Upgrade Instructions

Interface Changes

  1. The functions construct_qsvm_model, construct_finance_model, and
    construct_grover_model have been removed from the SDK.
    Check out our Qmod implementations of the QSVM, finance, and Grover
    algorithms on the Classiq library.

Enhancements

  • QuantumProgram objects have been optimized to be significantly leaner, improving performance across all actions that handle them.
  • Visualizing Quantum Programs is now significantly faster.
Quantum Program Visualization
  • Auto-expand QMOD statements without expressions (e.g. power).
    image
  • Statements with quantum expressions now display their corresponding expression directly on the block.
    image

classiq 0.73.0

25 Mar 12:20

Choose a tag to compare

Released on 2025-03-24.

Upgrade Instructions

Interface Changes

  1. The functions construct_qsvm_model, construct_finance_model, and
    construct_grover_model have been removed from the SDK.
    Check out our Qmod implementations of the QSVM, finance, and Grover
    algorithms in the Classiq library.

Enhancements

  1. Hardware-aware synthesis is now available for Garnet target through Amazon Braket.
  2. Enhanced the performance of execution jobs polling mechanism.
  3. Added validation for max qubit count for Nvidia backend.

Classiq 0.72.0

19 Mar 09:43

Choose a tag to compare

Released on 2025-03-18.

Upgrade Instructions

Enhancements

  1. Add new execution backends BRAKET_NVIDIA_SIMULATOR and BRAKET_NVIDIA_SIMULATOR_STATEVECTOR. These simulators run on Amazon Braket's infrastructure and provide faster execution for single circuits. See Execution on Classiq Backends for more information.
  2. Improve prepare_amplitudes and prepare_state performance for bound=0.
  3. Add RESET, an atomic function that resets a qubit to the |0> state.
  4. Intel simulator is now available as a backend for execution. See Cloud Providers section in the user guide.