NVIDIA / NVIDIA/cuda-quantum

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

Nobody has claimed this yet.

stale-notified
Dominant language
C++
Stars
1.1k
Forks
455
Avg merge
1d 22h
Merged PRs (30d)
165

Description

  • 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

Contributor guide

Open the contributing guide

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.

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.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.