Skip to content
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

Add note about setting fractional gates flag #1737

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

kaelynj
Copy link
Collaborator

@kaelynj kaelynj commented Jul 18, 2024

Closes #1527

Currently blocked by #1734 which will need to be merged before CI passes.

Utilizing fractional gates is a flag that is set when requesting a backend from a QiskitRuntimeService() instance and there didn't appear to be a clear page for a flag to be explained. I ended up adding it as an admonition to the "get started with primitives" page.

@kaelynj kaelynj requested a review from javabster July 18, 2024 16:38
@qiskit-bot
Copy link
Contributor

Thanks for contributing to Qiskit documentation!

Before your PR can be merged, it will first need to pass continuous integration tests and be reviewed. Sometimes the review process can be slow, so please be patient. Thanks! 🙌

One or more of the following people are relevant to this code:

@jyu00
Copy link
Collaborator

jyu00 commented Jul 18, 2024

Note that the rollout of fractional gate has been delayed to August. So perhaps we want to hold on to this update until a later time.

@kaelynj
Copy link
Collaborator Author

kaelynj commented Jul 22, 2024

Note that the rollout of fractional gate has been delayed to August. So perhaps we want to hold on to this update until a later time.

Yeah we'll put this on hold until the fractional gates are released.

@@ -23,6 +23,15 @@ service = QiskitRuntimeService(channel="ibm_cloud", channel_strategy="q-ctrl")
While this documentation uses the primitives from Qiskit Runtime, which allow you to use IBM® backends, the primitives can be run on any provider by using the [backend primitives](#backend) instead. Additionally, you can use the *reference* primitives to run on a local statevector simulator. See [Exact simulation with Qiskit primitives](simulate-with-qiskit-sdk-primitives) for details.
</Admonition>


<Admonition type="note" title="Using Fractional Gates">
If you wish to use the newly supported [fractional gates](./fractional-gates), you will need to set `use_fractional_gates=True` when requesting a backend from a `QiskitRuntimeService` instance. For example:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's worth saying this behavior might change in the future.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Blocked
Development

Successfully merging this pull request may close these issues.

update runtime options page(s) to include fractional gates flag
5 participants