Skip to content

Conversation

@ritajitmajumdar1
Copy link
Contributor

Summary

add introduction to primitives tutorial

Details and comments

Quite a few of my friends send me queries regarding Qiskit. The common thing which I gather from their queries is the inability to utilise the capabilities of primitives effectively. Therefore I created this notebook to walk them through the steps

  • using SamplerV2 for obtaining probability distribution,

  • manually finding expectation values with SamplerV2, and its disadvantages,

  • calculating multiple expectation values for one circuit using EstimatorV2,

  • calculating the expectation value of a linear combination of observables using EstimatorV2,

  • making isa compatible circuits and observables for running on real/fake backends

These information are all available in Qiskit documentation. I summarised them for the ease of understanding of beginners. Putting this notebook here in case this is useful for anyone (or any workshop).

@ritajitmajumdar1 ritajitmajumdar1 added PL-4 Priority level 4/5 → Medium-low notebook Notebook improvements or additions labels May 2, 2024
@ritajitmajumdar1 ritajitmajumdar1 self-assigned this May 2, 2024
@coveralls
Copy link

Pull Request Test Coverage Report for Build 8917363438

Details

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage remained the same at 100.0%

Totals Coverage Status
Change from base Build 8906390959: 0.0%
Covered Lines: 290
Relevant Lines: 290

💛 - Coveralls

@CLAassistant
Copy link

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

notebook Notebook improvements or additions PL-4 Priority level 4/5 → Medium-low

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants