Skip to content

Add average_gate_fidelity, gate_error, and modify process_fidelity functions#3660

Merged
ajavadia merged 7 commits into
Qiskit:masterfrom
chriseclectic:average_gate_fidelity
Jan 21, 2020
Merged

Add average_gate_fidelity, gate_error, and modify process_fidelity functions#3660
ajavadia merged 7 commits into
Qiskit:masterfrom
chriseclectic:average_gate_fidelity

Conversation

@chriseclectic
Copy link
Copy Markdown
Member

Summary

  • Added average_gate_fidelity and gate_error function for operators
  • Update process_fidelity to requires target channel to be an Operator or None
    if target is None F computed wrt identity operator.
  • Deprecated require_cptp kwarg for process_fidelity
  • Added require_cp and require_tp kwargs for process_fidelity
    with defaults True and False

Details and comments

Comment thread qiskit/quantum_info/__init__.py Outdated
@ajavadia
Copy link
Copy Markdown
Member

can you add a couple tests and a release note

ajavadia
ajavadia previously approved these changes Dec 31, 2019
chriseclectic and others added 6 commits January 3, 2020 14:47
* Added ``average_gate_fidelity`` and ``gate_error`` function for operators
* ``process_fidelity`` requires target channel to be Operator or None
if target is None F computed wrt identity operator.
* Deprecated ``require_cptp`` kwarg for ``process_fidelity``
* Added ``require_cp`` and ``require_tp`` kwargs for ``process_fidelity``
with defaults True and False
@ajavadia ajavadia merged commit 13bc243 into Qiskit:master Jan 21, 2020
@kdk kdk added the Changelog: Added Add an "Added" entry in the GitHub Release changelog. label Feb 4, 2020
@chriseclectic chriseclectic deleted the average_gate_fidelity branch February 18, 2020 18:49
faisaldebouni pushed a commit to faisaldebouni/qiskit-terra that referenced this pull request Aug 5, 2020
…idelity`` functions (Qiskit#3660)

* add average_gate_fidelity, gate_error, and modify process_fidelity

* Added ``average_gate_fidelity`` and ``gate_error`` function for operators
* ``process_fidelity`` requires target channel to be Operator or None
if target is None F computed wrt identity operator.
* Deprecated ``require_cptp`` kwarg for ``process_fidelity``
* Added ``require_cp`` and ``require_tp`` kwargs for ``process_fidelity``
with defaults True and False

* typo

* update documentation

* add tests

* add release note

* linting

Co-authored-by: Ali Javadi-Abhari <ajavadia@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Changelog: Added Add an "Added" entry in the GitHub Release changelog.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants