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

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