Skip to content

0.9.1

Interface Changes

  1. The classiq_interface package was deprecated. To install Classiq's Python SDK, use only:
    pip install -U classiq
    
  2. The classiq_interface namespace migrated to classiq.interface. Please update your code to use

    from classiq.interface import *
    
    Instead of:

    from classiq_interface import *
    
    For example, with the updated namespace:

    from classiq.interface.generator.state_preparation import (
        PMF,
        Metrics,
        NonNegativeFloatRange,
    )
    
    And not from classiq_interface.generator.state_preparation import.

  3. Renaming the "method" parameter to "uncomputation_method".
  4. CombinatorialOptimization.solve() returns an OptimizationResult object.
  5. The input field atoms in the class Molecule is modified to be a list of atoms each containing the string of the atom's symbol and a tuple of its (x,y,z) location; for example atoms=[('H', (0.0, 0.0, 0.0)), ('H', (0.0, 0.0, 0.735))]. For more information see Chemistry.
  6. We added an option to provide custom basis gate list to the model, which will be used to compose the functions. For more details, please review the circuit synthesis documentation: Circuit Synthesis (Hardware Settings).

New Features

  1. Allows to enter optimization problem with custom lower bound, including negative integer number.
  2. The analyzer now supports cirq format as input.
  3. There is a documentation page about the Modulo operation, explaining the operation and how to use it. It is located under User Guide / Builtin functions / Arithmetic.
  4. Users can now determine the name of a specific instance of a function, in order to distinguish between multiple calls to the same function.