qiskit-documentation/docs/api/qiskit/0.35/qiskit.providers.ibmq.runti...

57 lines
1.5 KiB
Plaintext
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

---
title: ParameterNamespace
description: API reference for qiskit.providers.ibmq.runtime.ParameterNamespace
in_page_toc_min_heading_level: 1
python_api_type: class
python_api_name: qiskit.providers.ibmq.runtime.ParameterNamespace
---
# ParameterNamespace
<Class id="qiskit.providers.ibmq.runtime.ParameterNamespace" isDedicatedPage={true} github="https://github.com/qiskit/qiskit-ibmq-provider/tree/stable/0.18/qiskit/providers/ibmq/runtime/runtime_program.py" signature="ParameterNamespace(parameters)" modifiers="class">
Bases: `types.SimpleNamespace`
A namespace for program parameters with validation.
This class provides a namespace for program parameters with auto-completion and validation support.
ParameterNamespace constructor.
**Parameters**
**parameters** (`Dict`) The programs input parameters.
## Methods
### validate
<Function id="qiskit.providers.ibmq.runtime.ParameterNamespace.validate" signature="ParameterNamespace.validate()">
Validate program input values.
<Admonition title="Note" type="note">
This method only verifies that required parameters have values. It does not fail the validation if the namespace has extraneous parameters.
</Admonition>
**Raises**
**IBMQInputValueError** if validation fails
**Return type**
`None`
</Function>
## Attributes
### metadata
<Attribute id="qiskit.providers.ibmq.runtime.ParameterNamespace.metadata">
Returns the parameter metadata
**Return type**
`Dict`
</Attribute>
</Class>