0.24.0
Upgrade Instructions¶
- Python SDK.
- The IDE upgrades automatically.
Enhancements¶
- Add a negation function. See Negation.
- Add a bitwise invert function. See BitwiseInvert.
Interface Changes¶
- Rename the
s3_buckey_key
parameter inAwsBackendPreferences
tos3_folder
. See AWS Backend. - Add default values for the IBM Provider credentials that refer to the IBM open-access quantum systems. See IBM Backend.
- Remove the
show_interactive
method. Useshow
instead. - Rename the
Model.logic_flow
andNativeFunctionDefinition.logic_flow
attributes tobody
. - Set the arithmetic expression result name to
"expression_result"
, instead of setting it via theoutput_name
field. See Arithmetic Expression. - Replace the
Model.function_library
property withModel.functions
, which is identical toModel.function_library.functions
. - Add a function that constructs the model for the QSVM application. See QSVM.
- Do not create
interactive_html
during synthesis. Use the IDE instead. - Add a
show
function that gets the generated circuit. See Circuit Visualization Tool.
IDE Changes¶
- When executing circuits through IDE, vendor credentials such as IBM access token can now be saved in your native browser password manager for your next runs.
- Controlled functions like the ones that appear in StatePreparation and QPE now have controlled visualization (like MCX or CX).
- The registers for controlled gates do not appear merged, but do have names on the wires.
- Tutorials on the Basics & Advanced pages are now downloadable as Jupyter notebooks.
- The circuit visualization now supports auxiliary registers. See Registers.
Deprecations¶
- Stop support for Python 3.7, starting with version 0.25.
- Remove the
FunctionLibraryData
class. - Remove
name
fromFunctionLibrary
. -
These objects in the SDK are set for deprecation in a future release:
GroundStateSolver
CombinatorialOptimization
CombinatorialOptimizer
QAOAPreferences
QSVM