0.14.0
Upgrade Instructions¶
- Python SDK
- VS Code Extension - deprecated. Use IDE instead.
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:- Add a new method,
Executor.execute
, to wrap bothExecutor.execute_quantum_program
andExecutor.execute_generated_circuit
. (Both functions are still available.) - Add a new method,
GeneratedCircuit.to_program
, to allow automatic generation of aQuantumProgram
object according to synthesis data. Manual generation is still available.
- Add 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. - Make inputs to the arithmetic function available as outputs (if not overridden). See Arithmetic Expression.
- Add Hamiltonian Variational Ansatz. See HVA.
- Add the option to give a modified Hamiltonian to
GroundStateSolver
. - Add a hardware comparison table to the analyzer SDK that compares transpiled circuits on different hardware. Choose among between IBM Quantum, AWS Braket, and Azure Quantum. 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.