Commit Graph

1120 Commits

Author SHA1 Message Date
Syed Farhan Ahmad f340811de1 Qiskit Services through REST APIs under `docs/run` section (#1492)
Added a new menu `Qiskit Runtime through REST APIs` under the `docs/run`
section to cater to the API-only IBM Quantum partners.

**Menu structure (all using REST APIs only):**
- Initialize account and setup tokens
- Qiskit Transpiler Service
- Working with Sampler Primitive
- Working with Estimator Primitive
- Run jobs in different Execution modes

@pacomf @johannesgreiner @Bagherpoor

---------

Co-authored-by: ABBY CROSS <across@us.ibm.com>
2024-07-10 17:09:17 +00:00
Eric Arellano e86afc7db6 Add script to statically build PR previews (#1680)
Part of https://github.com/Qiskit/documentation/issues/1043. 

The new `scripts/pr-previews/builder.py` file builds a static copy of
the site using the Git branch's current copy of the docs, then writes
the static files to the folder specified, like
`scripts/pr-previews/builder.py pr-reviews/90`. The static site can then
be served with a simple server like `python3 -m http.server` or GitHub
Pages.

The script takes 57 seconds on my MacBook Pro.

## Docker auth

The script expects that the Docker image for the static builder can be
accessed via `docker pull`, i.e. that you already have authentication
and everything. For now, I'm using a local copy of the Docker image.
Once the new image is published, we'll switch to the Container Registry
copy. Setting up Container Registry will be handled in the GitHub
Action, rather than this script.

## GitHub pages in a follow up

I wanted to keep the GitHub Pages logic separate. This script only
worries about how to build the static website to a given folder. Another
script will deal with GitHub Pages.

## Skips building API docs

The API docs are huge and take substantial time to build. For example, a
trace shows that Runtime release notes take 10s (although that is not
considering the build's parallelism).

The content writers agreed they don't look at API docs in PR previews,
so they'd rather have faster PR previews than have the API docs loaded
in them.
2024-07-10 16:59:12 +00:00
Frank Harkins 8819a813c5 Resize image for compatibility with learning platform (#1679)
Resizes an image down 50% so the learning platform can display it.
2024-07-10 15:57:16 +00:00
Eric Arellano 101e4181e8 Reduce file size of `custom-backend.ipynb` (#1673)
Before:

```
304K   ├── pulse.ipynb                                 │                                                                      ███ │   4%
496K   ├── common-parameters.ipynb                     │                                                                    █████ │   6%
564K   ├── dynamical-decoupling-pass-manager.ipynb     │                                                                   ██████ │   7%
972K   ├── represent-quantum-computers.ipynb           │                                                                █████████ │  12%
3.1M   ├── custom-backend.ipynb                        │                                            █████████████████████████████ │  40%
7.7M ┌─┴ guides                                        │█████████████████████████████████████████████████████████████████████████ │ 100%
```

After:

```
304K   ├── pulse.ipynb                                 │                                                                    █████ │   6%
372K   ├── custom-backend.ipynb                        │                                                                   ██████ │   7%
496K   ├── common-parameters.ipynb                     │                                                                 ████████ │  10%
564K   ├── dynamical-decoupling-pass-manager.ipynb     │                                                                █████████ │  11%
972K   ├── represent-quantum-computers.ipynb           │                                                           ██████████████ │  19%
5.0M ┌─┴ guides                                        │█████████████████████████████████████████████████████████████████████████ │ 100%
```

That is, `custom-backend.ipynb` used to be 3.1MB and made up 40% of the
guides/ folder size! This size has downsides:

* Makes the page slower for users to download, especially on slow
Internet
* Slows down our app's build. This file was causing the new PR previews
to time out

This is addressed by:

* Using PNGs in this file rather than PNGs, as they end up being much
smaller and the detail of the SVG isn't critical in this file
* Removing the last diagram, which is not necessary according to Kaelyn
and Kevin
* Making the second-to-last diagram much smaller. Kaelyn and Kevin
explained that the "vibe" of the image is more important than the actual
details - people won't read the diagram closely
2024-07-10 12:34:26 +00:00
Eric Arellano 5706804ba4 Extract markdown reading into dedicated file (#1666)
We're going to reuse this logic in
https://github.com/Qiskit/documentation/issues/1651, so it's helpful to
have in a common helper file.
2024-07-10 12:23:59 +00:00
Frank Harkins 735b1d6542 More QAOA notebook fixes (#1676)
We've found some more problems in the QAOA notebook after second review.
You may find it easier to review this commit-wise.

* Bit embarassed about this, but there were still two attached images in
the QAOA notebook, which are not supported by the learning platform. The
file no longer contains the string "attach" so there shouldn't be any
more.
* The `<details>` tag appeared to work, but on closer inspection it
turns out it was mangling the markdown inside the tag. I've replaced it
with a blockquote to visually separate it from the rest of the page.
* Some other minor formatting I noticed when reviewing the page.
2024-07-10 12:08:48 +00:00
Eric Arellano 458ff1f778 Fix markdown link extraction (#1675)
In Jupyter notebooks, we weren't correctly detecting headers if the
markdown section right above it ended in `</Admonition`. This broke CI
in https://github.com/Qiskit/documentation/pull/1673.
2024-07-10 11:54:59 +00:00
Frank Harkins f6859c64c0 More QAOA tutorial fixes (#1669)
A couple of issues slipped past in #1668.

- Minor formatting fix which was breaking math
- Removed image attachments as they aren't handled by the learning
platform. I saved the first image to file, I also had to reduce its
resolution by 50%. The other attachment was literally just text so I
transcribed it into a code block as an accessibility best practice.
2024-07-09 16:09:21 +00:00
Frank Harkins d8810687d0 Remove non-existent notebook from test list (#1658)
I think this was left in by accident
2024-07-09 12:44:27 +00:00
Frank Harkins 77499115c9 Fix formatting in new QAOA tutorial (#1668)
Fixes a number of formatting problems in the new tutorial that became
apparent after previewing on staging. I've uploaded the this fixed
notebook to staging. To view, go to
`<staging-url>/tutorial/quantum-approximate-optimization-algorithm`.

## Changes

* **Wrap math in `$$` and remove `align`:** The learning platform
requires `$$` to recognize math. I believe Jupyter notebooks are more
forgiving which is why this probably didn't cause any problems in
review. I also removed the `align` environment because it's for aligning
lines of equations and we only have one line at a time.
* **Removed HTML:** The learning platform doesn't support HTML, it
either gets stripped or escaped. I've replaced any HTML with the closest
standard markdown.
* **Replaced top-level headings:** All top-level headings are stripped
by the learning platform and replaced with the title from the CMS. In
general, it's best practice to only have one top-level heading anyway.
* Ran linter on the notebook.
2024-07-09 10:40:29 +00:00
Frank Harkins 0dabb0559d Rewrite learning uploader (#1421)
The requirements for the learning uploader have changed since it was
first created.

It was originally intended to be used locally by writers to quickly push
content to the platform. I wrote it in Python so writers would not need
to install node, and using string manipulations to interact with the
REST API was good enough for just uploading the zip and linking the new
file. It also included functionality for a writer to log into the
database through a CLI.

Now, the uploader is only used in CI, so we don't care about logging in
or sticking to Python, and we want to be able to do more complex
manipulations such as adding new lessons and changing metadata. For this
reason, this PR rewrites the uploader using the official [Directus
SDK](https://docs.directus.io/guides/sdk/), which makes interacting with
the API a lot easier.

---------

Co-authored-by: Eric Arellano <14852634+Eric-Arellano@users.noreply.github.com>
Co-authored-by: Arnau Casau <47946624+arnaucasau@users.noreply.github.com>
Co-authored-by: Abby Mitchell <23662430+javabster@users.noreply.github.com>
2024-07-09 09:36:21 +00:00
Rebecca Dimock 70eeb39195 Ensure all images have alt text (#1664)
closes #1659

---------

Co-authored-by: Eric Arellano <14852634+Eric-Arellano@users.noreply.github.com>
2024-07-08 18:13:55 +00:00
Mirko Amico 8b02455828 Utility scale QAOA tutorial (#1238)
Adds a new tutorial for QAOA with code for running experiment at utility
scale. All dependencies from Application modules are removed

---------

Co-authored-by: ABBY CROSS <across@us.ibm.com>
Co-authored-by: Kaelyn Ferris <43348706+kaelynj@users.noreply.github.com>
2024-07-08 11:04:30 -04:00
Luciano Bello 3299bbdcfe Explain QPY support in install#release-schedule (#1563)
Qiskit contract with respect of QPY is kind of strong and deserves an
explanation. Adding it to
https://docs.quantum.ibm.com/start/install#release-schedule
2024-07-08 14:54:43 +00:00
dependabot[bot] 5e2f3f29ee Update qiskit-ibm-runtime requirement from ~=0.24.1 to ~=0.25.0 in /scripts/nb-tester (#1652)
Updates the requirements on
[qiskit-ibm-runtime](https://github.com/Qiskit/qiskit-ibm-runtime) to
permit the latest version.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/Qiskit/qiskit-ibm-runtime/releases">qiskit-ibm-runtime's
releases</a>.</em></p>
<blockquote>
<h2>Qiskit IBM Runtime 0.25.0</h2>
<h1>Changelog</h1>
<h2>Deprecated</h2>
<ul>
<li>Deprecate interim results (<a
href="https://redirect.github.com/Qiskit/qiskit-ibm-runtime/issues/1776">#1776</a>)</li>
<li>Deprecate optimization_level (<a
href="https://redirect.github.com/Qiskit/qiskit-ibm-runtime/issues/1748">#1748</a>)</li>
</ul>
<h2>Added</h2>
<ul>
<li>Add instance property to job (<a
href="https://redirect.github.com/Qiskit/qiskit-ibm-runtime/issues/1771">#1771</a>)</li>
<li>Support <code>default_shots</code> in EstimatorV2 local mode (<a
href="https://redirect.github.com/Qiskit/qiskit-ibm-runtime/issues/1773">#1773</a>)</li>
<li>Adding backend related methods to
<code>QiskitRuntimeLocalService</code> (<a
href="https://redirect.github.com/Qiskit/qiskit-ibm-runtime/issues/1764">#1764</a>)</li>
<li>Add client-side validations (<a
href="https://redirect.github.com/Qiskit/qiskit-ibm-runtime/issues/1730">#1730</a>)</li>
<li>Add refresh method to fake backends (<a
href="https://redirect.github.com/Qiskit/qiskit-ibm-runtime/issues/1740">#1740</a>)</li>
</ul>
<h2>Removed</h2>
<ul>
<li>Backend required param when using cloud channel (<a
href="https://redirect.github.com/Qiskit/qiskit-ibm-runtime/issues/1739">#1739</a>)</li>
</ul>
<h2>Fixed</h2>
<ul>
<li>Change use_fractional_gates default to False (<a
href="https://redirect.github.com/Qiskit/qiskit-ibm-runtime/issues/1755">#1755</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="9abf8411a4"><code>9abf841</code></a>
Prepare release 0.25.0 (<a
href="https://redirect.github.com/Qiskit/qiskit-ibm-runtime/issues/1785">#1785</a>)</li>
<li><a
href="040f8af7cf"><code>040f8af</code></a>
Set _active flag to false if session already closed (<a
href="https://redirect.github.com/Qiskit/qiskit-ibm-runtime/issues/1780">#1780</a>)</li>
<li><a
href="c607150241"><code>c607150</code></a>
Use polling for job status instead of websockets (<a
href="https://redirect.github.com/Qiskit/qiskit-ibm-runtime/issues/1778">#1778</a>)</li>
<li><a
href="b6865b4a3e"><code>b6865b4</code></a>
Deprecate interim results (<a
href="https://redirect.github.com/Qiskit/qiskit-ibm-runtime/issues/1776">#1776</a>)</li>
<li><a
href="21e3ba6ed9"><code>21e3ba6</code></a>
Skip job instance test on cloud (<a
href="https://redirect.github.com/Qiskit/qiskit-ibm-runtime/issues/1779">#1779</a>)</li>
<li><a
href="10b21f4f22"><code>10b21f4</code></a>
Add instance property to job (<a
href="https://redirect.github.com/Qiskit/qiskit-ibm-runtime/issues/1771">#1771</a>)</li>
<li><a
href="b01a1b6339"><code>b01a1b6</code></a>
Support <code>default_shots</code> in EstimatorV2 local mode (<a
href="https://redirect.github.com/Qiskit/qiskit-ibm-runtime/issues/1773">#1773</a>)</li>
<li><a
href="17749b8958"><code>17749b8</code></a>
Improve save_account() error msg (<a
href="https://redirect.github.com/Qiskit/qiskit-ibm-runtime/issues/1772">#1772</a>)</li>
<li><a
href="42bcec40f7"><code>42bcec4</code></a>
Adding backend related methods to <code>QiskitRuntimeLocalService</code>
(<a
href="https://redirect.github.com/Qiskit/qiskit-ibm-runtime/issues/1764">#1764</a>)</li>
<li><a
href="eea7df4b3d"><code>eea7df4</code></a>
Fixing the docstring of <code>Batch</code> (<a
href="https://redirect.github.com/Qiskit/qiskit-ibm-runtime/issues/1761">#1761</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/Qiskit/qiskit-ibm-runtime/compare/0.24.1...0.25.0">compare
view</a></li>
</ul>
</details>
<br />


Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)


</details>

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Frank Harkins <frankharkins@hotmail.co.uk>
2024-07-05 16:40:18 +00:00
Eric Arellano 1eb88dd710 Remove patterns migration scripts (#1637) 2024-07-05 01:56:25 +00:00
Eric Arellano 57be75e335 Clean up containers for local previews (#1657)
This reduces resource usage. Otherwise you have to manually clean up
containers.
2024-07-05 01:56:19 +00:00
Eric Arellano 3548427f09 Generate Runtime 0.25 docs (#1656) 2024-07-04 17:35:35 +00:00
Eric Arellano 37f38d4570 Fix Qiskit Bot not checking migration guides (#1646)
Co-authored-by: Rebecca Dimock <66339736+beckykd@users.noreply.github.com>
2024-07-04 17:35:22 +00:00
Eric Arellano e8d3efa5a0 Remove README entry about Composer component (#1655)
This component is unused and being removed.
2024-07-04 14:40:14 +00:00
Arnau Casau 405917f9b7 Complete guides reorg To-Do (#1653)
This PR finishes with all the To-Do we had from the guides reorg
2024-07-04 13:18:58 +00:00
Rebecca Dimock 810ff1b8d8 Deprecation of WebSocket endpoints (#1625)
closes #1622

---------

Co-authored-by: abbycross <across@us.ibm.com>
Co-authored-by: Eric Arellano <14852634+Eric-Arellano@users.noreply.github.com>
2024-07-03 15:32:49 -04:00
abbycross a35ef07c95 Add r2 to Heron entry in processor-types file (#1648)
Text from the hardware team:



    HeronR2:

This is a revision of our original Heron processor. The chip has been
redesigned to now include 156 qubits in a heavy-hexagonal lattice. While
continuing to make use of the innovations of the original Heron systems,
it also introduces a new TLS mitigation feature that controls the TLS
environment of the chip, thereby improving coherence and stability
across the whole chip.

---------

Co-authored-by: Rebecca Dimock <66339736+beckykd@users.noreply.github.com>
2024-07-03 14:54:38 -04:00
Eric Arellano 8d3fdafa04 Don't use "system" with docs reorg (#1647)
We'll update the redirect rules in closed source.

The page content will be updated in a follow up. For now, we need to get
the URLs and left ToC right to unblock the migration.

---------

Co-authored-by: Abby Mitchell <23662430+javabster@users.noreply.github.com>
2024-07-02 15:50:08 -04:00
Eric Arellano cfeeb72e2f Fix ToC title in guides reorg (#1636) 2024-07-02 12:18:27 -04:00
Eric Arellano 9a68dc18d8 Update SVGs for patterns (#1635) 2024-07-02 12:11:55 -04:00
Abby Mitchell a2a9638933 Switched nature for qbraid in ecosystem intro (#1634) 2024-07-02 11:51:42 -04:00
Arnau Casau 14656154f6 Docs reorganization: Guides (#1631)
This PR adds the new `guides/` folder with all the new docs, updates the
qiskit bot config, and removes the old folders `start/`, `build/`,
`transpiler/`, `verify/`, and `run/`

Commands used:
```bash
./scripts/patterns-reorg/update_internal_links.py
./scripts/patterns-reorg/update_qiskit_bot.py
./scripts/patterns-reorg/main.py --delete-existing
npm run fmt
```
2024-07-02 11:17:38 -04:00
Arnau Casau e4bf9d7684 Rewrite migration-guides whitespaces (#1632)
Prework of https://github.com/Qiskit/documentation/pull/1631.

This PR rewrites the files `qiskit-runtime-examples.mdx` and
`qiskit-runtime.mdx` to reduce the git diff of #1631
2024-07-02 11:09:07 -04:00
Arnau Casau e095d04409 Fix custom-transpiler-pass notebook (#1633)
The `custom-transpiler-pass.ipynb` notebook was using a
[deprecated](https://numpy.org/devdocs/release/1.25.0-notes.html#deprecations)
numpy function called `alltrue`. This PR changes the notebook to use
instead the function `all`.

In this
[CI](https://github.com/Qiskit/documentation/actions/runs/9762810433/job/26947134720?pr=1631)
run you can find the notebook failing because of the deprecation.
2024-07-02 11:00:42 -04:00
Arnau Casau 2b116d85f2 Fix patterns scripts (#1630)
This PR fixes our scripts to update the qiskit bot config file and the
validation script for the pattern index pages
2024-07-02 14:15:00 +00:00
Eric Arellano 45e4dbc643 Tweak redirects for runtime options pages (#1626)
Prep for https://github.com/Qiskit/documentation/pull/1499. 

* `/configure-runtime-compilation` will become
`/configure-error-suppression`.
* `/advanced-runtime-options` is being deleted and replaced with
`/runtime-options-overview`, which isn't necessarily the same content.
Still, it costs us nothing to do a redirect; it avoids a 404 for users
and keeps our SEO we've built up for the page.

I didn't update the page titles yet, which will be done in
https://github.com/Qiskit/documentation/pull/1499. We only need to get
the URLs right here because those are hard to change.
2024-07-01 18:47:11 +00:00
Arnau Casau 0f7c280f22 Remove the right ToC from the patterns Intro page (#1614)
This PR sets `in_page_toc_show` to `false` to the front matter of the
patterns Intro page in order to remove the right ToC.
2024-06-28 13:10:59 +00:00
Arnau Casau 795135727b Update SVGs for patterns pages (#1606)
This PR updates the SVGs for the patterns pages.
2024-06-27 16:56:03 +00:00
Arnau Casau b74c5174ab Fix `update_internal_links` script (#1605)
This PR fixes the `update_internal_links.py` script that was broken
because we changed the `redirects.json` file to have a different style.
2024-06-27 16:56:00 +00:00
Arnau Casau 5974f70e21 Fix broken link (#1604)
This PR fixes a broken link in the intro-to-patterns page
2024-06-27 16:15:24 +00:00
abbycross 96c3157061 update the latest updates page (#1596)
bring in the latest blog and the newest docs updates. 
Also closes https://github.com/Qiskit/documentation/issues/1597 to use
reverse chronological order for the Runtime service updates.
2024-06-27 15:08:12 +00:00
Arnau Casau 679617cc5d Organize guides images (#1600)
Part of #154

This PR, following the idea of this
[comment](https://github.com/Qiskit/documentation/issues/154#issuecomment-2104751884),
moves all the images in the folders `start`, `build`, `transpile`,
`verify`, and `run` to a new folder called `guides`, updating all the
docs to point to that new folder.

To change the links, I used the following script that updates all but 3
links that are missed by the regex. I changed them manually.

<details>
<summary>Script</summary>

```python
from __future__ import annotations
import re
import glob
from pathlib import Path
from main import OLD_FOLDERS

def update_link(markdown: str, image_folder: str, link: str) -> str:
    new_link = link.replace(f"/images/{image_folder}/", "/images/guides/")
    return markdown.replace(link, new_link)

def main() -> None:
    inline_link_re = re.compile(r"\!\[([^\]]+)\]\(([^)]+)\)")

    for folder in [*OLD_FOLDERS, "api/migration-guides"]:
        image_folder = folder if folder != "api/migration-guides" else "run"
        for file_path in glob.glob(f"docs/{folder}/*"):
            file = Path(file_path)
            markdown = file.read_text()
            new_markdown = re.sub(
                inline_link_re,
                lambda m: update_link(m[0], image_folder, m[2]),
                markdown,
            )
            if markdown != new_markdown:
                file.write_text(new_markdown)

if __name__ == "__main__":
    main()
```
</details>
2024-06-27 14:55:39 +00:00
Eric Arellano 6c4332c4b8 Remove PR previews for now (#1595)
Part of https://github.com/Qiskit/documentation/issues/1043. Code Engine
is shut down tomorrow, so we need to turn off previews for now.

We're still working on what the replacement is. Once that's ready, we'll
revive whichever of these files are relevant.
2024-06-26 19:26:03 +00:00
Arnau Casau 7a3029dab2 Update patterns redirects file (#1594)
The PR updates the `scripts/patterns-reorg/redirects.json` file to a
more convenient format that aligns better with our middleware. Having
the `/` at the beginning of the old paths and the `/guides/` prefix in
the new paths will allow us to have a more generic redirect file that
could be used in the future for different URLs than patterns, and it
will help us to set the redirects with a simpler logic.

e.g., `url.pathname = REDIRECTS[url.pathname]`

The PR also adds a missing redirect for `/start/latest-updates`.
2024-06-26 19:24:39 +00:00
Eric Arellano 14c0363958 Use new Docker image for previews (#1590)
We removed the remote refresh mechanism from the previews, so port 5001
is no longer relevant.

We also can now use the Dockerhub image for both `./start` and IBM Code
Engine PR previews, so we can be consistent and stop using the IBM
Container Registry version. That simplifies our infra.
2024-06-25 18:18:53 +00:00
Abby Mitchell a6c184d45b removed toqm from intro to qiskit page (#1582)
Removed Qiskit TOQM item from the intro to qiskit page as it is no
longer part of the qiskit ecosystem
2024-06-24 19:42:16 +00:00
Frank Harkins 936138ec10 Add "Latest updates" page (#1411)
Adds a latest updates page with some initial content. Closes #1301.

I've prioritised news that requires user action (i.e. deprecations), but
open to other ideas too.

Points from a recent meeting:
- We will want product owners to write a release summary for each
release - and specify that the url out to the release notes should
specify the version (this is mentioned in the Docs overview and
publishing processes page)
- Highlight product blogs, product announcements, and latest versions of
each API ref release
- Duplicate "what's new in the docs" from the announcements

---------

Co-authored-by: Arnau Casau <47946624+arnaucasau@users.noreply.github.com>
Co-authored-by: ABBY CROSS <across@us.ibm.com>
Co-authored-by: Eric Arellano <14852634+Eric-Arellano@users.noreply.github.com>
2024-06-24 17:07:27 +00:00
abbycross 7100b1981d Mention the need for the graphviz library on transpile/custom-backend page (#1558)
Closes #1394
2024-06-24 15:15:10 +00:00
Frank Harkins 85236624f1 Update redirected links (#1589)
Fixes part of #1588. The other two will need to be fixed in the Qiskit
source or HTML arifacts.
2024-06-24 11:14:30 +00:00
Arnau Casau 640016500e Fix incomplete sentence for preset_passmanagers (#1581)
Part of https://github.com/Qiskit/documentation/issues/1534

This PR fixes the incomplete sentence for the
generate_preset_pass_manager method for the historical versions of
qiskit 0.37, 0.38, 0.39, 0.40, 0.41, 0.42, 0.43, 0.44, 0.45, 0.46, 1.0,
and 1.1.
2024-06-21 13:42:42 +00:00
Luciano Bello 977123f1d7 tt in `configure-qiskit-local` (#1430)
There are some very small formatting issues in
https://docs.quantum.ibm.com/start/configure-qiskit-local . Nothing
terrible, it was just easy to fix than to report them.

![Screenshot 2024-05-27 at 13 51
06](https://github.com/Qiskit/documentation/assets/766693/d4363a4a-cc45-43bb-b165-c9a438fb0066)

Co-authored-by: Eric Arellano <14852634+Eric-Arellano@users.noreply.github.com>
2024-06-21 13:00:20 +00:00
Eric Arellano 6af8296af6 Regen Qiskit 0.46, 1.1, 1.2-dev; Runtime 0.24, 0.25-dev (#1583)
```
npm run gen-api -- -p qiskit -v 0.46.2 --historical 
npm run gen-api -- -p qiskit -v 1.1.1 
npm run gen-api -- -p qiskit -v 1.2.0-dev --dev 
npm run gen-api -- -p qiskit-ibm-runtime -v 0.24.1 
npm run gen-api -- -p qiskit-ibm-runtime -v 0.25.0-dev --dev
```
2024-06-21 10:57:47 +00:00
Frank Harkins 91500802ea Update code for runtime 0.24.1 (#1580)
This PR bumps the `qiskit_ibm_runtime` version to the most recent, and
updates our code examples to work with that version.

---------

Co-authored-by: Eric Arellano <14852634+Eric-Arellano@users.noreply.github.com>
2024-06-20 16:46:06 +00:00
Abby Mitchell 9223038c27 Last updates to Intro to Qiskit and what are patterns pages (#1507)
Just added some images and did some reformatting

---------

Co-authored-by: abbycross <across@us.ibm.com>
2024-06-20 14:22:14 +00:00