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¶
-
Update the
Executor
interface:- A new method,
Executor.execute
, wraps bothExecutor.execute_quantum_program
andExecutor.execute_generated_circuit
. (Both functions are still available.) - A new method,
GeneratedCircuit.to_program
, allows automatic generation of aQuantumProgram
object according to synthesis data. Manual generation is still available. See Quantum Program Formats.
- A new method,
-
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
andPreferences
objects, respectively, before passing to the model designer in the Python SDK. Synthesis Preferences, Model Constraints. -
When the model created is parametrized, the default output of the OpenQASM is OpenQASM3.
New Features¶
- Add optional arithmetic simplifications,
activated by
Arithmetic.simplify
of theArithmeticOracle.simplify
argument. See Arithmetic Expression. - Inputs to the arithmetic function are available as outputs (if not overridden). See Arithmetic Expression.
- Add Hamiltonian Variational Ansatz. See HVA.
- Add option to give a modified Hamiltonian to GroundStateSolver. See customize the hamiltonian.
- 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.
- Add standard deviation to VQE output. See GroundStateResult.
Bug Fixes¶
- Fix a bug when indexing/slicing the inputs/outputs of a composite function.