Skip to content

0.21.0

Upgrade Instructions

Interface Changes

  1. Rename ModelDesigner to Model in the Python SDK.
  2. Slight modifications to the structure of the synthesis result (GeneratedCircuit)
    • The qubit_count attribute is now accessed via data.width
    • The qubit mappings are now available under the data.qubit_mapping attribute. For example, accessing the physical_input_qubit_mapping is now done via data.qubit_mapping.phsyical_inputs
  3. Rename the following interface objects:
    • FunctionData -> FunctionDefinition
    • CompositeFunctionData -> NativeFunctionDefinition
    • ElementaryFunctionData -> ForeignFunctionDefinition
    • CompositeFunctionGenerator -> FunctionGenerator
    • FunctionGenerator.to_function_data -> FunctionGenerator.to_function_definition
    • custom_inputs -> input_decls
    • custom_outputs -> output_decls
  4. Change user defined functions name to be passed by the function field of a function call.
    • In textual model files the function field in the logic_flow of any user defined function should reference the functions name, and not CustomFunction.
    • CustomFunction object no longer has a name field.
    • PhaseEstimation function on user defined functions must pass the name of the function through the unitary field.
  5. FunctionLibraryData and FunctionLibrary changes:
    • FunctionLibraryData.function_dict field removed, function definitions are now supplied only via the functions field.
    • Added FunctionLibraryData.add_function_definition method to support adding functions to the library.
    • FunctionLibrary.remove_function is removed.
  6. Limit Request with large qubits number on aer_simulator

Enhancements

  1. Add new state preparation functions:
    1. UniformDistributionStatePreparation
    2. BellStatePreparation
    3. WStatePreparation

IDE

  1. Additional information in the INFO tab, including total number of single and two qubit operations in the circuit.
  2. New jobs page, contains all submitted jobs and their associated results.
  3. Hardware targets, and simulators, can be selected from the IDE.
  4. The connectivity map of each QPU is shown and can be interactively explored.