Follow-up work from #5113 (inject-implicit-output): disabled tests and underlying bugs

Open
#5,154 4 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
35/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Quiet
Tech stack
cpp, python

Research direction

Start by running the remaining unchecked tests in test_compiler_bench_nisq.py, test_kernel_parameters.py, test_run_kernel.py, and the quake-remote-backend-tests, then compare failures with PR #5113 and the listed disabled test files. Done means the deferred failures are fixed and the affected test coverage can be restored without regressions.

Written by the indexing model from the issue text.

Description

stale-notified
  • PR #5113 (merged; 383c736f18) enabled the quantum optimizer broadly and added compiler-injected quake.log_output markers (inject-implicit-output / erase-implicit-output) so degenerate kernels are not optimized away.
  • Landing it required re-enabling target .yml pipelines that Python had been silently dropping, which exposed a set of pre-existing bugs.
  • Per offline discussion, several tests were disabled rather than chasing all of them. This issue captures that deferred work.

Disabled / weakened test surfaces

  • python/tests/backends/test_Ionq_LocalEmulation_kernel.py
  • python/tests/backends/test_Quantinuum_LocalEmulation_kernel.py
  • python/tests/backends/test_Quantinuum_LocalEmulation_builder.py
  • python/tests/mlir/target/cudaq_observe.py
  • python/tests/mlir/compiled_module_cache.py
  • test_compiler_bench_nisq.py::test_routing_inserts_swaps_on_path
  • test_kernel_parameters.py::test_nested_list3_bool/int, test_nested_list4_int
  • test_run_kernel.py::test_run_and_sample_and_direct_call
  • quake-remote-backend-tests
Dominant language
C++
Stars
1.2k
Forks
508
Avg merge
1d 19h
Merged PRs (30d)
100

Getting set up

Open in Codespaces

Starts the project's dev container in your browser, under your own GitHub account.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from NVIDIA/cuda-quantum

All issues in NVIDIA/cuda-quantum

Similar issues

More C++ issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.