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

Update URLs for docs reorganization #1487

Merged
merged 2 commits into from
Jun 4, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 12 additions & 12 deletions scripts/patterns-reorg/entries.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
# Workflow: Map problem (build circuits), Tool: Visualization
VISUALIZE_CIRCUITS_PAGE = Entry(
"Visualize circuits",
slug="/circuit-visualization",
slug="/visualize-circuits",
from_file="build/circuit-visualization.ipynb",
)
# Workflow: Optimize for hardware (simulators), Tool: Visualization
Expand Down Expand Up @@ -112,7 +112,7 @@
),
Entry(
"Construct circuits",
slug="/circuit-construction",
slug="/construct-circuits",
from_file="build/circuit-construction.ipynb",
),
VISUALIZE_CIRCUITS_PAGE,
Expand All @@ -123,7 +123,7 @@
),
Entry(
"Synthesize unitary operators",
slug="/unitary-synthesis",
slug="/synthesize-unitary-operators",
from_file="build/unitary-synthesis.mdx",
),
Entry(
Expand Down Expand Up @@ -231,7 +231,7 @@
),
Entry(
"Represent quantum computers",
slug="/representing-quantum-computers",
slug="/represent-quantum-computers",
from_file="transpile/representing_quantum_computers.ipynb",
),
),
Expand Down Expand Up @@ -261,7 +261,7 @@
),
Entry(
"Create a transpiler plugin",
slug="/create-a-transpiler-plugin",
slug="/create-transpiler-plugin",
from_file="transpile/create-a-transpiler-plugin.ipynb",
),
),
Expand All @@ -286,7 +286,7 @@
SIMULATORS = (
Entry(
"Introduction to debugging tools",
slug="/verify",
slug="/debugging-tools",
from_file="verify/index.mdx",
),
Entry(
Expand All @@ -306,13 +306,13 @@
),
Entry(
"Build noise models",
slug="/building-noise-models",
slug="/build-noise-models",
from_file="verify/building_noise_models.ipynb",
),
PLOT_QUANTUM_STATES_PAGE,
Entry(
"Efficient simulation of stabilizer circuits with Qiskit Aer primitives",
slug="/stabilizer-circuit-simulation",
slug="/simulate-stabilizer-circuits",
from_file="verify/stabilizer-circuit-simulation.ipynb",
),
)
Expand All @@ -328,7 +328,7 @@
),
Entry(
"Get started with primitives",
slug="/primitives-get-started",
slug="/get-started-with-primitives",
from_file="run/primitives-get-started.mdx",
),
Entry(
Expand Down Expand Up @@ -390,7 +390,7 @@
EXECUTION_MODES_CHILDREN = (
Entry(
"Introduction to execution modes",
slug="/execution-modes-intro",
slug="/execution-modes",
from_file="run/execution-modes.mdx",
),
Entry(
Expand All @@ -400,7 +400,7 @@
),
Entry(
"Run jobs in a session",
slug="/run-jobs-in-session",
slug="/run-jobs-session",
from_file="run/run-jobs-in-session.mdx",
),
Entry(
Expand Down Expand Up @@ -446,7 +446,7 @@
Entry("Instances", slug="/instances", from_file="run/instances.mdx"),
Entry(
"Fair-share scheduler",
slug="/fair-share-queue",
slug="/fair-share-scheduler",
from_file="run/fair-share-queue.mdx",
),
Entry("Manage cost", slug="/manage-cost", from_file="run/manage-cost.mdx"),
Expand Down
24 changes: 12 additions & 12 deletions scripts/patterns-reorg/redirects.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@
"start/install-qiskit-source": "install-qiskit-source",
"start/configure-qiskit-local": "configure-qiskit-local",
"build/circuit-library": "circuit-library",
"build/circuit-construction": "circuit-construction",
"build/circuit-construction": "construct-circuits",
"build/classical-feedforward-and-control-flow": "classical-feedforward-and-control-flow",
"build/unitary-synthesis": "unitary-synthesis",
"build/unitary-synthesis": "synthesize-unitary-operators",
"build/bit-ordering": "bit-ordering",
"build/save-circuits": "save-circuits",
"build/operators-overview": "operators-overview",
Expand All @@ -23,29 +23,29 @@
"transpile/defaults-and-configuration-options": "defaults-and-configuration-options",
"transpile/set-optimization": "set-optimization",
"transpile/common-parameters": "common-parameters",
"transpile/representing_quantum_computers": "representing-quantum-computers",
"transpile/representing_quantum_computers": "represent-quantum-computers",
"transpile/dynamical-decoupling-pass-manager": "dynamical-decoupling-pass-manager",
"transpile/custom-transpiler-pass": "custom-transpiler-pass",
"transpile/custom-backend": "custom-backend",
"transpile/transpiler-plugins": "transpiler-plugins",
"transpile/create-a-transpiler-plugin": "create-a-transpiler-plugin",
"transpile/create-a-transpiler-plugin": "create-transpiler-plugin",
"transpile/qiskit-transpiler-service": "qiskit-transpiler-service",
"transpile/ai-transpiler-passes": "ai-transpiler-passes",
"verify/index": "verify",
"verify/index": "debugging-tools",
"verify/simulate-with-qiskit-primitives": "simulate-with-qiskit-sdk-primitives",
"verify/simulate-with-qiskit-aer": "simulate-with-qiskit-aer",
"verify/local-testing-mode": "local-testing-mode",
"verify/building_noise_models": "building-noise-models",
"verify/stabilizer-circuit-simulation": "stabilizer-circuit-simulation",
"verify/building_noise_models": "build-noise-models",
"verify/stabilizer-circuit-simulation": "simulate-stabilizer-circuits",
"run/primitives": "primitives",
"run/primitives-get-started": "primitives-get-started",
"run/primitives-get-started": "get-started-with-primitives",
"run/primitives-examples": "primitives-examples",
"run/configure-runtime-compilation": "configure-runtime-compilation",
"run/configure-error-mitigation": "configure-error-mitigation",
"run/advanced-runtime-options": "advanced-runtime-options",
"run/execution-modes": "execution-modes-intro",
"run/execution-modes": "execution-modes",
"run/sessions": "sessions",
"run/run-jobs-in-session": "run-jobs-in-session",
"run/run-jobs-in-session": "run-jobs-session",
"run/run-jobs-batch": "run-jobs-batch",
"run/monitor-job": "monitor-job",
"run/estimate-job-run-time": "estimate-job-run-time",
Expand All @@ -60,9 +60,9 @@
"run/retired-systems": "retired-systems",
"run/dynamic-circuits-considerations": "dynamic-circuits-considerations",
"run/instances": "instances",
"run/fair-share-queue": "fair-share-queue",
"run/fair-share-queue": "fair-share-scheduler",
"run/manage-cost": "manage-cost",
"build/circuit-visualization": "circuit-visualization",
"build/circuit-visualization": "visualize-circuits",
"verify/plot-quantum-states": "plot-quantum-states",
"run/visualize-results": "visualize-results",
"run/quantum-serverless": "qiskit-serverless"
Expand Down
Loading