qiskit-documentation/docs/api/qiskit/0.31/measurement.mdx

31 lines
2.4 KiB
Plaintext
Raw Permalink Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

---
title: measurement (v0.31)
description: API reference for qiskit.ignis.measurement in qiskit v0.31
in_page_toc_min_heading_level: 2
python_api_type: module
python_api_name: qiskit.ignis.measurement
---
<span id="module-qiskit.ignis.measurement" />
<span id="qiskit-ignis-measurement" />
<span id="measurement-qiskit-ignis-measurement" />
# Measurement
`qiskit.ignis.measurement`
## Discriminator
The discriminators are used to to discriminate level one data into level two counts.
| | |
| -------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- |
| [`DiscriminationFilter`](qiskit.ignis.measurement.DiscriminationFilter "qiskit.ignis.measurement.DiscriminationFilter")(discriminator\[, base]) | Implements a filter based on a discriminator that takes level 1 data to level 2 data. |
| [`IQDiscriminationFitter`](qiskit.ignis.measurement.IQDiscriminationFitter "qiskit.ignis.measurement.IQDiscriminationFitter")(cal\_results, qubit\_mask) | Abstract discriminator that implements the data formatting for IQ level 1 data. |
| [`LinearIQDiscriminator`](qiskit.ignis.measurement.LinearIQDiscriminator "qiskit.ignis.measurement.LinearIQDiscriminator")(cal\_results, qubit\_mask) | Linear discriminant analysis discriminator for IQ data. |
| [`QuadraticIQDiscriminator`](qiskit.ignis.measurement.QuadraticIQDiscriminator "qiskit.ignis.measurement.QuadraticIQDiscriminator")(cal\_results, qubit\_mask) | Quadratic discriminant analysis discriminator for IQ data. |
| [`SklearnIQDiscriminator`](qiskit.ignis.measurement.SklearnIQDiscriminator "qiskit.ignis.measurement.SklearnIQDiscriminator")(classifier, …\[, …]) | A generic discriminant analysis discriminator for IQ data that takes an sklearn classifier as an argument. |