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>
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>
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
```
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.
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>
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.
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`.
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.
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>
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.
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>
Noticed a few edits to make in a [recent closed
PR](https://github.com/Qiskit/documentation/pull/1517).
- Changed "we" to "you"
- avoided "will" when appropriate
- replaced "may" with either "can" or "might" depending on context
- general typo/punctuation/capitalization cleanup
Closes https://github.com/Qiskit/documentation/issues/1299
This PR adds a script that validates that every page shows up both in
the Tools folders and in the Workflow index pages.
---------
Co-authored-by: Eric Arellano <14852634+Eric-Arellano@users.noreply.github.com>
Closes#1554
Removing Abby M as an automatic assignee from bug reports too.
After the docs reorg, can reword the title of the bug issue for Platform
docs by indicating it's for anything in the /guides/ directory.
---------
Co-authored-by: Eric Arellano <14852634+Eric-Arellano@users.noreply.github.com>
Closes#1440
@kevinsung, here's what I have so far in terms of content to include. I
think it might be worth mentioning the overloaded operators for the
`SparsePauliOp` class and demonstrate some of the algebra that can be
done.
---------
Co-authored-by: Kevin J. Sung <kevjsung@umich.edu>