Skip to content

0.14.0

Upgrade Instructions

Deprecation notice

The documentation has been moved from https://classiquantum.com/reference to https://docs.classiq.io. Currently, the old URL redirects to the new one, but it is deprecated and will be disabled soon.

Interface Changes

  1. The Executor interface has been updated.

    1. A new method, Executor.execute, has been introduced, which now wraps both Executor.execute_quantum_program and Executor.execute_generated_circuit (both functions are still available)
    2. A new method, GeneratedCircuit.to_program, has been introduced, allowing automatic generation of a QuantumProgram object according to synthesis data. Manual generation is still available, see Quantum Program Formats
  2. The model designing interface has been updated. The model constraints and preferences are now specified explicitly in separate fields in the VSCode extension, or constructed as Constraints and Preferences objects, respectively, before being passed to the model designer in the Python's SDK. Synthesis Preferences, Model Constraints

  3. When the model created is parametrized the default output of the OpenQASM will be OpenQASM3

New Features

  1. Add optional arithmetic simplifications, activated by Arithmetic.simplify of ArithmeticOracle.simplify argument. See Arithmetic Expression.
  2. Inputs to the arithmetic function may now be available as outputs (if not overridden). See Arithmetic Expression.
  3. Add Hamiltonian Variational Ansatz, see HVA
  4. Add option to give a modified hamiltonian to GroundStateSolver, see customize the hamiltonian
  5. Add to the analyzer sdk a hardware comparison table that compares between transpiled circuits on different hardware. The user can choose between IBM Quantum, AWS Braket, and Azure Quantum and the table includes the depth, multi-qubit gate, count and total gate count.
  6. Add standard deviation to VQE output, see GroundStateResult

Bug Fixes

  1. Fix a bug in indexing/slicing of the inputs/outputs of a composite function