-
Notifications
You must be signed in to change notification settings - Fork 2.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update README.md to include sampler and estimator #10584
Conversation
One or more of the the following people are requested to review this:
|
Pull Request Test Coverage Report for Build 5880933220
💛 - Coveralls |
README.md
Outdated
@@ -1,11 +1,11 @@ | |||
# Qiskit Terra | |||
[![License](https://img.shields.io/github/license/Qiskit/qiskit-terra.svg?style=popout-square)](https://opensource.org/licenses/Apache-2.0)<!--- long-description-skip-begin -->[![Release](https://img.shields.io/github/release/Qiskit/qiskit-terra.svg?style=popout-square)](https://github.com/Qiskit/qiskit-terra/releases)[![Downloads](https://img.shields.io/pypi/dm/qiskit-terra.svg?style=popout-square)](https://pypi.org/project/qiskit-terra/)[![Coverage Status](https://coveralls.io/repos/github/Qiskit/qiskit-terra/badge.svg?branch=main)](https://coveralls.io/github/Qiskit/qiskit-terra?branch=main)[![Minimum rustc 1.64.0](https://img.shields.io/badge/rustc-1.64.0+-blue.svg)](https://rust-lang.github.io/rfcs/2495-min-rust-version.html)<!--- long-description-skip-end --> | |||
|
|||
**Qiskit** is an open-source framework for working with noisy quantum computers at the level of pulses, circuits, and algorithms. | |||
**Qiskit** is an open-source SDK for working with quantum computers at the level of extended quantum circuits, operators, and functions. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
extended quantum circuits
: I suspect this meansdynamic quantum circuits
(or justdynamic circuits
). Otherwise, I'm unsure about its meaning. I quick search in the documentation did not helpoperators
: Maybe this can link to https://qiskit.org/documentation/stubs/qiskit.quantum_info.Operator.html ?functions
: Without context, this word is too generic. Suggestion:quantum primitives
or justprimitives
? I prefer the first one as it is less generic.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We defined the extend quantum circuit in the openqasm and yes I agree we have lost this (I am not sure what version removed it) and we need to bring it back. It does includes dynamics etc. The good news is it is still in the description of qiskit.
Operators is the default way for working with quantum observables. They are an operator and we can call it quantum operators is you need (but there is too many quantums)
Functions are just the primitives and I want to keep it general you can put a quantum function there if need be.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
See the definition of "extended quantum circuits" here: https://arxiv.org/abs/2104.14722 (second paragraph of the introduction).
Linking to the Operator docs in quantum_info would be fine, but the terms is unlikely to be confused with other meanings of "operator" in this context.
@jaygambetta's use of "functions" is perhaps novel. Can we just say "primitives" for now?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Im good with primitives but I do feel we need to own the visions of quantum functions as we go forward.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
how do I edit it to primitives in the web version of GitHub. I see that I could just commit your other changes?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done.
Labeling as |
Co-authored-by: Blake Johnson <[email protected]>
Co-authored-by: Blake Johnson <[email protected]>
Co-authored-by: Blake Johnson <[email protected]>
Co-authored-by: Blake Johnson <[email protected]>
Co-authored-by: Blake Johnson <[email protected]>
Co-authored-by: Blake Johnson <[email protected]>
Co-authored-by: Blake Johnson <[email protected]>
Co-authored-by: Blake Johnson <[email protected]>
Co-authored-by: Blake Johnson <[email protected]>
Co-authored-by: Blake Johnson <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ready to merge. The rest of the open discussions can be followed in independent issues.
Co-authored-by: Blake Johnson <[email protected]>
Co-authored-by: Matthew Treinish <[email protected]>
We need a code owner to reapprove to merge. |
|
||
This framework allows for building, transforming, and visualizing quantum circuits. It also contains a compiler that supports | ||
different quantum computers and a common interface for running programs on different quantum computer architectures. | ||
This library is the core component of Qiskit, which contains the building blocks for creating and working with quantum circuits, quantum operators, and primitive functions (sampler and estimator). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This library is the core component of Qiskit, which contains the building blocks for creating and working with quantum circuits, quantum operators, and primitive functions (sampler and estimator). | |
This library is the core component of Qiskit, which contains the building blocks for creating and working with quantum circuits, quantum operators, and primitive functions (Sampler and Estimator). |
This framework allows for building, transforming, and visualizing quantum circuits. It also contains a compiler that supports | ||
different quantum computers and a common interface for running programs on different quantum computer architectures. | ||
This library is the core component of Qiskit, which contains the building blocks for creating and working with quantum circuits, quantum operators, and primitive functions (sampler and estimator). | ||
It also contains a transpiler that supports optimizing quantum circuits and a quantum information toolbox for creating advanced quantum operators. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Any chance at least one of these "quantum"s in this sentence isn't necessary?
and see if you can achieve this outcome. (Spoiler alert: this is not possible!) | ||
|
||
Using the Qiskit-provided `qiskit.primitives.Sampler` and `qiskit.primitives.Estimator` will not take you very far. The power of quantum computing cannot be simulated | ||
on classical computers and you need to use real quantum hardware to scale to larger quantum circuits. However, running a quantum |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
on classical computers and you need to use real quantum hardware to scale to larger quantum circuits. However, running a quantum | |
on classical computers; you need real quantum hardware to scale to larger quantum circuits. However, running a quantum |
|
||
Using the Qiskit-provided `qiskit.primitives.Sampler` and `qiskit.primitives.Estimator` will not take you very far. The power of quantum computing cannot be simulated | ||
on classical computers and you need to use real quantum hardware to scale to larger quantum circuits. However, running a quantum | ||
circuit on hardware requires rewriting them to the basis gates and connectivity of the quantum hardware. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
circuit on hardware requires rewriting them to the basis gates and connectivity of the quantum hardware. | |
circuit on hardware requires rewriting to the basis gates and connectivity of the quantum hardware. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
(the "them" was a little ambiguous but reads ok when just removing it)
|
||
```python | ||
{'00': 513, '11': 511} | ||
from qiskit import transpile | ||
qc_transpiled = transpile(qc_example, basis_gates = ['cz', 'sx', 'rz'], coupling_map =[[0, 1], [1, 2]] , optimization_level=3) | ||
``` | ||
|
||
For further examples of using Qiskit you can look at the tutorials in the documentation here: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For further examples of using Qiskit you can look at the tutorials in the documentation here: | |
For further examples, visit the tutorials in the documentation here: |
@abbycross this is now merged, so perhaps open a new PR with your edits? |
Will do -- I guess it wasn't kidding when it said it would auto-merge once all requirements are met 😆 |
* Update README.md to include sampler and estimator * Update README.md * Update README.md * Update README.md Co-authored-by: Blake Johnson <[email protected]> * Update README.md Co-authored-by: Blake Johnson <[email protected]> * Update README.md Co-authored-by: Blake Johnson <[email protected]> * Update README.md Co-authored-by: Blake Johnson <[email protected]> * Update README.md Co-authored-by: Blake Johnson <[email protected]> * Update README.md Co-authored-by: Blake Johnson <[email protected]> * Update README.md Co-authored-by: Blake Johnson <[email protected]> * Update README.md Co-authored-by: Blake Johnson <[email protected]> * Update README.md Co-authored-by: Blake Johnson <[email protected]> * Update README.md Co-authored-by: Blake Johnson <[email protected]> * Update README.md Co-authored-by: Blake Johnson <[email protected]> * Update README.md Co-authored-by: Blake Johnson <[email protected]> * Update README.md * Update README.md * Update README.md Co-authored-by: Blake Johnson <[email protected]> * Update README.md Co-authored-by: Abby Mitchell <[email protected]> * Update README.md Co-authored-by: abbycross <[email protected]> * Update README.md Co-authored-by: abbycross <[email protected]> * Update README.md Co-authored-by: abbycross <[email protected]> * Update README.md Co-authored-by: abbycross <[email protected]> * Update README.md Co-authored-by: abbycross <[email protected]> * Update README.md Co-authored-by: abbycross <[email protected]> * Update README.md Co-authored-by: abbycross <[email protected]> * Update README.md Co-authored-by: abbycross <[email protected]> * Update README.md Co-authored-by: abbycross <[email protected]> * Update README.md Co-authored-by: abbycross <[email protected]> * Update README.md Co-authored-by: abbycross <[email protected]> * Update README.md Co-authored-by: abbycross <[email protected]> * Update README.md Co-authored-by: abbycross <[email protected]> * Update README.md Co-authored-by: abbycross <[email protected]> * Update README.md Co-authored-by: abbycross <[email protected]> * Update README.md Co-authored-by: Luciano Bello <[email protected]> * Update README.md * Update README.md * Update README.md Co-authored-by: Luciano Bello <[email protected]> * Update README.md Co-authored-by: Luciano Bello <[email protected]> * Update README.md Co-authored-by: Luciano Bello <[email protected]> * Update README.md Co-authored-by: Luciano Bello <[email protected]> * Update README.md Co-authored-by: Luciano Bello <[email protected]> * Update README.md Co-authored-by: Luciano Bello <[email protected]> * Update README.md Co-authored-by: Luciano Bello <[email protected]> * Update README.md Co-authored-by: Luciano Bello <[email protected]> * Update README.md Co-authored-by: Luciano Bello <[email protected]> * Update README.md Co-authored-by: Blake Johnson <[email protected]> * Update README.md Co-authored-by: Abby Mitchell <[email protected]> * Update README.md Co-authored-by: Luciano Bello <[email protected]> * Apply suggestions from code review Co-authored-by: Matthew Treinish <[email protected]> * Apply suggestions from code review * new example * Update README.md Co-authored-by: Blake Johnson <[email protected]> * Update README.md Co-authored-by: Matthew Treinish <[email protected]> --------- Co-authored-by: Blake Johnson <[email protected]> Co-authored-by: Abby Mitchell <[email protected]> Co-authored-by: abbycross <[email protected]> Co-authored-by: Luciano Bello <[email protected]> Co-authored-by: Matthew Treinish <[email protected]>
Summary
Details and comments