qiskit-documentation/docs/api/qiskit/0.35/qiskit.ignis.verification.Q...

28 lines
825 B
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: QOTPCorrectCounts
description: API reference for qiskit.ignis.verification.QOTPCorrectCounts
in_page_toc_min_heading_level: 1
python_api_type: function
python_api_name: qiskit.ignis.verification.QOTPCorrectCounts
---
# qiskit.ignis.verification.QOTPCorrectCounts
<Function id="qiskit.ignis.verification.QOTPCorrectCounts" isDedicatedPage={true} github="https://github.com/qiskit-community/qiskit-ignis/tree/stable/0.7/qiskit/ignis/verification/accreditation/qotp.py" signature="QOTPCorrectCounts(qotp_counts, qotp_postp)">
Corrects a dictionary of results, shifting the qotp
**Parameters**
* **qotp\_counts** (*dict*) a dict of exp counts
* **qotp\_postp** (*list*) a binary list denoting the one time pad
**Returns**
the corrected counts dict
**Return type**
dict
</Function>