qiskit.providers.ibmq.runtime.ParameterNamespace¶
-
class
ParameterNamespace
(params)[source]¶ A namespace for program parameters with validation.
This class provides a namespace for program parameters with auto-completion and validation support.
ParameterNamespace constructor.
- Parameters
params (
List
[ProgramParameter
]) – The program’s input parameters.
-
__init__
(params)[source]¶ ParameterNamespace constructor.
- Parameters
params (
List
[ProgramParameter
]) – The program’s input parameters.
Methods
__init__
(params)ParameterNamespace constructor.
validate
()Validate program input values.
Attributes
Returns the parameter metadata
-
property
metadata
¶ Returns the parameter metadata
- Return type
List
[ProgramParameter
]