0.21.0
Upgrade Instructions
Interface Changes
Rename ModelDesigner
to Model
in the Python SDK.
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
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
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.
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.
Limit Request with large qubits number on aer_simulator
Enhancements
Add new state preparation functions:
UniformDistributionStatePreparation
BellStatePreparation
WStatePreparation
IDE
Additional information in the INFO tab, including total number of single and two qubit operations in the circuit.
New jobs page, contains all submitted jobs and their associated results.
Hardware targets, and simulators, can be selected from the IDE.
The connectivity map of each QPU is shown and can be interactively explored.
Back to top