add_instance#
- ExecutableBlock.add_instance(instance: ManagedInstance, execution_options: ExecutionOption) None#
Add instance with execution options.
- Parameters:
- instance
ManagedInstance Managed instance.
- execution_options
ExecutionOption Execution options.
- instance
- Raises:
ValueErrorIf an instance with the same uid already exists in the block.
ValueErrorIf adding a managed parametric system when one already exists in the block.