0.21.0
Upgrade Instructions
Interface Changes
Rename ModelDesigner
to Model
in the Python SDK.
Slightly modify the structure of the synthesis result (GeneratedCircuit
):
Access the qubit_count
attribute via data.width
Find the qubit mappings under the data.qubit_mapping
attribute;
for example, access the physical_input_qubit_mapping
via
data.qubit_mapping.phsyical_inputs
Rename these 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 how the function field of a function call passes the user-defined function name:
In textual model files, reference the function name in the function
field in the logic_flow
of any
user-defined function, instead of CustomFunction
.
Remove the name
field in the CustomFunction
object.
In user-defined functions, pass the name of the function through the unitary
field in the PhaseEstimation
function.
Change FunctionLibraryData
and FunctionLibrary
:
Remove the FunctionLibraryData.function_dict
field; supply function definitions only via the functions
field
Add the FunctionLibraryData.add_function_definition
method for adding functions to the library
Remove FunctionLibrary.remove_function
Limit requests with a large number of qubits on aer_simulator
.
Enhancements
Add new state preparation functions:
IDE
Add information in the INFO tab including the total number of single and two qubit operations in the circuit.
Add jobs page containing all submitted jobs and their associated results.
Select hardware targets and simulators from the IDE.
Display and interactively explore the connectivity map of each QPU.
Back to top