|
360 | 360 | ),
|
361 | 361 | )
|
362 | 362 |
|
363 |
| -EXECUTION_MODES = ( |
| 363 | +MANAGE_JOBS_FOLDER = Entry( |
| 364 | + "Manage jobs", |
| 365 | + children=( |
| 366 | + Entry( |
| 367 | + "Monitor or cancel a job", |
| 368 | + slug="monitor-job", |
| 369 | + from_file="run/monitor-job.mdx", |
| 370 | + ), |
| 371 | + Entry( |
| 372 | + "Estimate job run time", |
| 373 | + slug="estimate-job-run-time", |
| 374 | + from_file="run/estimate-job-run-time.mdx", |
| 375 | + ), |
| 376 | + Entry( |
| 377 | + "Minimize job run time", |
| 378 | + slug="minimize-time", |
| 379 | + from_file="run/minimize-time.mdx", |
| 380 | + ), |
| 381 | + Entry( |
| 382 | + "Maximum execution time", |
| 383 | + slug="max-execution-time", |
| 384 | + from_file="run/max-execution-time.mdx", |
| 385 | + ), |
| 386 | + RETRIEVE_RESULTS_PAGE, |
| 387 | + ), |
| 388 | +) |
| 389 | + |
| 390 | +EXECUTION_MODES_CHILDREN = ( |
364 | 391 | Entry(
|
365 | 392 | "Introduction to execution modes",
|
366 | 393 | slug="execution-modes-intro",
|
|
381 | 408 | slug="run-jobs-batch",
|
382 | 409 | from_file="run/run-jobs-batch.mdx",
|
383 | 410 | ),
|
384 |
| - Entry( |
385 |
| - "Manage jobs", |
386 |
| - children=( |
387 |
| - Entry( |
388 |
| - "Monitor or cancel a job", |
389 |
| - slug="monitor-job", |
390 |
| - from_file="run/monitor-job.mdx", |
391 |
| - ), |
392 |
| - Entry( |
393 |
| - "Estimate job run time", |
394 |
| - slug="estimate-job-run-time", |
395 |
| - from_file="run/estimate-job-run-time.mdx", |
396 |
| - ), |
397 |
| - Entry( |
398 |
| - "Minimize job run time", |
399 |
| - slug="minimize-time", |
400 |
| - from_file="run/minimize-time.mdx", |
401 |
| - ), |
402 |
| - Entry( |
403 |
| - "Maximum execution time", |
404 |
| - slug="max-execution-time", |
405 |
| - from_file="run/max-execution-time.mdx", |
406 |
| - ), |
407 |
| - RETRIEVE_RESULTS_PAGE, |
408 |
| - ), |
409 |
| - ), |
| 411 | + MANAGE_JOBS_FOLDER, |
410 | 412 | Entry(
|
411 | 413 | "Execution modes FAQs",
|
412 | 414 | slug="execution-modes-faq",
|
|
478 | 480 | slug="execute-on-hardware",
|
479 | 481 | page_content=execute_index_content(
|
480 | 482 | entries_as_markdown_list(
|
481 |
| - filter_entries( |
482 |
| - ( |
483 |
| - *PRIMITIVES, |
484 |
| - *EXECUTION_MODES, |
485 |
| - Entry( |
486 |
| - "Systems and platform information", |
487 |
| - children=SYSTEMS_CHILDREN, |
| 483 | + ( |
| 484 | + *PRIMITIVES, |
| 485 | + Entry( |
| 486 | + "Execution modes", |
| 487 | + children=filter_entries( |
| 488 | + EXECUTION_MODES_CHILDREN, ignore={MANAGE_JOBS_FOLDER} |
488 | 489 | ),
|
489 | 490 | ),
|
490 |
| - ignore={RETRIEVE_RESULTS_PAGE}, |
| 491 | + *filter_entries( |
| 492 | + (MANAGE_JOBS_FOLDER,), ignore={RETRIEVE_RESULTS_PAGE} |
| 493 | + ), |
| 494 | + Entry( |
| 495 | + "Systems and platform information", |
| 496 | + children=SYSTEMS_CHILDREN, |
| 497 | + ), |
491 | 498 | )
|
492 | 499 | )
|
493 | 500 | ),
|
|
513 | 520 | children=filter_entries(SIMULATORS, ignore={PLOT_QUANTUM_STATES_PAGE}),
|
514 | 521 | ),
|
515 | 522 | Entry("Primitives", children=PRIMITIVES),
|
516 |
| - Entry("Execution modes", children=EXECUTION_MODES), |
| 523 | + Entry("Execution modes", children=EXECUTION_MODES_CHILDREN), |
517 | 524 | Entry("IBM Quantum systems", children=SYSTEMS_CHILDREN),
|
518 | 525 | Entry(
|
519 | 526 | "Visualization",
|
|
0 commit comments