Skip to main contentIBM Quantum Documentation
You are viewing the API reference for an old version of Qiskit SDK. Switch to latest version

Models and Schemas

qiskit.validation


Base

BaseModel([validate])Base class for Models for validated Qiskit classes.
BaseSchema(*[, only, exclude, many, …])Base class for Schemas for validated Qiskit classes.
bind_schema(schema, **kwargs)Class decorator for adding schema validation to its instances.
ModelTypeValidator(*[, load_default, …])A field able to validate the correct type of a value.

Exceptions

ModelValidationError(message[, field_name, …])Raised when a sequence subscript is out of range.
Was this page helpful?