arguments
¶
MultiManager - Arguments (qurry.qurrium.multimanager.arguments
)
- class qurry.qurrium.multimanager.arguments.MultiCommonparams(summoner_id: str, summoner_name: str, tags: list[str], shots: int, backend: Backend | str, save_location: Path, export_location: Path, files: dict[str, str | dict[str, str]], jobstype: Literal['local', 'IBMQ', 'IBM', 'IBMRuntime', 'Qulacs', 'AWS_Bracket', 'Azure_Q'], pending_strategy: Literal['onetime', 'each', 'tags'], manager_run_args: BaseRunArgs | dict[str, Any], datetimes: DatetimeDict)[source]¶
Multiple jobs shared. argsMultiMain in V4 format.
- classmethod build(raw_multiconfig: MultiCommonparamsRawdDict | dict[str, Any]) tuple[MultiCommonparams, dict[str, Any]] [source]¶
Build MultiCommonparams from rawread file.
- datetimes: DatetimeDict¶
Alias for field number 11
- static default_value() MultiCommonparamsDict [source]¶
These default value are used for autofill the missing value.
- export_location: Path¶
Location of exporting experiment, export_location is the final result decided by experiment.
- jobstype: Literal['local', 'IBMQ', 'IBM', 'IBMRuntime', 'Qulacs', 'AWS_Bracket', 'Azure_Q']¶
Type of jobs to run multiple experiments. - jobstype: “local”, “IBMQ”, “IBM”, “AWS_Bracket”, “Azure_Q”
- manager_run_args: BaseRunArgs | dict[str, Any]¶
Other arguments will be passed to IBMQJobManager()
- pending_strategy: Literal['onetime', 'each', 'tags']¶
Type of pending strategy. - pendingStrategy: “default”, “onetime”, “each”, “tags”
- classmethod rawread(mutlticonfig_name: Path | str, save_location: Path | str, export_location: Path | str) MultiCommonparamsRawdDict | dict[str, Any] [source]¶
Build MultiCommonparams from rawread file.
- Parameters:
- Returns:
- Union[
MultiCommonparamsRawreadDict, dict[str, Any]
]: The MultiCommonparams in dictionary format.
- class qurry.qurrium.multimanager.arguments.MultiCommonparamsDict[source]¶
Default values for MultiCommonparams.
- class qurry.qurrium.multimanager.arguments.MultiCommonparamsRawdDict[source]¶
Default values for MultiCommonparamsRawread.
- qurry.qurrium.multimanager.arguments.PENDING_STRATEGY: list[Literal['onetime', 'each', 'tags']] = ['onetime', 'each', 'tags']¶
List of pending strategy.
- qurry.qurrium.multimanager.arguments.PENDING_TARGET_PROVIDER: list[Literal['local', 'IBMQ', 'IBM', 'IBMRuntime', 'Qulacs', 'AWS_Bracket', 'Azure_Q']] = ['IBMQ', 'IBM', 'IBMRuntime']¶
List of backend provider.
- qurry.qurrium.multimanager.arguments.PendingStrategyLiteral¶
Type of pending strategy.
alias of
Literal
[‘onetime’, ‘each’, ‘tags’]
- qurry.qurrium.multimanager.arguments.PendingTargetProviderLiteral¶
Type of backend provider.
alias of
Literal
[‘local’, ‘IBMQ’, ‘IBM’, ‘IBMRuntime’, ‘Qulacs’, ‘AWS_Bracket’, ‘Azure_Q’]
- qurry.qurrium.multimanager.arguments.v5_to_v7_field_transpose(rawread_multiconfig: dict[str, Any]) dict[str, Any] [source]¶
Transpose the field name of V5 format to V7 format.
- Parameters:
rawread_multiconfig (dict[str, Any]) – The field name of :cls:`MultiCommonparams` in V5 format.
- Returns:
The field name of :cls:`MultiCommonparams` in V7 format.
- Return type: