From f80a9989856869b8ff03e31ad71243dbda445436 Mon Sep 17 00:00:00 2001 From: Eric Arellano <14852634+Eric-Arellano@users.noreply.github.com> Date: Mon, 3 Jun 2024 16:27:59 -0400 Subject: [PATCH] Update URLs for docs reorganization Co-authored-by: Abby Cross Co-authored-by: Rebecca Dimock <66339736+beckykd@users.noreply.github.com> --- scripts/patterns-reorg/entries.py | 24 ++++++++++++------------ scripts/patterns-reorg/redirects.json | 24 ++++++++++++------------ 2 files changed, 24 insertions(+), 24 deletions(-) diff --git a/scripts/patterns-reorg/entries.py b/scripts/patterns-reorg/entries.py index 9543f812def..32443cb95df 100644 --- a/scripts/patterns-reorg/entries.py +++ b/scripts/patterns-reorg/entries.py @@ -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 @@ -112,7 +112,7 @@ ), Entry( "Construct circuits", - slug="circuit-construction", + slug="construct-circuits", from_file="build/circuit-construction.ipynb", ), VISUALIZE_CIRCUITS_PAGE, @@ -123,7 +123,7 @@ ), Entry( "Synthesize unitary operators", - slug="unitary-synthesis", + slug="synthesize-unitary-operators", from_file="build/unitary-synthesis.mdx", ), Entry( @@ -231,7 +231,7 @@ ), Entry( "Represent quantum computers", - slug="representing-quantum-computers", + slug="represent-quantum-computers", from_file="transpile/representing_quantum_computers.ipynb", ), ), @@ -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", ), ), @@ -286,7 +286,7 @@ SIMULATORS = ( Entry( "Introduction to debugging tools", - slug="verify", + slug="debugging-tools", from_file="verify/index.mdx", ), Entry( @@ -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", ), ) @@ -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( @@ -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( @@ -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( @@ -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"), diff --git a/scripts/patterns-reorg/redirects.json b/scripts/patterns-reorg/redirects.json index ac7c89b172c..edb106cd788 100644 --- a/scripts/patterns-reorg/redirects.json +++ b/scripts/patterns-reorg/redirects.json @@ -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", @@ -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", @@ -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"