Skip to content

0.14.0

Upgrade Instructions

Deprecation Notice

The documentation 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. Update the Executor interface:

    1. A new method, Executor.execute, wraps both Executor.execute_quantum_program and Executor.execute_generated_circuit. (Both functions are still available.)
    2. A new method, GeneratedCircuit.to_program, allows automatic generation of a QuantumProgram object according to synthesis data. Manual generation is still available. See Quantum Program Formats.
  2. Update the model designing interface:

    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 passing to the model designer in the Python SDK. Synthesis Preferences, Model Constraints.

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

New Features

  1. Add optional arithmetic simplifications, activated by Arithmetic.simplify of the ArithmeticOracle.simplify argument. See Arithmetic Expression.
  2. Inputs to the arithmetic function are 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 a hardware comparison table to the analyzer SDK that compares 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 when indexing/slicing the inputs/outputs of a composite function.