instance_id stringlengths 10 65 | repo stringlengths 5 59 | pr_number int64 1 313k | task_type stringclasses 1
value | base_commit stringlengths 40 40 | review_commit stringlengths 40 40 | title stringlengths 2 282 | body stringlengths 7 3k | patch stringlengths 202 204k | n_defects int64 1 72 | n_supported int64 1 65 | n_major int64 0 32 | defects stringlengths 140 18.8k | certifier_count int64 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
NVIDIA__TorchFort__82 | NVIDIA/TorchFort | 82 | defect | 90c385d7e1ab2c5563c8cd3023a488a42771eb19 | 10a6bf507711f73ce86dea9cb0dea5e26eef402e | fixing actor critic MLP and adding 1D interface | This MR fixes some shape issues with actor critic MLP and also adds 1D_1D support for action prediction and state eval | diff --git a/docs/api/f_api.rst b/docs/api/f_api.rst
index 61877c5e..1929c0e8 100644
--- a/docs/api/f_api.rst
+++ b/docs/api/f_api.rst
@@ -417,8 +417,8 @@ torchfort_rl_off_policy_predict_explore
For this operation, :code:`T` can be one of :code:`real(real32)`, :code:`real(real64)`
:p character(:) name [in]: T... | 6 | 5 | 3 | [{"id": "G0", "claim": "Remove the commented-out sigma-layer code left in ActorCriticMLPModel::setup.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The predict/explore flattening assumes that a user passing a 1D state has also passed a 1D actio... | null |
NVIDIA__TorchFort__98 | NVIDIA/TorchFort | 98 | defect | 824b8345b8ffae953c2505c3937c654275911727 | 9e890ec761b9864c5447e356d70beb26a3047240 | Adding CUDA graph capture feature for supervised learning. | This PR adds CUDA graphs support for supervised learning problems. The feature is enabled via a new general configuration entry: `enable_cuda_graphs`, see updated documentation.
Since we are targeting high-performance use cases, this functionality is made to be fairly minimal in terms of features. In particular, we ... | diff --git a/docs/api/config.rst b/docs/api/config.rst
index 93edf7d..72539d1 100644
--- a/docs/api/config.rst
+++ b/docs/api/config.rst
@@ -31,18 +31,33 @@ The block in the configuration file defining general properties takes the follow
The following table lists the available options:
-+-----------------------+--... | 4 | 1 | 1 | [{"id": "G0", "claim": "The InputSignature struct is the same for all the graph states and would be better moved outside the classes.", "category": "maintainability", "verdict": "opposed", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Question whether the GraphAction enum needs to be defined outside ... | null |
NVIDIA__aicr__149 | NVIDIA/aicr | 149 | defect | 1f39bce20023aaac308d1195b8773afae86b6aa4 | eb826522923d22b7a63ad62ded7b4e29bcbc9b3a | feat: add expected-resources deployment check for validating Kubernetes resources exist | ## Summary
Add `expected-resources` deployment check that validates Kubernetes resources (Deployments, DaemonSets, StatefulSets) declared in recipe `componentRefs[].expectedResources` actually exist in the cluster.
## Motivation / Context
Previously, there was no way to verify that critical resources like gpu-... | diff --git a/docs/integrator/recipe-development.md b/docs/integrator/recipe-development.md
index ee76e24f9b..90fa213c05 100644
--- a/docs/integrator/recipe-development.md
+++ b/docs/integrator/recipe-development.md
@@ -254,15 +254,23 @@ constraints:
Optional multi-phase validation beyond basic constraints:
```yaml
... | 5 | 5 | 2 | [{"id": "G0", "claim": "The 10-second timeout in verifyResource should be a named constant in pkg/defaults (e.g. defaults.ResourceVerificationTimeout) instead of an inlined magic literal, per project convention.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G... | null |
NVIDIA__aicr__156 | NVIDIA/aicr | 156 | defect | 0463e2d43b5e56b6306bf346048aa00f5273d7cc | 4af47544d0af0146926d0eb4548fced77ff36948 | refactor: rename PreDeployment to Readiness across codebase and docs | ## Summary
Rename `PreDeployment`/`preDeployment` to `Readiness`/`readiness` in struct fields, JSON/YAML tags, and all references across Go source, tests, and CLI documentation. Remove the legacy `"preDeployment"` alias in the check runner phase switch. Update `docs/user/cli-reference.md` to use the correct phase na... | diff --git a/docs/user/cli-reference.md b/docs/user/cli-reference.md
index 5c3831ce5..738678b61 100644
--- a/docs/user/cli-reference.md
+++ b/docs/user/cli-reference.md
@@ -542,7 +542,7 @@ eidos validate \
--kubeconfig ~/.kube/prod-cluster
```
-**Output Structure (Pre-Deployment Phase):**
+**Output Structure (Rea... | 1 | 1 | 1 | [{"id": "G0", "claim": "A few more occurrences of the old PreDeployment naming remain in tests/e2e/run.sh that the rename missed.", "category": "maintainability", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
NVIDIA__aicr__250 | NVIDIA/aicr | 250 | defect | fee7f346883fecbcb3c3aa7b7ae69564b828fd1c | 1b24de5218daee97ee02f09ff07539e0004bcedc | fix(validator): propagate tolerations and node selectors to validation phase Jobs | ## Summary
- The `--toleration` and `--node-selector` CLI flags were only propagated to the snapshot agent Job, not to deployment, performance, or conformance validation phase Jobs
- This caused phase Jobs to fail scheduling on clusters where all nodes have taints (e.g. `dedicated=worker-workload:NoSchedule/NoExecute`... | diff --git a/pkg/cli/validate.go b/pkg/cli/validate.go
index d40579181..ab7c9c816 100644
--- a/pkg/cli/validate.go
+++ b/pkg/cli/validate.go
@@ -167,6 +167,8 @@ func runValidation(
noCluster bool,
evidenceDir string,
evidenceResultPath string,
+ tolerations []corev1.Toleration,
+ nodeSelector map[string]string,
... | 6 | 6 | 2 | [{"id": "G0", "claim": "The 'Defaults to tolerate-all when not explicitly set via CLI' comment is misleading because with default construction v.Tolerations stays nil, so validation Jobs on tainted clusters still fail to schedule unless the user explicitly passes --toleration; either set the tolerate-all default in New... | null |
NVIDIA__aicr__297 | NVIDIA/aicr | 297 | defect | ddfb64eedde3ca6f06340f73747b826d68f6ca41 | edb726513bc917c55846eb0b400a151817edd215 | fix(bundle): fail fast when --attest is used without binary attestati… |
## Summary
- Add early binary attestation file check in `bundler.New()` — when `--attest` is requested, verify the attestation file exists **before** OIDC auth, recipe resolution, or bundle generation
- Remove duplicate `--attest` and `--certificate-identity-regexp` flag registrations in the bundle command
- U... | diff --git a/docs/user/cli-reference.md b/docs/user/cli-reference.md
index ddeea06fe0..7bb054377e 100644
--- a/docs/user/cli-reference.md
+++ b/docs/user/cli-reference.md
@@ -960,12 +960,15 @@ ArgoCD Applications use multi-source to:
#### Bundle Attestation
+> **Prerequisite:** The `--attest` flag requires a binar... | 1 | 1 | 0 | [{"id": "G0", "claim": "Hide the --attest flag from the command when the binary attestation is known to be missing (writing the perceived reason to the debug log) so users cannot even attempt attestation that will not work, instead of letting them pass --attest and failing fast with an error.", "category": "design", "v... | null |
NVIDIA__aicr__427 | NVIDIA/aicr | 427 | defect | e15a3c63a2090619b6185af0d9a0c757ec62d1b7 | c3d9bb5041b4be118be5402f9b08ddc157c15554 | fix(validator): remove hostNetwork and privileged from GKE NCCL runtime, use NRI device injection | ## Summary
- Remove `hostNetwork: true` and `privileged: true` from GKE NCCL
TrainingRuntime, matching Excalibur non-privileged configuration
- Use NRI device injection (`devices.gke.io` annotation) for tcpxo-daemon
GPU/DMA device access instead of privileged mode
- Replace privileged security contexts with ... | diff --git a/validators/performance/nccl_all_reduce_bw_constraint.go b/validators/performance/nccl_all_reduce_bw_constraint.go
index dc69209e1..0270ce8b1 100644
--- a/validators/performance/nccl_all_reduce_bw_constraint.go
+++ b/validators/performance/nccl_all_reduce_bw_constraint.go
@@ -327,6 +327,23 @@ func buildGKEN... | 4 | 3 | 2 | [{"id": "G0", "claim": "The runtime removes hostNetwork: true but does not add the /sys -> /hostsysfs and /proc/sys -> /hostprocsysfs hostPath mounts on tcpxo-daemon, without which RxDM will detect 0/8 GPUs.", "category": "correctness", "verdict": "opposed", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim... | null |
NVIDIA__aicr__496 | NVIDIA/aicr | 496 | defect | a370746562edb657d78bf172dd8cab079d6f6519 | e8e511bbf56715717d5deaec14bb1256f7a1c8f9 | refactor(recipe): add maximal leaf candidate selection to overlay resolver | ## Summary
Add maximal leaf candidate selection to `FindMatchingOverlays` — filter out any matching overlay that is an ancestor (via `spec.base` chain) of another matching overlay. Only the most-specific leaves survive as candidates.
## Motivation / Context
The overlay resolver currently applies all matching overlay... | diff --git a/pkg/recipe/metadata_store.go b/pkg/recipe/metadata_store.go
index 6d550a6e0f..3a584da5df 100644
--- a/pkg/recipe/metadata_store.go
+++ b/pkg/recipe/metadata_store.go
@@ -214,8 +214,18 @@ func (s *MetadataStore) resolveInheritanceChain(recipeName string) ([]*RecipeMet
return chain, nil
}
-// FindMatchi... | 3 | 3 | 1 | [{"id": "G0", "claim": "Add a log line (e.g. slog.Debug) after the maximal-leaf filter so pruned ancestor overlays are observable when debugging resolution.", "category": "observability", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Register the gb200-eks-training store mutat... | null |
NVIDIA__aicr__508 | NVIDIA/aicr | 508 | defect | c334bfc1ab2fa5bce3f738c45c53f9f950357da4 | 45ddbbe485d32a0031f2164bc905350a87fc9fe0 | feat: add component contributor test harness | ## Summary
Validate AICR components end-to-end with a single command — no GPU hardware required for most components.
```bash
make component-test COMPONENT=cert-manager
```
- **Three test tiers** (auto-detected from `registry.yaml`): `scheduling` (KWOK redirect), `deploy` (Kind + bundle + health check), `gpu-aware` (... | diff --git a/.settings.yaml b/.settings.yaml
index 66162a8d29..6e9ca72b9c 100644
--- a/.settings.yaml
+++ b/.settings.yaml
@@ -71,3 +71,14 @@ docs_tools:
# Testing Configuration
testing:
kind_node_image: 'kindest/node:v1.32.0'
+
+ # Component test harness configuration
+ # Used by tools/component-test/ scripts t... | 3 | 2 | 2 | [{"id": "G0", "claim": "cleanup.sh's interactive `read -r -p` confirmation hangs when run without a TTY (DELETE_CLUSTER=true with FORCE_CLEANUP unset), even though the README documents `make component-cleanup DELETE_CLUSTER=true` as a supported command.", "category": "correctness", "verdict": "supported", "priority": "... | null |
NVIDIA__aicr__570 | NVIDIA/aicr | 570 | defect | 9a1b068f80d4a2cb38d8423057037d9ae897b7c9 | d6572b184e5dc3aaafc03803eaab47c1bbbf653e | Update to correct spelling of Argo CD | ## Summary
Follow up to address https://github.com/NVIDIA/aicr/pull/569#issuecomment-4246234029.
## Checklist
- [x] Tests pass locally (`make test` with `-race`)
- [x] Linter passes (`make lint`)
- [x] I did not skip/disable tests to make CI green
- [x] I added/updated tests for new functionality
- [x] ... | diff --git a/.github/copilot-instructions.md b/.github/copilot-instructions.md
index 8895bb5c18..cb41fa79fd 100644
--- a/.github/copilot-instructions.md
+++ b/.github/copilot-instructions.md
@@ -361,7 +361,7 @@ aicr bundle -r recipe.yaml \
--accelerated-node-toleration nvidia.com/gpu=present:NoSchedule \
-o ./bun... | 5 | 2 | 0 | [{"id": "G0", "claim": "README.md still has three user-facing `ArgoCD` references (lines 7, 56 and 89) which, if those docs are intended to follow the same terminology cleanup, should be updated to `Argo CD` as well.", "category": "documentation", "verdict": "opposed", "priority": "P1", "scope": "pre_existing"}, {"id":... | null |
NVIDIA__aicr__642 | NVIDIA/aicr | 642 | defect | 00a2dbc19ce7b0cb5bb64bb07cce1980f628b446 | a4492dcbf49acf10049480435f7d15d4b53440f7 | Feat/skyhook to nodewright | ## Summary
Renaming skyhook -> nodewright in everything except actual k8s resource references as those have NOT been updated yet in nodewright.
## Motivation / Context
Consistency.
Fixes: #628
Related: <!-- #123 or N/A -->
## Type of Change
- [ ] Bug fix (non-breaking change that fixes an issue)
- [ ... | diff --git a/ROADMAP.md b/ROADMAP.md
index 3461a35440..ddcfe8ddf9 100644
--- a/ROADMAP.md
+++ b/ROADMAP.md
@@ -157,7 +157,7 @@ Detect when clusters diverge from recipe-defined state.
- Scheduled drift detection via CronJob
- Alerting integration for drift events
-#### Enhanced Skyhook Integration
+#### Enhanced Nod... | 29 | 19 | 9 | [{"id": "G0", "claim": "The example response in docs/contributor/data.md (line 931) is a bad example, though the reviewer notes it is not part of this change set.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "pre_existing"}, {"id": "G1", "claim": "The component label in the demos/im... | null |
NVIDIA__aicr__666 | NVIDIA/aicr | 666 | defect | 9d57dfb54af29bab137de8dd38f6059ee67e7892 | 77f25a34e38b9b41f9ff8f729f3aaaf31743d9b5 | feat(validator): add AICR_VALIDATOR_IMAGE_TAG env-var override | ## Summary
Adds `AICR_VALIDATOR_IMAGE_TAG` — an opt-in env-var override that replaces
the resolved tag on every validator image, regardless of what the default
resolution logic (release version or `:sha-<commit>`) produced. Default
behavior is unchanged; users only set this when they need a published tag
for a commit ... | diff --git a/docs/contributor/validator.md b/docs/contributor/validator.md
index c1a9cdf348..e058bdbca4 100644
--- a/docs/contributor/validator.md
+++ b/docs/contributor/validator.md
@@ -136,6 +136,7 @@ The validator engine mounts snapshot and recipe data as ConfigMaps:
| `AICR_SNAPSHOT_PATH` | Override snapshot mount... | 1 | 1 | 0 | [{"id": "G0", "claim": "The two image-tag forwarding tests (TestDeployJobForwardsImageTagOverride and TestDeployJobOmitsImageTagOverrideWhenUnset) validate the same behavior with different env inputs and should be consolidated into one table-driven test per the repo's testing guideline.", "category": "testing", "verdic... | null |
NVIDIA__aicr__776 | NVIDIA/aicr | 776 | defect | 4489e9192d1e1862d2a49f20db28da6568fc8569 | 5e2a4db12214c17fafc344980598ab1ec9e90f4b | fix(bom): reject bare scalars without tag, digest, or registry host | ## Summary
Closes #765. Tightens `pkg/bom.isLikelyImage` so chart-default placeholders like `vgpu-manager` (lifted from `vgpuManager: { image: vgpu-manager, enabled: false }` in upstream charts) stop appearing in the published BOM.
Refs #739, #749 (unblocks digest-pinning by ensuring there are no bare placeholders to... | diff --git a/docs/user/container-images.md b/docs/user/container-images.md
index 7cf2590b6..73bf69681 100644
--- a/docs/user/container-images.md
+++ b/docs/user/container-images.md
@@ -20,7 +20,7 @@ A machine-readable **CycloneDX 1.6 JSON** companion to this page is produced by
## Summary
- Components: **22**
-- Un... | 1 | 1 | 0 | [{"id": "G0", "claim": "Add one explicit namespaced-untagged case (e.g. `\"nvidia/cuda\": false`) to the isLikelyImage rejection set so the intended policy boundary is unambiguous.", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
NVIDIA__aicr__778 | NVIDIA/aicr | 778 | defect | 45e3b8ee1e97641ede1140dd03b212f4ce70a6f3 | 5a43dcd4cfcef9271ace001e3a20d4080aaed000 | feat(recipes): digest-pin explicit image references (#749) | ## Summary
Closes #749. Implements ADR-006 Layer 2: digest-pins every Pod-spec image reference under `recipes/components/*/manifests/` that AICR overrides explicitly. Adds a CI gate enforcing the policy with an explicit, documented exemption list for CRD-triplet refs whose schemas don't accept digests. Configures Reno... | diff --git a/.github/renovate.json5 b/.github/renovate.json5
index 654c79adb..844f139a5 100644
--- a/.github/renovate.json5
+++ b/.github/renovate.json5
@@ -107,6 +107,19 @@
},
],
+ // Kubernetes manager: scan AICR's component manifests for Pod-spec
+ // image references. The manager's default fileMatch is ... | 1 | 1 | 1 | [{"id": "G0", "claim": "The test's pass condition accepts any digest algorithm even though the contract and comments require `@sha256:`, so non-sha256-pinned images could pass CI; it should enforce the sha256 prefix specifically (with a distinct error for other algorithms).", "category": "correctness", "verdict": "supp... | null |
NVIDIA__aicr__849 | NVIDIA/aicr | 849 | defect | 01952e8b179e4f5e73da38d0234ebfb76318b52e | bafec1e9742223c9c9f43ff3d097480cd8eb4027 | feat(oci): expose URIScheme constant and Ensure/TrimScheme helpers | ## Summary
Promotes `pkg/oci`'s in-package `uriScheme = "oci://"` literal to an exported `URIScheme` constant and adds two convenience helpers — `EnsureScheme` and `TrimScheme` — so other packages can build and normalize `oci://` references without redeclaring the prefix.
## Motivation / Context
The upcoming recipe-... | diff --git a/pkg/oci/reference.go b/pkg/oci/reference.go
index bdaa8b921..9e22f2924 100644
--- a/pkg/oci/reference.go
+++ b/pkg/oci/reference.go
@@ -26,8 +26,29 @@ import (
apperrors "github.com/NVIDIA/aicr/pkg/errors"
)
-// uriScheme is the URI scheme for OCI registry output (e.g., "oci://ghcr.io/org/repo:tag").
... | 1 | 1 | 1 | [{"id": "G0", "claim": "EnsureScheme prefixes refs that already carry a foreign URI scheme, so inputs like https://ghcr.io/x/y become the malformed oci://https://ghcr.io/x/y, violating passthrough behavior for non-OCI schemes.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}... | null |
NVIDIA__aicr__866 | NVIDIA/aicr | 866 | defect | 3c5bfc8f7c677bec7bf9bc6aaf721f5cf456e80d | af1d8b9db98a88548437a5cf5cdf3594cf5e8b79 | Add Slinky slurm-operator as platform-slurm | ## Summary
Adds the Slinky slurm-operator (chart v1.1.0) as a first-class AICR platform under `--platform slurm`. Empty-base PR — ships the operator + CRDs plumbing only; leaf overlays follow in a separate PR.
## Motivation / Context
Slurm is the dominant HPC workload manager. Users running mixed AI + HPC work... | diff --git a/docs/user/component-catalog.md b/docs/user/component-catalog.md
index 9113072b5..c1ecc6cec 100644
--- a/docs/user/component-catalog.md
+++ b/docs/user/component-catalog.md
@@ -32,6 +32,8 @@ The source of truth is [`recipes/registry.yaml`](https://github.com/NVIDIA/aicr/
| **k8s-nim-operator** | NVIDIA NIM... | 5 | 4 | 1 | [{"id": "G0", "claim": "The new slinky-slurm-operator component entries in docs/user/component-catalog.md should call out the chart v1.1.0 behavior where operator.nodeSelector and webhook.nodeSelector are silently ignored, so users understand the limitation up front.", "category": "documentation", "verdict": "uncertain... | null |
NVIDIA__aicr__880 | NVIDIA/aicr | 880 | defect | e83b2ea56de564806a32590e60ee5859a1480d19 | cb7867b18d9644026aaa9c448fe39f88237421a4 | refactor(validator): move Phase to v1 and export FilterEntriesByValidation | ## Summary
Moves the `Phase` type and constants from `pkg/validator` to `pkg/api/validator/v1` for proper API layering. Exports `FilterEntriesByValidation` function from v1 package to enable external consumers to filter catalog entries based on validation configuration (addresses #736).
## Motivation and Context
The... | diff --git a/pkg/api/validator/v1/catalog.go b/pkg/api/validator/v1/catalog.go
index 1ed108288..7545b3394 100644
--- a/pkg/api/validator/v1/catalog.go
+++ b/pkg/api/validator/v1/catalog.go
@@ -24,6 +24,20 @@ const (
CatalogKind = "ValidatorCatalog"
)
+// Phase represents a validation phase.
+type Phase string
+
+c... | 7 | 4 | 1 | [{"id": "G0", "claim": "In the name-checking loop of TestFilterEntriesByValidation_AllPhases, the branch allows i >= len(got) but still reads got[i].Name, which can panic and mask the real assertion failure.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "cla... | null |
NVIDIA__aicr__881 | NVIDIA/aicr | 881 | defect | ffe212d76ee1917918d0047ccaf14f6ead87c1dd | f6ed26b1f13447528feb3f5321d42ea49e3eba8e | fix(validator): make ExtractResult sidecar-safe by reading 'validator' container explicitly | ## Summary
Makes `ExtractResult()` and `HandleTimeout()` sidecar-safe by explicitly reading from the "validator" container by name instead of assuming the first container (index 0) is the validator.
## Motivation and Context
Fixes #795
The current implementation assumes the first container in the pod is the validat... | diff --git a/pkg/validator/job/result.go b/pkg/validator/job/result.go
index 12d6d85131..ff134ee1bc 100644
--- a/pkg/validator/job/result.go
+++ b/pkg/validator/job/result.go
@@ -26,9 +26,16 @@ import (
corev1 "k8s.io/api/core/v1"
)
-// ExtractResult reads the exit code, termination message, and stdout from a
-// ... | 6 | 6 | 2 | [{"id": "G0", "claim": "TestHandleTimeoutSidecarOnlyNoValidator should also assert that the termination message contains the ADR-002 reference, so the test still fails if the ADR-002 wording is accidentally dropped from the timeout message.", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "in... | null |
NVIDIA__aicr__921 | NVIDIA/aicr | 921 | defect | 9776d9fad81cfcdc98cb75e07b5901067727d548 | fccadcee267b1bac1b48fafc631bf680542af838 | fix(bundler): synthesize GKE ResourceQuota for critical-priority pods | ## Summary
GKE Standard ships a kube-system `ResourceQuota` scoped to `system-*-critical` `PriorityClasses`. Per the Kubernetes spec, once any cluster-wide quota scopes by `PriorityClass` for those values, pods that request a matching priority class can only be created in namespaces that have a matching quota. AICR bu... | diff --git a/demos/cuj1-gke-config.md b/demos/cuj1-gke-config.md
index d51d2c506..04dfbbc62 100644
--- a/demos/cuj1-gke-config.md
+++ b/demos/cuj1-gke-config.md
@@ -153,33 +153,6 @@ to render upgrade diffs):
helm plugin install https://github.com/databus23/helm-diff
```
-GKE's `ResourceQuota` admission plugin block... | 1 | 1 | 1 | [{"id": "G0", "claim": "Use deterministic YAML serialization (serializer.MarshalYAMLDeterministic) instead of yaml.Marshal for the synthesized ResourceQuota manifest, because non-deterministic output can cause unstable checksums and break reproducible builds.", "category": "correctness", "verdict": "supported", "priori... | null |
NVIDIA__aicr__922 | NVIDIA/aicr | 922 | defect | 6ffbd88110bf0eb30cdac7c0a5bc6f282e453f70 | 80b2038415f981e4ab7b441b91d925af9c9ac3a0 | fix(bundler): split helmfile bundle into CRD + main sub-helmfiles | ## Summary
`helm-diff` renders every release against the live cluster's REST mapper before any release is installed. On a fresh cluster this fails for charts whose templates reference a CRD installed by a different chart in the same bundle (e.g., `nodewright-customizations` uses `kind: Skyhook`, registered by `nodewri... | diff --git a/demos/cuj1-gke-config.md b/demos/cuj1-gke-config.md
index 04dfbbc621..42faca397a 100644
--- a/demos/cuj1-gke-config.md
+++ b/demos/cuj1-gke-config.md
@@ -158,11 +158,7 @@ parallelism and idempotent re-apply. This will take a few min.
```shell
cd ./bundle
-# --skip-diff-on-install avoids a fresh-cluster... | 4 | 3 | 1 | [{"id": "G0", "claim": "The three Generate calls in crd_split_test.go pass context.Background() into an I/O-producing path and should use cancelable context.WithTimeout to avoid hangs and bound test runtime, per the repo guideline that all I/O operations must use a context with timeout.", "category": "testing", "verdic... | null |
NVIDIA__cccl__3339 | NVIDIA/cccl | 3,339 | defect | 6c3cbb69b4a23fb2a03abe8c938200eed4c90020 | bad68138832d592b965657d82c59f0d03934087d | refactor `<cuda/std/cstdlib>` | This PR implements refactor of `<cuda/std/cstdlib>`.
Changes:
* removed imports of functions that are `__host__` only, such as `exit` or `atof`
* moved `malloc`-related functions to `<cuda/std/__cstdlib/malloc.h>` module
* added implementation of `calloc` and `aligned_alloc` for `__device__`
| diff --git a/libcudacxx/include/cuda/std/__cstdlib/malloc.h b/libcudacxx/include/cuda/std/__cstdlib/malloc.h
new file mode 100644
index 000000000000..90c97c987edc
--- /dev/null
+++ b/libcudacxx/include/cuda/std/__cstdlib/malloc.h
@@ -0,0 +1,78 @@
+// -*- C++ -*-
+//===---------------------------------------------------... | 3 | 3 | 1 | [{"id": "G0", "claim": "miscco asks what issue the new _LIBCUDACXX_HAS_ALIGNED_ALLOC_*/_LIBCUDACXX_ALIGNED_ALLOC_* availability-macro block solves and suggests it should rather be a _CCCL_EXECK_CHECK_DISABLE.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim":... | null |
NVIDIA__cccl__3355 | NVIDIA/cccl | 3,355 | defect | cc7c1bb7e888dcfc8665ca4936d8e99c7476a847 | 22afb87cad9a46ae9d122e693ad0a1a0d3f61a26 | implement `<cuda/std/numbers>` | This PR implements `<numbers>` from C++20 ([P0631R8](https://wg21.link/P0631R8)) and makes it available back to C++14 (no extra effort was required).
Fixes: #965
| diff --git a/docs/libcudacxx/standard_api.rst b/docs/libcudacxx/standard_api.rst
index be806240615c..699a815b3ce7 100644
--- a/docs/libcudacxx/standard_api.rst
+++ b/docs/libcudacxx/standard_api.rst
@@ -76,6 +76,8 @@ Feature availability:
- C++20 ``std::assume_aligned`` in ``<memory>`` is available in C++11.
+- ... | 3 | 3 | 1 | [{"id": "G0", "claim": "Enforce [math.constants]-3 by giving the primary template an always-triggering static_assert (via a helper struct), so that a program instantiating a primary template of a mathematical constant variable template is ill-formed.", "category": "correctness", "verdict": "supported", "priority": "P1"... | null |
NVIDIA__cccl__3361 | NVIDIA/cccl | 3,361 | defect | cc7c1bb7e888dcfc8665ca4936d8e99c7476a847 | aca1e83965a78267458e51293d3b03c600919fa2 | Implement `cuda::std::numeric_limits` for `__half` and `__nv_bfloat16` | Partially implements #3349 for `__half` and `__nv_bfloat16`. | diff --git a/libcudacxx/include/cuda/std/limits b/libcudacxx/include/cuda/std/limits
index 98c63813b7b9..b258cf7af045 100644
--- a/libcudacxx/include/cuda/std/limits
+++ b/libcudacxx/include/cuda/std/limits
@@ -22,7 +22,10 @@
#endif // no system header
#include <cuda/std/__bit/bit_cast.h>
-#include <cuda/std/__type... | 1 | 1 | 0 | [{"id": "G0", "claim": "The `__numeric_limits_type_selector` class template specializations could be replaced with constexpr functions to choose the `__numeric_limits_type` enum value.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
NVIDIA__cccl__4346 | NVIDIA/cccl | 4,346 | defect | d55af46799ed4f661f3b32d00d7b546be4bc521d | 51332cbe31d773be50be17c229ba09d8c9ae039a | Implement selected string manipulation and examination C functions | This PR implements selected string manipulation and examination functions from `<cstring>` and makes them available in constexpr context. | diff --git a/libcudacxx/include/cuda/std/cstring b/libcudacxx/include/cuda/std/cstring
index df114b327c90..d0a19f222e58 100644
--- a/libcudacxx/include/cuda/std/cstring
+++ b/libcudacxx/include/cuda/std/cstring
@@ -21,6 +21,8 @@
# pragma system_header
#endif // no system header
+#include <cuda/std/__type_traits/is... | 4 | 4 | 0 | [{"id": "G0", "claim": "The internal constexpr string helpers should be named with the `__cccl_constexpr_` prefix (e.g. `__strlen_impl` as `__cccl_constexpr_strlen`) throughout.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The static_assert ty... | null |
NVIDIA__cccl__5651 | NVIDIA/cccl | 5,651 | defect | 7dd05fbbe73dc8ab2f349c786af3d9ea16154e02 | aaf065e4562ef7a96decc240f0cd5a44d0826b83 | Drop `thrust::strided_iterator` | This drops `thrust::strided_iterator` in favor of `cuda::strided_iterator`
Both are quite similar but I opted to keep the old thrust implementation, because it provides us with a clearer deprecation message | diff --git a/libcudacxx/include/cuda/__iterator/strided_iterator.h b/libcudacxx/include/cuda/__iterator/strided_iterator.h
index 4c05229f4a70..7a202f9628fa 100644
--- a/libcudacxx/include/cuda/__iterator/strided_iterator.h
+++ b/libcudacxx/include/cuda/__iterator/strided_iterator.h
@@ -42,7 +42,7 @@ _CCCL_BEGIN_NAMESPA... | 1 | 1 | 1 | [{"id": "G0", "claim": "Do not globally disable deprecation warnings (CCCL_IGNORE_DEPRECATED_API) for all Thrust header tests; any suppression that is truly needed should be narrowly scoped, e.g. by adding a regex for the affected header instead.", "category": "design", "verdict": "supported", "priority": "P1", "scope"... | null |
NVIDIA__cccl__7835 | NVIDIA/cccl | 7,835 | defect | a0a6bfdb5bd7339faa308000db438660df204db4 | 9f03fbcf6da6175659463c4e8199579833c24571 | Use tuning policy as tag for tuning environment | - [x] Merge before: #7810
- [x] Merge before: #7565 (so we can migrate env unit tests using scan policies)
This proposes a simplification of how users can define their tunings. | diff --git a/cub/benchmarks/bench/transform/common.h b/cub/benchmarks/bench/transform/common.h
index 90547fc2dd6f..08cb5df557b4 100644
--- a/cub/benchmarks/bench/transform/common.h
+++ b/cub/benchmarks/bench/transform/common.h
@@ -26,8 +26,7 @@
#include <nvbench_helper.cuh>
#if !TUNE_BASE
-// TODO(bgruber): can we ... | 2 | 1 | 0 | [{"id": "G0", "claim": "The environment construction in `__tune` would be easier to read as a `using tuning_env` alias instead of an `__env` variable.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Since the policy query relies on an internal ty... | null |
NVIDIA__cccl__8027 | NVIDIA/cccl | 8,027 | defect | f3ffc3d495a84447729127895d2768fdd22efb2b | 9013b02318f86b50a37d65a90d48686156d982ee | Fix family arch specific feature detection in `<nv/target>` | I believe the way we right now enable family arch specific features in `<nv/target>` is wrong. If we have a `100f` architecture, it supports only `100f` features. But if we have `103f` architecture, it supports `100f` and `103f`.
Currently, we only allow `103f` features and this PR fixes that. | diff --git a/libcudacxx/include/nv/detail/__target_macros b/libcudacxx/include/nv/detail/__target_macros
index 8d3c2bcf5211..7d6d6a2749eb 100644
--- a/libcudacxx/include/nv/detail/__target_macros
+++ b/libcudacxx/include/nv/detail/__target_macros
@@ -453,10 +453,16 @@
//------------------------------------------------... | 3 | 3 | 1 | [{"id": "G0", "claim": "The PR's family-specific detection treats 103f as a superset of 100f (its new _NV_TARGET_CHECK_FAMILY_SPECIFIC macro passes for sm_100f when checking sm_103f family-specific features), while per the CUDA docs family-specific compatibility only goes upward within a family - sm_100f features work ... | null |
NVIDIA__cccl__8093 | NVIDIA/cccl | 8,093 | defect | d94dc526c38d66ad0179eb05573604cb538c2ff6 | b2ef739abcb34778ef9cfa511ba2b080be4de0cf | Add support for `layout_stride_relaxed` to `dlpack->mdspan` | ## Description
Extend `to_host_mdspan(dlpack)` to handle the new layout `layout_stride_relaxed` and make it the default layout for the conversion from DLPack.
| diff --git a/docs/libcudacxx/extended_api/mdspan/dlpack_to_mdspan.rst b/docs/libcudacxx/extended_api/mdspan/dlpack_to_mdspan.rst
index daa4d7df7fc4..4f208901e28e 100644
--- a/docs/libcudacxx/extended_api/mdspan/dlpack_to_mdspan.rst
+++ b/docs/libcudacxx/extended_api/mdspan/dlpack_to_mdspan.rst
@@ -14,15 +14,15 @@ Conve... | 3 | 3 | 1 | [{"id": "G0", "claim": "The documented default should read `cuda::layout_stride_relaxed` (the type lives in namespace `cuda`, not `cuda::std`).", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The overflow check should be `::cuda::mul_overflow(__str... | null |
NVIDIA__cccl__8213 | NVIDIA/cccl | 8,213 | defect | 6308bbaebfa0b0143646faf02a61d59779d4ad32 | f8b96bff325483e2f2d532f9c1a1c788e774f73d | Unconditionally provide `optional<T&>` | It has been adopted in C++26, so we should unconditionally backport it.
While we are at it clean up the constructor constraints to make them a bit more readable | diff --git a/docs/libcudacxx/standard_api/utility_library/optional.rst b/docs/libcudacxx/standard_api/utility_library/optional.rst
index 943ae7e25325..00f3601884e8 100644
--- a/docs/libcudacxx/standard_api/utility_library/optional.rst
+++ b/docs/libcudacxx/standard_api/utility_library/optional.rst
@@ -11,9 +11,6 @@ Ext... | 3 | 1 | 1 | [{"id": "G0", "claim": "The implementation should be verified to correspond to the latest working draft, since a late LWG fix to optional<T&> was made before it was voted into the standard.", "category": "correctness", "verdict": "opposed", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The value 2026... | null |
NVIDIA__cccl__8314 | NVIDIA/cccl | 8,314 | defect | e91cbfcd91033c15eac00eaac8dbfce6f0b6724a | 0122237251e09d96fa200840d680a850654422ef | Add constrained span(initializer_list) constructor | ## Summary
- Re-adds the `span(initializer_list)` constructor that P4144R1 removed from C++26, using Hana Dusíková's constrained fix
- Constructor is constrained with `same_as<value_type>` (prevents narrowing) and `is_const_v<element_type>` (prevents dangling)
- Added to both static and dynamic extent specializations
... | diff --git a/libcudacxx/include/cuda/std/span b/libcudacxx/include/cuda/std/span
index eb9b3502f260..ea2be8c81559 100644
--- a/libcudacxx/include/cuda/std/span
+++ b/libcudacxx/include/cuda/std/span
@@ -24,6 +24,7 @@
#include <cuda/std/__concepts/concept_macros.h>
#include <cuda/std/__concepts/convertible_to.h>
#inc... | 3 | 3 | 0 | [{"id": "G0", "claim": "The bool-literal test should compare elements via boolean value (s[0] && !s[1] && s[2]) instead of comparing to explicit true/false constants.", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The dynamic-extent test should add test... | null |
NVIDIA__cccl__8354 | NVIDIA/cccl | 8,354 | defect | cf1a8ef5de8bec9422b1fcb8ab9e1a61968c5547 | 2b9c42dec1f867e39f75df93b9be1e5397dc46e6 | additional constrains for `layout_stride_relaxed` | ## Description
@NaderAlAwar found that `layout_stride_relaxed` could produce a layout with a "negative" size that is not compensated by the offset.
This PR adds several assertion to prevent the problem and covers the testing of these cases. | diff --git a/libcudacxx/include/cuda/__mdspan/layout_stride_relaxed.h b/libcudacxx/include/cuda/__mdspan/layout_stride_relaxed.h
index 16d8c67efab1..40c57a4ac786 100644
--- a/libcudacxx/include/cuda/__mdspan/layout_stride_relaxed.h
+++ b/libcudacxx/include/cuda/__mdspan/layout_stride_relaxed.h
@@ -261,9 +261,11 @@ clas... | 1 | 1 | 1 | [{"id": "G0", "claim": "Replace the _CCCL_ASSERT(!::cuda::overflow_cast<index_type>(::cuda::uabs(__stride_val)), ...) stride check with _CCCL_ASSERT(::cuda::std::in_range<index_type>(__stride_val), ...), and apply the same in_range-instead-of-overflow_cast pattern in the other places that use it.", "category": "correct... | null |
NVIDIA__cccl__8392 | NVIDIA/cccl | 8,392 | defect | 2402cf629c33463f4868ddfa4a8dd2508dce2a13 | 7d966fa88ee1fb6432fd127670a02bc3881bf32e | Implement `ranges::views::drop_while_view` | ## Description
<!-- Every PR should have a corresponding issue that describes and motivates the work done in the PR -->
See https://github.com/NVIDIA/cccl/issues/93
<!-- Provide a standalone description of changes in this PR. -->
<!-- Note: The pull request title will be included in the CHANGELOG. -->
##... | diff --git a/libcudacxx/include/cuda/std/__ranges/drop_while_view.h b/libcudacxx/include/cuda/std/__ranges/drop_while_view.h
new file mode 100644
index 000000000000..fee5c712355c
--- /dev/null
+++ b/libcudacxx/include/cuda/std/__ranges/drop_while_view.h
@@ -0,0 +1,176 @@
+// -*- C++ -*-
+//===--------------------------... | 4 | 4 | 0 | [{"id": "G0", "claim": "The begin() assertion message should say the drop_while_view needs a \"valid predicate\" instead of a \"non-empty predicate\".", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Every new test file should include \"test_macros.... | null |
NVIDIA__cccl__8404 | NVIDIA/cccl | 8,404 | defect | c2b5a01a6694310dde991492eb1936b508b43986 | 25dde911c7669177ae71158baf88a73639fd2e6d | [libcu++] Make memory resources work with get_memory_resource when wrapped in environment | Right now when an API takes an environment, in order to use `get_memory_resource` on that environment it needs to be wrapped in `cuda::std::execution::prop`. It would be nice to put the resource directly into it, to make it work this PR adds a CRTP base class for resources that implements `query(get_memory_resource)` t... | diff --git a/cub/test/catch2_test_device_reduce_env_api.cu b/cub/test/catch2_test_device_reduce_env_api.cu
index 9b82b841fe1e..87fc662abecc 100644
--- a/cub/test/catch2_test_device_reduce_env_api.cu
+++ b/cub/test/catch2_test_device_reduce_env_api.cu
@@ -1,4 +1,4 @@
-// SPDX-FileCopyrightText: Copyright (c) 2025, NVIDI... | 1 | 1 | 0 | [{"id": "G0", "claim": "The new CRTP `memory_resource_base` indirection is overkill and it would be much better to add the `query(get_memory_resource_t)` method to the individual resources instead.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
NVIDIA__cccl__8454 | NVIDIA/cccl | 8,454 | defect | 6123ec5142cd81dae79c6d26723c287882342289 | 2fe645261b008d1e73e4ad8c4e34273f322f0116 | modernize-use-equals-default | ## Description
<!-- Every PR should have a corresponding issue that describes and motivates the work done in the PR -->
closes <!-- Link issue here -->
<!-- Provide a standalone description of changes in this PR. -->
<!-- Note: The pull request title will be included in the CHANGELOG. -->
## Checklist
<!-... | diff --git a/.clang-tidy b/.clang-tidy
index 6f6cc4465710..9386e11a466e 100644
--- a/.clang-tidy
+++ b/.clang-tidy
@@ -34,7 +34,6 @@ Checks:
- '-modernize-concat-nested-namespaces'
- '-modernize-use-nodiscard'
- '-modernize-use-default-member-init'
- - '-modernize-use-equals-default'
- '-modernize-use-bool... | 4 | 1 | 1 | [{"id": "G0", "claim": "Changing TestParameters()'s body from {} to = default actually changes behavior (default/zero-initialization of data members) and could affect performance; the author was asked to check whether the PR affects this behavior.", "category": "correctness", "verdict": "opposed", "priority": "P2", "sc... | null |
NVIDIA__cccl__8472 | NVIDIA/cccl | 8,472 | defect | 5be48d6e602c9943ab03293d0b4927470edee0a3 | ccff2e72b9a119144ee4a1450d0dff1ce7851943 | `cuda::std::simd` Iterators | ## Description
Follow up PR of
- https://github.com/NVIDIA/cccl/pull/8251
Implement `cuda::std::simd` iterator class and methods `[simd.iterator]`
| diff --git a/libcudacxx/include/cuda/std/__simd/basic_mask.h b/libcudacxx/include/cuda/std/__simd/basic_mask.h
index 38853a7a3741..57c28f359785 100644
--- a/libcudacxx/include/cuda/std/__simd/basic_mask.h
+++ b/libcudacxx/include/cuda/std/__simd/basic_mask.h
@@ -26,6 +26,8 @@
#include <cuda/std/__concepts/same_as.h>
... | 15 | 13 | 8 | [{"id": "G0", "claim": "The constructor should name its parameters like the members they initialize (e.g. __data/__offset) instead of __d/__off.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The explanatory comment about the C++ specification n... | null |
NVIDIA__cccl__8651 | NVIDIA/cccl | 8,651 | defect | a6ff92e407015a1a81d965f9e624073a001db15d | f2b9676c0f5d6df558dc4335818c40abfeb591d1 | Improve `iterator_traits` implementation | Our `iterator_traits` implementation has been a thorn in my side forever. It was completely split between a concepts and C++17 implementation which led to a ton of code duplication.
Even worse, it also led to a bug in the C++17 implementation, where we relied on C++20 concept subsumption.
This made it so that we coul... | diff --git a/libcudacxx/include/cuda/std/__fwd/iterator.h b/libcudacxx/include/cuda/std/__fwd/iterator.h
index 8e7795685602..7aeb940a86ca 100644
--- a/libcudacxx/include/cuda/std/__fwd/iterator.h
+++ b/libcudacxx/include/cuda/std/__fwd/iterator.h
@@ -28,13 +28,8 @@ _CCCL_BEGIN_NAMESPACE_CUDA_STD
template <class _Conta... | 5 | 3 | 0 | [{"id": "G0", "claim": "The new `_CCCL_REQUIRES_EXPR` definition of `__dereferenceable` could use the `_Satisfies()` helper instead of the `requires(__can_reference<...>)` clause spelling.", "category": "maintainability", "verdict": "uncertain", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The rewri... | null |
NVIDIA__cccl__8680 | NVIDIA/cccl | 8,680 | defect | 52f34203dd98d421bc79f6065e537e802ce9f823 | 8e3a8148d4335277c91fdc21e1a8b7ca2e2e8473 | Fix `filter_view` initialization issues | Currently we used member initializer with `filter_view`
However, that breaks some compilers in C++20, so just use the plain default constructor if possible
| diff --git a/ci/matrix.yaml b/ci/matrix.yaml
index 06dd2db10e01..a100d037009a 100644
--- a/ci/matrix.yaml
+++ b/ci/matrix.yaml
@@ -21,6 +21,9 @@ workflows:
# args: '--preset libcudacxx --lit-tests "cuda/utility/basic_any.pass.cpp"' }
#
override:
+ - {jobs: ['build'], project: 'libcudacxx', std: 'all',... | 1 | 1 | 0 | [{"id": "G0", "claim": "The Range/InputRange default constructors in the range.filter test files exist only as workarounds for buggy compilers and, if no longer needed, should be removed.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "pre_existing"}] | null |
NVIDIA__cuda-quantum__1068 | NVIDIA/cuda-quantum | 1,068 | defect | a8c2788043235cd6a61a6522d4222bdc8c5cc7eb | 8e61597f53afeb4c2581c3a5d2e3f59d247e4342 | Process initializer lists for struct types in the bridge. | These changes allow the remaining tests to be activated.
Fix Werror issue. Fix LLVM codegen issue.
| diff --git a/lib/Frontend/nvqpp/ConvertExpr.cpp b/lib/Frontend/nvqpp/ConvertExpr.cpp
index 32e3e030514..d62dd5140bc 100644
--- a/lib/Frontend/nvqpp/ConvertExpr.cpp
+++ b/lib/Frontend/nvqpp/ConvertExpr.cpp
@@ -2152,23 +2152,21 @@ bool QuakeBridgeVisitor::TraverseInitListExpr(clang::InitListExpr *x,
bool QuakeBridgeVi... | 4 | 4 | 1 | [{"id": "G0", "claim": "There is no test covering this type of quantum concatenation (initializer lists of all quantum references being combined into a veq), so one should be added.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The added comment should... | null |
NVIDIA__cuda-quantum__1085 | NVIDIA/cuda-quantum | 1,085 | defect | 979be29d06aa171e7b3604da9aa18b9db8c6affd | 011b8765f7ff4b46b682cb765397b4bd1745eb64 | Add documentation and test for mixed language project | This adds a test for mixing CUDA Quantum and CUDA (GPU) code in the same project. | diff --git a/.github/workflows/config/spelling_allowlist.txt b/.github/workflows/config/spelling_allowlist.txt
index 3e34dd7f6cc..956e7efbec4 100644
--- a/.github/workflows/config/spelling_allowlist.txt
+++ b/.github/workflows/config/spelling_allowlist.txt
@@ -161,6 +161,7 @@ iteratively
lookup
lookups
lvalue
+makef... | 1 | 1 | 0 | [{"id": "G0", "claim": "The sentence 'Above, :code:`nvq++` is used for the link step will make sure the CUDA' is missing 'and' and should read 'is used for the link step and will make sure the CUDA'.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
NVIDIA__cuda-quantum__1556 | NVIDIA/cuda-quantum | 1,556 | defect | c029a2a0226e65ed77a6e6c753a0cfb24ac2b85e | da98dada078d23f8c330e279dbf4c2cf60d99cec | [experimental/stateHandling] extend the semantics of quake.init_state | Extend the init_state op to take !cc.state types.
This changes the semantics of init_state to be a family of initializations. It can use a vector of floats directly or a cudaq::state object. Additionally, it may use a runtime library call with move semantics if the initializer is a cudaq::state object.
Requires #... | diff --git a/include/cudaq/Frontend/nvqpp/ASTBridge.h b/include/cudaq/Frontend/nvqpp/ASTBridge.h
index 770a6084dcf..ce67fbe5774 100644
--- a/include/cudaq/Frontend/nvqpp/ASTBridge.h
+++ b/include/cudaq/Frontend/nvqpp/ASTBridge.h
@@ -779,10 +779,6 @@ inline bool isCharPointerType(mlir::Type t) {
return false;
}
-i... | 1 | 1 | 0 | [{"id": "G0", "claim": "The getCudaqStateAsVector intrinsic is now redundant and should just be deleted.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "pre_existing"}] | null |
NVIDIA__cuda-quantum__1680 | NVIDIA/cuda-quantum | 1,680 | defect | 07c0bc5d8a2b2efbbf16e10c8b45cdc5afaa9fc6 | 288ef42819f836df0bcb355205d0b1d591232233 | Fix mismatches between input state and simulation engine precision. | It may be the case that the state vector data is in a precision that does not match that of the simulator. The runtime library knows precisely what simulator has been selected and can therefore convert the state vector to the expected format at runtime. This conversion may be *expensive* if the state vector is quite lo... | diff --git a/include/cudaq/Optimizer/CodeGen/QIRFunctionNames.h b/include/cudaq/Optimizer/CodeGen/QIRFunctionNames.h
index 2e7188033ee..17b23165055 100644
--- a/include/cudaq/Optimizer/CodeGen/QIRFunctionNames.h
+++ b/include/cudaq/Optimizer/CodeGen/QIRFunctionNames.h
@@ -16,57 +16,61 @@
namespace cudaq::opt {
/// ... | 1 | 1 | 0 | [{"id": "G0", "claim": "Add some cudaq::info(...) log messages at the places where this code makes copies of the input state data.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
NVIDIA__cuda-quantum__1708 | NVIDIA/cuda-quantum | 1,708 | defect | 6016e2f23216b64f0fca083bef22fb8266ea9049 | 515fdb83d85c32ee55bde6da100cd21f02159729 | Enable custom unitary operations in C++ library mode | Add `CUDAQ_REGISTER_OPERATION` macro that supports fully parameterized unitary matrices. This first PR focuses solely on library mode simulation, and a follow up PR will hook up the auto-generated C function to our MLIR pipeline. | diff --git a/runtime/cudaq/qis/execution_manager.h b/runtime/cudaq/qis/execution_manager.h
index 6db96656d41..e51318217a4 100644
--- a/runtime/cudaq/qis/execution_manager.h
+++ b/runtime/cudaq/qis/execution_manager.h
@@ -29,15 +29,6 @@ struct QuditInfo {
}
};
-struct QuantumOperation {
- const std::string &opNam... | 6 | 2 | 2 | [{"id": "G0", "claim": "The suggested code would make the C++17/C++20 handling of the remove_cvref alias more explicit by using std::remove_cvref directly under CUDAQ_USE_STD20.", "category": "design", "verdict": "uncertain", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The reviewer asks whether the... | null |
NVIDIA__cuda-quantum__1711 | NVIDIA/cuda-quantum | 1,711 | defect | e927dea15864f54942b93bbe43f4190b4dc2d137 | fa549bab7de3596f75612337fe1ce563f4380142 | Create MPS Simulation State from Tensors | <!--
Thanks for helping us improve CUDA Quantum!
⚠️ The pull request title should be concise and understandable for all.
⚠️ If your pull request fixes an open issue, please link to the issue.
Checklist:
- [ ] I have added tests to cover my changes.
- [ ] I have updated the documentation accordingly.
- [ ] I ... | diff --git a/docs/sphinx/api/languages/cpp_api.rst b/docs/sphinx/api/languages/cpp_api.rst
index 86efc780c41..f3f51d5c9da 100644
--- a/docs/sphinx/api/languages/cpp_api.rst
+++ b/docs/sphinx/api/languages/cpp_api.rst
@@ -62,6 +62,8 @@ Common
.. doxygentypedef:: cudaq::tensor
+.. doxygentypedef:: cudaq::TensorState... | 1 | 1 | 0 | [{"id": "G0", "claim": "The from_data bindings should pass the tensors vector by (const) reference instead of by value.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
NVIDIA__cuda-quantum__1825 | NVIDIA/cuda-quantum | 1,825 | defect | e17fbcf7334aba2a93419c8d9f51107b66730fc2 | 6dc85293b9d0ae8d14af5fccb58718b372a8d067 | Fix storage order of noise kraus ops | <!--
Thanks for helping us improve CUDA Quantum!
⚠️ The pull request title should be concise and understandable for all.
⚠️ If your pull request fixes an open issue, please link to the issue.
Checklist:
- [ ] I have added tests to cover my changes.
- [ ] I have updated the documentation accordingly.
- [ ] I ... | diff --git a/docs/sphinx/examples/python/noise_kraus_operator.py b/docs/sphinx/examples/python/noise_kraus_operator.py
index 1c8e4eb314c..af4b64e9b8f 100644
--- a/docs/sphinx/examples/python/noise_kraus_operator.py
+++ b/docs/sphinx/examples/python/noise_kraus_operator.py
@@ -22,7 +22,7 @@ def kraus_operators(probabili... | 2 | 2 | 0 | [{"id": "G0", "claim": "The comment '// This supports 2-d array in either row or column major.' should use the '///' doc-comment style instead of '//'.", "category": "documentation", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The availableOps member should be a regular C-st... | null |
NVIDIA__cuda-quantum__2013 | NVIDIA/cuda-quantum | 2,013 | defect | decc706cc3702071f27e6927e52752c9bac3bb76 | 248877cd634b6accb111d951ceae0e09e206deb3 | Update remote-mqpu tests to cleanly abort during assertion checks | Update `targettests/Remote-Sim/*.cpp` to use a new macro instead of `assert()` because the standard `assert()` calls are causing hangs during test failures rather than cleanly aborting with an error message. I manually tested this change by modifying one of the assertion checks to intentionally fail while running `llvm... | diff --git a/targettests/Remote-Sim/args_parsing.cpp b/targettests/Remote-Sim/args_parsing.cpp
index e26510a4774..7e998999bb6 100644
--- a/targettests/Remote-Sim/args_parsing.cpp
+++ b/targettests/Remote-Sim/args_parsing.cpp
@@ -12,6 +12,7 @@
// RUN: nvq++ %cpp_std --enable-mlir --target remote-mqpu --remote-mqpu-auto... | 1 | 1 | 0 | [{"id": "G0", "claim": "The new remote_test_assert.h comment states that llvm-lit tests for remote-mqpu hang rather than abort on assertion failure without explaining why, so the reviewer asks whether the root cause of the hang is known.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": ... | null |
NVIDIA__cuda-quantum__2027 | NVIDIA/cuda-quantum | 2,027 | defect | 258af134561795e1433de96941a27986e17b728e | 03d0145adea334b8a68013822e401f2804fb3bd7 | Bug fixes for remote state implementation |
<!--
Thanks for helping us improve CUDA Quantum!
⚠️ The pull request title should be concise and understandable for all.
⚠️ If your pull request fixes an open issue, please link to the issue.
Checklist:
- [ ] I have added tests to cover my changes.
- [ ] I have updated the documentation accordingly.
- [ ... | diff --git a/runtime/cudaq.h b/runtime/cudaq.h
index eb83bb39759..dafcd7947db 100644
--- a/runtime/cudaq.h
+++ b/runtime/cudaq.h
@@ -22,7 +22,13 @@ extern bool globalFalse;
} // namespace __internal__
/// @brief Given a string kernel name, return the corresponding Quake code
+// This will throw if the kernel name i... | 2 | 2 | 0 | [{"id": "G0", "claim": "The comment in get_state.h should read 'directed' instead of 'direct' (typo fix suggested via a suggestion block).", "category": "documentation", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "If users are impacted by C-type kernels not supporting lazy (... | null |
NVIDIA__cuda-quantum__2109 | NVIDIA/cuda-quantum | 2,109 | defect | 37474b2765e27ba055baa367bc331f2fc585eecc | 8910a73e7a3d6407d68b97bbdee9c4a8463a369e | Add dynamic tuple layout handling | A std::tuple can be laid out in memory either like a struct or like the reverse of a struct. We need to be able to detect which one of these schemes is being used and it depends on the C++ headers being used. (libstdc++ is reversed, while libc++ is like a struct.)
| diff --git a/include/cudaq/Frontend/nvqpp/ASTBridge.h b/include/cudaq/Frontend/nvqpp/ASTBridge.h
index db678437cb7..9aa8e3183d7 100644
--- a/include/cudaq/Frontend/nvqpp/ASTBridge.h
+++ b/include/cudaq/Frontend/nvqpp/ASTBridge.h
@@ -151,12 +151,14 @@ class QuakeBridgeVisitor
llvm::ArrayRef<clang::Decl *> reachab... | 1 | 1 | 0 | [{"id": "G0", "claim": "The isTupleReverseVar helper could be simplified to `return decl->getName().equals(\"TupleIsReverse\")`.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
NVIDIA__cuda-quantum__2147 | NVIDIA/cuda-quantum | 2,147 | defect | d6585c8263a47f5cd07d03338ff93e46d34b6ce6 | 2c707843945541fd54c03e47c01ff43be98cdfb3 | Fix failing NVQC test | ### Description
Disable NVQC test that runs old argument synthesis until the new argument synthesis is plugged in into NVQC as well.
See https://github.com/NVIDIA/cuda-quantum/issues/2146
Task to enable the test is listed in https://github.com/NVIDIA/cuda-quantum/issues/1931 | diff --git a/.github/workflows/integration_tests.yml b/.github/workflows/integration_tests.yml
index 25bb6a9eb9e..3e7f968e4af 100644
--- a/.github/workflows/integration_tests.yml
+++ b/.github/workflows/integration_tests.yml
@@ -553,7 +553,8 @@ jobs:
for filename in `find targettests/Remote-Sim -name '*.cpp'... | 2 | 2 | 2 | [{"id": "G0", "claim": "The new `*state_init*` exclusion pattern would also disable targettests/Remote-Sim/state_init_vector.cpp; the author should confirm that is necessary or desired.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Renaming the tes... | null |
NVIDIA__cuda-quantum__2193 | NVIDIA/cuda-quantum | 2,193 | defect | 8c5c1dd889805c529823d23f8e7ee7b7658f90e8 | 43ec907099b32ffac147ad50c4ca06f36e5c6fc4 | Add Clifford-only simulator (Stim) | Add https://github.com/quantumlib/Stim (v1.13.0) simulator for Clifford-only circuits.
The user requests it like other targets: `--target stim` and `cudaq.set_target('stim')`. | diff --git a/.gitmodules b/.gitmodules
index 2106b04b45b..622993890c6 100644
--- a/.gitmodules
+++ b/.gitmodules
@@ -45,3 +45,6 @@
path = tpls/Crow
url = https://github.com/CrowCpp/Crow.git
ignore = dirty
+[submodule "tpls/Stim"]
+ path = tpls/Stim
+ url = https://github.com/quantumlib/Stim
diff --git a/NOTICE b/... | 4 | 4 | 2 | [{"id": "G0", "claim": "The pull request should add tests (a couple of Python ones) showcasing which gates Stim supports and the behaviour on unsupported gates, since no new tests accompany the simulator.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "a... | null |
NVIDIA__cuda-quantum__2197 | NVIDIA/cuda-quantum | 2,197 | defect | 7e675ad28bced01277b429136fdc74d226aadd11 | 45fb1a33cbce71366d2bcc9740c76d739df1ab3d | Add missing optimizations for translation to openqasm2 |
### Description
Add missing optimizations for translation to openqasm2
Closes: https://github.com/NVIDIA/cuda-quantum/issues/2176
| diff --git a/lib/Optimizer/CodeGen/Pipelines.cpp b/lib/Optimizer/CodeGen/Pipelines.cpp
index ff716ddfa28..9285a105553 100644
--- a/lib/Optimizer/CodeGen/Pipelines.cpp
+++ b/lib/Optimizer/CodeGen/Pipelines.cpp
@@ -43,6 +43,11 @@ void cudaq::opt::commonPipelineConvertToQIR(
void cudaq::opt::addPipelineTranslateToOpenQAS... | 1 | 1 | 0 | [{"id": "G0", "claim": "Rename the test `test_translate_openqasm_loop_` to `test_translate_openqasm_vector()`.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
NVIDIA__cuda-quantum__2211 | NVIDIA/cuda-quantum | 2,211 | defect | 019578a61de188f6ef372a50fc827bd144115f22 | 2d10d8f60dd6edb383b9f62d141ed36d0aeee21f | Fix argument conversion issues | ### Description
Fix issues with argument conversion
### Details
#### Issues (discovered while running trotter example on remote sim):
- Passing pauli_word as a parameter caused a seg fault due to casting to string
- Passing a vector of pauli_word as a parameter caused a seg fault due to incorrect size of eleme... | diff --git a/runtime/common/ArgumentConversion.cpp b/runtime/common/ArgumentConversion.cpp
index a9c12c0fe0c..eeb121a3ff5 100644
--- a/runtime/common/ArgumentConversion.cpp
+++ b/runtime/common/ArgumentConversion.cpp
@@ -10,6 +10,7 @@
#include "cudaq/Optimizer/Builder/Intrinsics.h"
#include "cudaq/Optimizer/Builder/R... | 6 | 5 | 1 | [{"id": "G0", "claim": "The new pauli_word handling in dispatchSubtype can be written as `static_cast<cudaq::pauli_word *>(p)->str()` instead of dereferencing the cast pointer first, `(*static_cast<cudaq::pauli_word *>(p)).str()`.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "intr... | null |
NVIDIA__cuda-quantum__2337 | NVIDIA/cuda-quantum | 2,337 | defect | bc17b544bb76e241eb71c6ab14943480eaeaeed2 | 79089cd9f0a1a4b4efc1fc1bd8fcd8f021ea238f | Add Braket backend | <!--
Thanks for helping us improve CUDA Quantum!
⚠️ The pull request title should be concise and understandable for all.
⚠️ If your pull request fixes an open issue, please link to the issue.
-->
### Description
Adds a Braket backend for submitting CUDA-Q programs to Amazon Braket.
This PR includes commi... | diff --git a/.gitmodules b/.gitmodules
index 622993890c6..1eb1006f28a 100644
--- a/.gitmodules
+++ b/.gitmodules
@@ -48,3 +48,6 @@
[submodule "tpls/Stim"]
path = tpls/Stim
url = https://github.com/quantumlib/Stim
+[submodule "tpls/aws-sdk-cpp"]
+ path = tpls/aws-sdk-cpp
+ url = https://github.com/aws/aws-sdk-cpp.g... | 19 | 15 | 8 | [{"id": "G0", "claim": "The default of CUDAQ_TEST_MOCK_SERVERS should not be changed from OFF to ON; the change was unintentional and should be reverted.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The separate CUDAQ_INTEGRATION_TEST_BRAKET option is ... | null |
NVIDIA__cuda-quantum__2354 | NVIDIA/cuda-quantum | 2,354 | defect | 740c07bd33f62f563dfa2d270f773127e8f082f7 | f0176aefaeb1f5ac8b70ce95b45f6ba5db9c6625 | Add a few state-related cc ops | ### Description
Add a few state-related quake ops:
- `quake.create_state`
- `quake.delete_state`
- `quake.get_number_of_qubits`
- `quake.get_state`
The ops are created by the kernel builder or the AST bridge and are either optimized away during argument synthesis, or converted to MLIR in `QuakeToCodegen` pass... | diff --git a/include/cudaq/Optimizer/Dialect/CC/CCOps.td b/include/cudaq/Optimizer/Dialect/CC/CCOps.td
index a58e3d403d6..d58fc6bc335 100644
--- a/include/cudaq/Optimizer/Dialect/CC/CCOps.td
+++ b/include/cudaq/Optimizer/Dialect/CC/CCOps.td
@@ -898,6 +898,68 @@ def cc_AddressOfOp : CCOp<"address_of", [Pure,
}];
}
... | 7 | 7 | 3 | [{"id": "G0", "claim": "The mlir example in the create_state description shows only one argument while the op's argument list below it has two (data and length).", "category": "documentation", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The type shown in the get_number_of_qu... | null |
NVIDIA__cuda-quantum__2379 | NVIDIA/cuda-quantum | 2,379 | defect | 3300b122d5ea17c2f726358a45c37c23c6e1d88f | 2c9e3553471224c163b6f044b7d8817ef67ea1b7 | Fix failing tests that use TranslateToOpenQASM pipeline | ### Description
Fix failing tests that use `TranslateToOpenQASM` pipeline
- Update `cc.GlobalOp` with symbol visibility so it can be removed by `symbol-dce` pass if not used
- set private visibility on various auxiliary global ops created during other passes.
- Run additional passes as part of pipelines that tr... | diff --git a/include/cudaq/Optimizer/Dialect/CC/CCOps.td b/include/cudaq/Optimizer/Dialect/CC/CCOps.td
index a58e3d403d6..31baeb640e2 100644
--- a/include/cudaq/Optimizer/Dialect/CC/CCOps.td
+++ b/include/cudaq/Optimizer/Dialect/CC/CCOps.td
@@ -10,6 +10,7 @@
#define CUDAQ_OPTIMIZER_DIALECT_CC_OPS
include "mlir/Inte... | 3 | 3 | 0 | [{"id": "G0", "claim": "Make the new cc.global constant pretty-print as `cc.global constant private @...` instead of appending `{sym_visibility = \"private\"}`.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The `r?<adj>` operation forms (e.g. quake.rx<a... | null |
NVIDIA__cuda-quantum__2394 | NVIDIA/cuda-quantum | 2,394 | defect | 0561cb1ce05566c61e56803ec5f43c8fcb4d696e | bdd3e10d7428624169ea58184807223806344baa | Fixing observe for single spin operator | Adds a check to see if the execution context is observe to avoid the bug mentioned in issue #2382.
See also https://github.com/NVIDIA/cuda-quantum/pull/2417. | diff --git a/runtime/common/BaseRemoteRESTQPU.h b/runtime/common/BaseRemoteRESTQPU.h
index 0834bc7e3e9..6ee47d2d5d8 100644
--- a/runtime/common/BaseRemoteRESTQPU.h
+++ b/runtime/common/BaseRemoteRESTQPU.h
@@ -682,6 +682,8 @@ class BaseRemoteRESTQPU : public cudaq::QPU {
}
}
+ bo... | 2 | 2 | 1 | [{"id": "G0", "claim": "Consider dropping the leftover example comments in the new test file and renaming it to something descriptive such as observe_single_term_spin_op.cpp or fix_issue_2382.cpp.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "T... | null |
NVIDIA__cuda-quantum__2398 | NVIDIA/cuda-quantum | 2,398 | defect | 3a730c7d06a70cc63ae8c4a5791c83e607579536 | 325f9aa7a961f27a50753eb5bf42d84cee8f7c27 | Support measurement sampling seed for `cutensornet` backends | <!--
Thanks for helping us improve CUDA-Q!
⚠️ The pull request title should be concise and understandable for all.
⚠️ If your pull request fixes an open issue, please link to the issue.
Checklist:
- [ ] I have added tests to cover my changes.
- [ ] I have updated the documentation accordingly.
- [ ] I have r... | diff --git a/runtime/nvqir/cutensornet/CMakeLists.txt b/runtime/nvqir/cutensornet/CMakeLists.txt
index 9e5486d5ec0..39fc174f7a4 100644
--- a/runtime/nvqir/cutensornet/CMakeLists.txt
+++ b/runtime/nvqir/cutensornet/CMakeLists.txt
@@ -60,8 +60,8 @@ set(CUTENSORNET_PATCH ${CMAKE_MATCH_1})
set(CUTENSORNET_VERSION ${CUTE... | 4 | 3 | 0 | [{"id": "G0", "claim": "The new `std::mt19937 &rngEng` parameter threaded through the MPSSimulationState and TensorNetState constructors and create* factories is hard to read and should be renamed (e.g. to randomEngine/randomEng) at every declaration, definition and call site.", "category": "maintainability", "verdict"... | null |
NVIDIA__cuda-quantum__2414 | NVIDIA/cuda-quantum | 2,414 | defect | 39a46e62ccc85922958925441c0e2e489eb27a83 | 8f43feecf53e3bd965a5272dd06bffc6cc913fee | Improve binary sizes by not globing MLIR dialects/passes | ### Description
By not globing all MLIR dialects/passes, many of which CUDAQ does not use, we can significantly improve binary sizes:
```
Filename Size (old) Size (new) Improvement
-------- ----------- ----------- -----------
cudaq-opt 161... | diff --git a/include/cudaq/Optimizer/InitAllDialects.h b/include/cudaq/Optimizer/InitAllDialects.h
index 19298e3976b..fdb41114d5b 100644
--- a/include/cudaq/Optimizer/InitAllDialects.h
+++ b/include/cudaq/Optimizer/InitAllDialects.h
@@ -10,13 +10,34 @@
#include "cudaq/Optimizer/Dialect/CC/CCDialect.h"
#include "cud... | 1 | 1 | 1 | [{"id": "G0", "claim": "The new explicit dialect registry should not register the Affine, MemRef or SCF dialects: the project does not need or want to use them, even if some dusty deck tests may still use them.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
NVIDIA__cuda-quantum__2416 | NVIDIA/cuda-quantum | 2,416 | defect | 39a46e62ccc85922958925441c0e2e489eb27a83 | af14f1b9feb90f4367f0724d5649f01f8d50229b | Support measurements of subveqs for braket | ### Description
Support measurements of subveqs for braket
- Add support for setting and using output names in braket executor and server helper
- Add `CombineMeasurements` pass
- extend measurements from `subveq` to the full vector and add `output_names` attributes
- combine separate measurements into one
... | diff --git a/include/cudaq/Optimizer/Transforms/Passes.td b/include/cudaq/Optimizer/Transforms/Passes.td
index 15724c64847..60ec50ac2ad 100644
--- a/include/cudaq/Optimizer/Transforms/Passes.td
+++ b/include/cudaq/Optimizer/Transforms/Passes.td
@@ -141,6 +141,32 @@ def CheckKernelCalls : Pass<"check-kernel-calls", "mli... | 14 | 12 | 0 | [{"id": "G0", "claim": "The 'Naive mapping of R1 to U3' comment is unnecessary because this holds universally wrt decompositions, so it should be removed.", "category": "maintainability", "verdict": "uncertain", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Loop normalization and unrolling should not... | null |
NVIDIA__cuda-quantum__2431 | NVIDIA/cuda-quantum | 2,431 | defect | 75a91d094271fc334eb831f15c7c9f5e4946470b | a38622d9d7bc506928b55d75e4c0ef4093fa00d8 | Improve performance of some opt passes | ### Improve performance of some of the compiler passes
This change runs some passes on `FuncOp` instead of `ModuleOp` so the optimizations can run in parallel on multiple functions.
- Use `cc-loop-unroll` and `cc-loop-normalize` as func passes instead of module passes
- Make `state-prep` a func pass as well
- ... | diff --git a/include/cudaq/Optimizer/Transforms/Passes.td b/include/cudaq/Optimizer/Transforms/Passes.td
index 60ec50ac2ad..c150ce46823 100644
--- a/include/cudaq/Optimizer/Transforms/Passes.td
+++ b/include/cudaq/Optimizer/Transforms/Passes.td
@@ -825,7 +825,7 @@ def DeleteStates : Pass<"delete-states", "mlir::ModuleO... | 4 | 4 | 2 | [{"id": "G0", "claim": "Two `pm.addPass(createCanonicalizerPass())` calls in the jitCode pipeline in runtime/cudaq/builder/kernel_builder.cpp were missed and still run at module level instead of being nested at func level like the rest of the passes.", "category": "correctness", "verdict": "supported", "priority": "P1"... | null |
NVIDIA__cuda-quantum__2432 | NVIDIA/cuda-quantum | 2,432 | defect | a595985dd8ade2581a9db43258f3ef713f280455 | 1319017dea0e637c2c3ebf048358a04fb95eca8a | Support for allocatable quantum structs | This allows the basic support for a struct of quantum vectors or singletons. Previously quantum structs were limited strictly to references, but these changes allow qubits to be allocated implicitly.
Remove test as no longer relevant. Add new test to cover cases. | diff --git a/include/cudaq/Optimizer/Dialect/Quake/QuakeTypes.h b/include/cudaq/Optimizer/Dialect/Quake/QuakeTypes.h
index c14e22e838e..550aa34d066 100644
--- a/include/cudaq/Optimizer/Dialect/Quake/QuakeTypes.h
+++ b/include/cudaq/Optimizer/Dialect/Quake/QuakeTypes.h
@@ -53,4 +53,7 @@ inline bool isQuantumValueType(ml... | 3 | 1 | 0 | [{"id": "G0", "claim": "The comment on isConstQuantumBits is misleading: it reads as if the function returns true only for a quake reference type (quake::RefType), when it actually returns true for any type in the set {ref, veq, struq} whose composition has a compile-time known number of qubits.", "category": "document... | null |
NVIDIA__cuda-quantum__2509 | NVIDIA/cuda-quantum | 2,509 | defect | c96be85ae6ac9ceaa1f7a23841bb00daf7ab4332 | 440525d1849666bc619a311e331d07cbccc56e65 | Enable multi-GPU for dynamics target in Python | <!--
Thanks for helping us improve CUDA-Q!
⚠️ The pull request title should be concise and understandable for all.
⚠️ If your pull request fixes an open issue, please link to the issue.
Checklist:
- [ ] I have added tests to cover my changes.
- [ ] I have updated the documentation accordingly.
- [ ] I have r... | diff --git a/docs/sphinx/api/languages/python_api.rst b/docs/sphinx/api/languages/python_api.rst
index d84ddc427ce..3c26a73e6d6 100644
--- a/docs/sphinx/api/languages/python_api.rst
+++ b/docs/sphinx/api/languages/python_api.rst
@@ -157,6 +157,8 @@ Data Types
.. autoclass:: cudaq.operator.cudm_state.CuDensityMatState
... | 6 | 4 | 0 | [{"id": "G0", "claim": "The docs should state that N in the mpiexec command is the number of processes.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The user should have a way to be told that the selected integrator does not support distributed ... | null |
NVIDIA__cuda-quantum__2520 | NVIDIA/cuda-quantum | 2,520 | defect | 7903c8b7e165cf69cd9e10d4a91b15200b4897e7 | 67a970c87624a307a23dd3856abcc34b0e8c9204 | Support tensornet trajectory simulation for unitary mixture noise channels | <!--
Thanks for helping us improve CUDA-Q!
⚠️ The pull request title should be concise and understandable for all.
⚠️ If your pull request fixes an open issue, please link to the issue.
Checklist:
- [ ] I have added tests to cover my changes.
- [ ] I have updated the documentation accordingly.
- [ ] I have r... | diff --git a/docs/sphinx/using/backends/simulators.rst b/docs/sphinx/using/backends/simulators.rst
index 43d115f127c..234bc5e2336 100644
--- a/docs/sphinx/using/backends/simulators.rst
+++ b/docs/sphinx/using/backends/simulators.rst
@@ -483,6 +483,7 @@ Specific aspects of the simulation can be configured by setting the... | 9 | 5 | 2 | [{"id": "G0", "claim": "SimulatorTensorNetBase::applyNoiseChannel is far too large and the code in it should be modularized.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The Pauli Y matrix is defined with the wrong sign order: it should be {{0... | null |
NVIDIA__cuda-quantum__2522 | NVIDIA/cuda-quantum | 2,522 | defect | c96be85ae6ac9ceaa1f7a23841bb00daf7ab4332 | 8656f5ceac349832d46aa79804c5ac74ee9f9720 | Environment variable for tensornet observe calculation | <!--
Thanks for helping us improve CUDA-Q!
⚠️ The pull request title should be concise and understandable for all.
⚠️ If your pull request fixes an open issue, please link to the issue.
Checklist:
- [ ] I have added tests to cover my changes.
- [ ] I have updated the documentation accordingly.
- [ ] I have r... | diff --git a/docs/sphinx/using/backends/simulators.rst b/docs/sphinx/using/backends/simulators.rst
index d8880a2facd..a16b7735b9b 100644
--- a/docs/sphinx/using/backends/simulators.rst
+++ b/docs/sphinx/using/backends/simulators.rst
@@ -482,6 +482,7 @@ Specific aspects of the simulation can be configured by setting the... | 2 | 1 | 0 | [{"id": "G0", "claim": "Asks whether this PR introduces a breaking change: by default tensornet observe now computes only the overall expectation value, so sub-term results are no longer available.", "category": "design", "verdict": "opposed", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The new com... | null |
NVIDIA__cuda-quantum__2567 | NVIDIA/cuda-quantum | 2,567 | defect | 3602887bb1917a492d32f6958a539695a3c8c566 | 151c0dbe0e82d0ac3964930a52371903cfb2b816 | New `cudaq::sample` option: explicit measurements | This PR introduces a new `sample_options` parameter called `explicit_measurements`. When this new option is selected, the behavior of the global register in the `sample_result` is changed. Rather than retaining a single measurement of the final "state" of each qubit in the system, this new option instructs the runtime ... | diff --git a/python/cudaq/runtime/sample.py b/python/cudaq/runtime/sample.py
index 1bcd0f4fc9a..a07d8775e0d 100644
--- a/python/cudaq/runtime/sample.py
+++ b/python/cudaq/runtime/sample.py
@@ -9,7 +9,10 @@
from .utils import __isBroadcast, __createArgumentSet
-def __broadcastSample(kernel, *args, shots_count=0):
+... | 1 | 1 | 0 | [{"id": "G0", "claim": "The new `getTotalShots` accessor should be named in snake case (`get_total_shots`).", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
NVIDIA__cuda-quantum__2570 | NVIDIA/cuda-quantum | 2,570 | defect | d8930461128a9c564d636d7531d21f836eb1a59e | f1666e53503b8ffcb71fa6a00b1841d4c1c9e83a | Fix issues in lift-array-alloc | ### Description
Fix crashes and over-optimizations in lift-array-alloc:
Example:
```python
qubits = cudaq.qvector(2)
arr1 = [1]
t = arr1[0]
arr2 = [0]
arr2[0] = t
b = arr2[0]
x(qubits[b])
```
This example generates the following IR:
```quake
func.func @test3() {
%c0_i64 = arith.consta... | diff --git a/lib/Optimizer/Transforms/LiftArrayAlloc.cpp b/lib/Optimizer/Transforms/LiftArrayAlloc.cpp
index 5a1d0032148..0d24253d5fd 100644
--- a/lib/Optimizer/Transforms/LiftArrayAlloc.cpp
+++ b/lib/Optimizer/Transforms/LiftArrayAlloc.cpp
@@ -40,8 +40,10 @@ class AllocaPattern : public OpRewritePattern<cudaq::cc::All... | 2 | 2 | 1 | [{"id": "G0", "claim": "The switch from replaceOpWithNewOp to create + replaceAllUsesWith + insertOpToErase is unnecessary and aggressively deletes ops (which can leave the IR broken when a pass backs out); revert to replaceOpWithNewOp and let DCE remove the dead LoadOp.", "category": "design", "verdict": "supported", ... | null |
NVIDIA__cuda-quantum__2632 | NVIDIA/cuda-quantum | 2,632 | defect | 1c905dbe71fb52cc95be91ae0469b99ead36e024 | 12c285165cc0cf1008374b269b6f18aef95638cf | Add Pasqal target | ### Description
Adding support from Pasqal's analog neutral atom quantum computer
Checklist:
- [x] I have added tests to cover my changes.
- [x] I have updated the documentation accordingly.
- [x] I have read the CONTRIBUTING document.
- [x] Integration test
| diff --git a/.github/workflows/config/spelling_allowlist.txt b/.github/workflows/config/spelling_allowlist.txt
index b398ad6d154..50c7cef9aed 100644
--- a/.github/workflows/config/spelling_allowlist.txt
+++ b/.github/workflows/config/spelling_allowlist.txt
@@ -82,6 +82,7 @@ OpenSUSE
Ou
POSIX
PSIRT
+Pasqal
Pauli
Pa... | 16 | 16 | 7 | [{"id": "G0", "claim": "Target backends should be fully selectable (opt-in/opt-out) at cmake configuration time, but the pull request adds the Pasqal target unconditionally.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The new PasqalBaseQPU.h fails the... | null |
NVIDIA__cuda-quantum__2653 | NVIDIA/cuda-quantum | 2,653 | defect | 6769bab775f68184f3a48d1f9e215370cbedf017 | 3cf39354f963ba1c5c45a368ee5cf25b0ca553fc | Implement new noise models | This implements the following changes:
* Implement new Pauli noise models + phase damping
* Finish simulator hookup for `apply_noise` (Stim, Tensornet, and NVIDIA trajectory based simulations)
* Finish up some of the Python hookup for `apply_noise` (thanks, @amccaskey)
* Add tests | diff --git a/.github/workflows/config/gitlab_commits.txt b/.github/workflows/config/gitlab_commits.txt
index fd323da0ae9..40b8604660b 100644
--- a/.github/workflows/config/gitlab_commits.txt
+++ b/.github/workflows/config/gitlab_commits.txt
@@ -1,2 +1,2 @@
nvidia-mgpu-repo: cuda-quantum/cuquantum-mgpu.git
-nvidia-mgpu... | 4 | 4 | 3 | [{"id": "G0", "claim": "Pre-registering the built-in noise channels in the NoiseModel constructor seems to make cudaq.evolve break — specifically the python/tests/operator/test_evolve_simulators.py::test_evolve_async test fails.", "category": "correctness", "verdict": "supported", "priority": "P0", "scope": "introduced... | null |
NVIDIA__cuda-quantum__2704 | NVIDIA/cuda-quantum | 2,704 | defect | ec9dfce0748c90b7a0930b7f8758ce6802b32a53 | d2f10220248641ac280de3a1b365d96ad18571e8 | Support Rydberg Hamiltonian in C++ Evolve API | This enables Rydberg Hamiltonian evolution through analog quantum backends, currently QuEra and Pasqal. Authentication unique to each platform is required to run the examples.
QuEra requires valid AWS credentials with Braket access:
```
nvq++ --target quera 'quera_basic.cpp' -o out.x && CUDAQ_LOG_LEVEL=info ./out.... | diff --git a/docs/sphinx/targets/cpp/pasqal.cpp b/docs/sphinx/targets/cpp/pasqal.cpp
new file mode 100644
index 00000000000..0d1064ecc18
--- /dev/null
+++ b/docs/sphinx/targets/cpp/pasqal.cpp
@@ -0,0 +1,69 @@
+// Compile and run with:
+// ```
+// nvq++ --target pasqal pasqal.cpp -o out.x
+// ./out.x
+// ```
+// Assumes... | 11 | 8 | 1 | [{"id": "G0", "claim": "The braces around the single-statement for loop over the atom sites are unnecessary.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The kernel-name lambda need not construct a std::string for the character set; a constexp... | null |
NVIDIA__cuda-quantum__2705 | NVIDIA/cuda-quantum | 2,705 | defect | bc196e3dc852f96b886ca973798b5f4e24a5ac1b | bb09f6a872e0b855a347ffeb613a4a425a0f917f | PR #2683 Follow up | PR #2683 Follow up
- Removing dynamics from the validation's script skip list
- Cleaning up if loop with a single statement enclosed in brackets
- Removing getters in EvolveResult and making optioanl members public, as per the spec
- Updated validation_script to skip dynamics examples in Create Docker image job a... | diff --git a/.github/workflows/publishing.yml b/.github/workflows/publishing.yml
index 5843e4888e1..a798d850fff 100644
--- a/.github/workflows/publishing.yml
+++ b/.github/workflows/publishing.yml
@@ -839,11 +839,10 @@ jobs:
- name: Basic validation (GPU backends)
shell: bash
run: |
- ... | 2 | 1 | 1 | [{"id": "G0", "claim": "Match the spec in evolve_result by removing the intermediate/final distinction for state and expectation values and initializing everything to std::nullopt.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Asking to confirm that the... | null |
NVIDIA__cuda-quantum__2733 | NVIDIA/cuda-quantum | 2,733 | defect | 4da52eccb20fb843c6101ceed6ec570a80ac8b6f | da44d722b18bd73697d17fefe454b80a409b146a | [features/run] Parse primitive types | Not covered: arrays, tuples
Towards: https://github.com/NVIDIA/cuda-quantum/issues/2526
| diff --git a/runtime/common/RecordLogDecoder.h b/runtime/common/RecordLogDecoder.h
index 03d80ab851f..a0bd330d85c 100644
--- a/runtime/common/RecordLogDecoder.h
+++ b/runtime/common/RecordLogDecoder.h
@@ -8,13 +8,81 @@
#pragma once
+#include "cudaq/utils/cudaq_utils.h"
+#include <cstddef>
+#include <cstdint>
+#inc... | 3 | 3 | 0 | [{"id": "G0", "claim": "The one-line `else if ('f' == label[0]) return OutputType::DOUBLE;` body should be brace-balanced with the `if` part, as the attached suggestion block proposes.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "addPrimitiveR... | null |
NVIDIA__cuda-quantum__2763 | NVIDIA/cuda-quantum | 2,763 | defect | 99cae69e916c7cb61a9bf94b15f2281b6076421a | 46d609acc1c8c6a519edfc70f5c41f828b158bad | State synthesis for c-like function kernels | ### Description
Support state synthesis for c-like function kernels in c++.
<strike>Requires: https://github.com/NVIDIA/cuda-quantum/pull/2706</strike>
Towards: https://github.com/NVIDIA/cuda-quantum/issues/1931 | diff --git a/runtime/common/KernelWrapper.h b/runtime/common/KernelWrapper.h
index a01b815a9ff..08a6722b425 100644
--- a/runtime/common/KernelWrapper.h
+++ b/runtime/common/KernelWrapper.h
@@ -540,11 +540,12 @@ std::invoke_result_t<QuantumKernel, Args...> invokeKernel(QuantumKernel &&fn,
if constexpr (std::is_clas... | 3 | 3 | 2 | [{"id": "G0", "claim": "The error message thrown by the now-generic getKernelName helper still names QPUState and should be updated to fit the helper's generic context.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The return type of the class-... | null |
NVIDIA__cuda-quantum__2764 | NVIDIA/cuda-quantum | 2,764 | defect | c53f77436f306f19e412015049dfafb7ae80a690 | d611cb2a75cc495fa4948f70e6eda3e2ee8f6448 | Efficient matrix evaluation for bosons and fermions | This PR
- Adds support to construct boson and fermion matrices via canonical construction. During canonical construction, the evaluation creates a string encoding for each term, and then a matrix is built for each term by directly populating each row/column. The time complexity for building the matrix is then roughly... | diff --git a/docs/sphinx/examples/cpp/dynamics/cross_resonance.cpp b/docs/sphinx/examples/cpp/dynamics/cross_resonance.cpp
index 185dea3efeb..832cf1798fd 100644
--- a/docs/sphinx/examples/cpp/dynamics/cross_resonance.cpp
+++ b/docs/sphinx/examples/cpp/dynamics/cross_resonance.cpp
@@ -40,14 +40,14 @@ int main() {
// ... | 4 | 3 | 0 | [{"id": "G0", "claim": "The create_matrix/to_sparse_matrix/to_matrix methods declared in fermion_op.h seem to duplicate methods available in boson_op, so they should be put in the abstract class/interface instead.", "category": "design", "verdict": "opposed", "priority": "P2", "scope": "introduced"}, {"id": "G1", "clai... | null |
NVIDIA__cuda-quantum__2772 | NVIDIA/cuda-quantum | 2,772 | defect | afb4dd6be94234f3672dab7f87a55df8faef1f9e | a0a67390b3601291bae02d246f93193bfd289fca | Add `run` support for `remote-mqpu` platform | <!--
Thanks for helping us improve CUDA-Q!
⚠️ The pull request title should be concise and understandable for all.
⚠️ If your pull request fixes an open issue, please link to the issue.
Checklist:
- [ ] I have added tests to cover my changes.
- [ ] I have updated the documentation accordingly.
- [ ] I have r... | diff --git a/runtime/cudaq/algorithms/run.cpp b/runtime/cudaq/algorithms/run.cpp
index 4c87022bd74..d0407d8165b 100644
--- a/runtime/cudaq/algorithms/run.cpp
+++ b/runtime/cudaq/algorithms/run.cpp
@@ -14,15 +14,31 @@
cudaq::details::RunResultSpan cudaq::details::runTheKernel(
std::function<void()> &&kernel, qua... | 1 | 1 | 1 | [{"id": "G0", "claim": "The decision to run in remote-simulator mode should depend on the selected target at runtime instead of being baked in as a compile-time constant via `#if defined(CUDAQ_REMOTE_SIM)`.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
NVIDIA__cuda-quantum__2782 | NVIDIA/cuda-quantum | 2,782 | defect | f67e0132c4b005bdf20caf98ef65b79e24832a5b | 03d84483abb49f6009931efc7ec294de816e1b4f | cudaq::run support for hardware emulation | <!--
Thanks for helping us improve CUDA-Q!
⚠️ The pull request title should be concise and understandable for all.
⚠️ If your pull request fixes an open issue, please link to the issue.
Checklist:
- [ ] I have added tests to cover my changes.
- [ ] I have updated the documentation accordingly.
- [ ] I have r... | diff --git a/lib/Optimizer/CodeGen/ConvertToQIRAPI.cpp b/lib/Optimizer/CodeGen/ConvertToQIRAPI.cpp
index 0eb41075702..323c59ed736 100644
--- a/lib/Optimizer/CodeGen/ConvertToQIRAPI.cpp
+++ b/lib/Optimizer/CodeGen/ConvertToQIRAPI.cpp
@@ -2143,6 +2143,8 @@ struct QuakeToQIRAPIPrepPass
} else if (api == "adapti... | 4 | 4 | 1 | [{"id": "G0", "claim": "The constant-argument verification should be kept for the base profile instead of being commented out entirely.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The condition should be `if (isRun || hasConditionals)`, with the ... | null |
NVIDIA__cuda-quantum__2826 | NVIDIA/cuda-quantum | 2,826 | defect | 201b6852288486f314e2c81a65d09be27545fa35 | bfbabae1b0678d89baa35ce157e5f954a10fe93f | [feature/run] Support parsing of arrays | TODO: Follow-up PR for nested vectors and tuples.
Towards: https://github.com/NVIDIA/cuda-quantum/issues/2526
| diff --git a/python/cudaq/runtime/run.py b/python/cudaq/runtime/run.py
index a004b5c95a3..4e67895e8d7 100644
--- a/python/cudaq/runtime/run.py
+++ b/python/cudaq/runtime/run.py
@@ -19,7 +19,7 @@ def run(kernel, *args, shots_count=1, noise_model=None):
times on the QPU.
*arguments (Optional[Any]): The concrete v... | 8 | 6 | 1 | [{"id": "G0", "claim": "Replace the arrays of std::function lambdas in the type and record handlers with plain class overloading and named member functions so the code is self-documenting.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Make the record-ha... | null |
NVIDIA__cuda-quantum__2838 | NVIDIA/cuda-quantum | 2,838 | defect | dd07ea12f9acecb62e129e7d73327626a881085f | b8e96ccefa5caf74175db4f6f74cf3377c46158a | Support for Quantum Machines backends | <!--
Thanks for helping us improve CUDA-Q!
⚠️ The pull request title should be concise and understandable for all.
⚠️ If your pull request fixes an open issue, please link to the issue.
Checklist:
- [ ] I have added tests to cover my changes.
- [ ] I have updated the documentation accordingly.
- [ ] I have r... | diff --git a/docs/sphinx/targets/cpp/quantum_machines.cpp b/docs/sphinx/targets/cpp/quantum_machines.cpp
new file mode 100644
index 00000000000..5f0aa92c41e
--- /dev/null
+++ b/docs/sphinx/targets/cpp/quantum_machines.cpp
@@ -0,0 +1,45 @@
+// Compile and run with:
+// ```
+// nvq++ --target quantum_machines quantum_mac... | 15 | 11 | 2 | [{"id": "G0", "claim": "The C++ example's header comments still describe Amazon Braket and look like leftovers; remove or rewrite them for the Quantum Machines target.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Reword the Python example's comm... | null |
NVIDIA__cuda-quantum__2864 | NVIDIA/cuda-quantum | 2,864 | defect | 64a40862acc2f75faf6d9e6333590f72d0bb3f45 | 24c1900223c329efb97805f2ca6cd36f6be1314e | Fix #2863. | Fix bugs with the u3<adj> operator.
<!--
Thanks for helping us improve CUDA-Q!
⚠️ The pull request title should be concise and understandable for all.
⚠️ If your pull request fixes an open issue, please link to the issue.
Checklist:
- [ ] I have added tests to cover my changes.
- [ ] I have updated the doc... | diff --git a/lib/Optimizer/CodeGen/ConvertToQIRAPI.cpp b/lib/Optimizer/CodeGen/ConvertToQIRAPI.cpp
index 0eb41075702..5e788fc09cb 100644
--- a/lib/Optimizer/CodeGen/ConvertToQIRAPI.cpp
+++ b/lib/Optimizer/CodeGen/ConvertToQIRAPI.cpp
@@ -1298,9 +1298,21 @@ struct QuantumGatePattern : public OpConversionPattern<OP> {
... | 2 | 2 | 1 | [{"id": "G0", "claim": "The Python counterpart of the checkU3Adj test in python/tests/kernel/test_kernel_features.py should also be updated with the same parameter-order change applied to the C++ test.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The ... | null |
NVIDIA__cuda-quantum__2884 | NVIDIA/cuda-quantum | 2,884 | defect | 3b9cd19da847d72ba6327716ab958fd3ede6ac93 | 3f087c9df91f696ddd5a07b80074e8f52c317c8b | [Testing] Fix noise channel test: use `p=0.75` for complete depolarizing channel | <!--
Thanks for helping us improve CUDA-Q!
⚠️ The pull request title should be concise and understandable for all.
⚠️ If your pull request fixes an open issue, please link to the issue.
Checklist:
- [ ] I have added tests to cover my changes.
- [ ] I have updated the documentation accordingly.
- [ ] I have r... | diff --git a/unittests/integration/noise_tester.cpp b/unittests/integration/noise_tester.cpp
index f1dcdf92648..a4022382068 100644
--- a/unittests/integration/noise_tester.cpp
+++ b/unittests/integration/noise_tester.cpp
@@ -429,13 +429,17 @@ CUDAQ_TEST(NoiseTest, checkApplySimplePauliErrors) {
CUDAQ_TEST(NoiseTest,... | 2 | 1 | 0 | [{"id": "G0", "claim": "A similar change may need to be made to the depolarization example docs/sphinx/examples/cpp/basics/noise_depolarization.cpp, which uses depolarization_channel(1.) with comments describing a distribution its actual results do not match.", "category": "documentation", "verdict": "supported", "prio... | null |
NVIDIA__cuda-quantum__2915 | NVIDIA/cuda-quantum | 2,915 | defect | f98f2f4922a0f2afdef8f9a55b87ff334d5e28f6 | 82daffce57f94a21839bb693c0b89ac1c067578d | [features/run] Support tuple parsing | This PR adds logic to parse output records containing tuple data by using the data layout info.
Primary changes:
* `runtime/common/RecordLogParser.cpp`: Added logic to handle data layout information during tuple parsing, including alignment and memory allocation.
* Migrated the `runTheKernel` function from `runtime... | diff --git a/python/extension/CMakeLists.txt b/python/extension/CMakeLists.txt
index cd057ea928d..f3937bb69d0 100644
--- a/python/extension/CMakeLists.txt
+++ b/python/extension/CMakeLists.txt
@@ -83,6 +83,7 @@ declare_mlir_python_extension(CUDAQuantumPythonSources.Extension
../runtime/utils/PyRestRemoteClient.cpp... | 2 | 1 | 0 | [{"id": "G0", "claim": "The test fails on arm64 in CI and the extracted data layout comes out blank in the Python workflow, most likely because the data layout string is missing for kernels defined in Python.", "category": "correctness", "verdict": "uncertain", "priority": "P0", "scope": "introduced"}, {"id": "G1", "cl... | null |
NVIDIA__cuda-quantum__2919 | NVIDIA/cuda-quantum | 2,919 | defect | 033d31da24a1dfc0a1aa8f6e20fd826736e07477 | 40ff3028b938b5ede50adb5b5a192906cc50bbd7 | Add ability to create a measurement matrix from a Clifford-only kernel | This PR adds the ability to create a noise-aware measurement matrix. Each row of the matrix corresponds to a measurement in the kernel, and each column of the matrix corresponds to a particular error (noise) mechanism. Each entry in the matrix tells you whether a particular measurement (row) would flip if a particular ... | diff --git a/runtime/common/ExecutionContext.h b/runtime/common/ExecutionContext.h
index 1da8bb9407d..5ee75be06cc 100644
--- a/runtime/common/ExecutionContext.h
+++ b/runtime/common/ExecutionContext.h
@@ -117,6 +117,13 @@ class ExecutionContext {
/// order.
bool explicitMeasurements = false;
+ /// @brief Proba... | 6 | 5 | 0 | [{"id": "G0", "claim": "generatePCMSize should return std::optional and default to std::nullopt instead of a (0, 0) pair.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "StimNoiseType constructions should use designated (. notation) initializers for consi... | null |
NVIDIA__cuda-quantum__2977 | NVIDIA/cuda-quantum | 2,977 | defect | 2f770d4b06c96daf8c473120319cabfe02998bf3 | 0327422b232210e9705470599ab41ee39352aa2a | [C++] Drop library mode support in remote simulators | Note that the serialization logic in `KernelWrapper.h` is used to support VQE algorithm in remote simulator targets.
| diff --git a/python/runtime/cudaq/algorithms/py_sample_async.cpp b/python/runtime/cudaq/algorithms/py_sample_async.cpp
index 16eb53c4db5..181eaefd23a 100644
--- a/python/runtime/cudaq/algorithms/py_sample_async.cpp
+++ b/python/runtime/cudaq/algorithms/py_sample_async.cpp
@@ -7,6 +7,7 @@
*****************************... | 1 | 1 | 0 | [{"id": "G0", "claim": "The renaming of these namespaces got derailed.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "pre_existing"}] | null |
NVIDIA__cuda-quantum__2986 | NVIDIA/cuda-quantum | 2,986 | defect | c3d2eff9a46e48a71e999b8b932bdf5483ddabdb | 2d4b00e76715f307440734f530f861a320196f74 | Support conversion from operators to multi-diagonal matrix representation | <!--
Thanks for helping us improve CUDA-Q!
⚠️ The pull request title should be concise and understandable for all.
⚠️ If your pull request fixes an open issue, please link to the issue.
Checklist:
- [ ] I have added tests to cover my changes.
- [ ] I have updated the documentation accordingly.
- [ ] I have r... | diff --git a/docs/sphinx/api/languages/cpp_api.rst b/docs/sphinx/api/languages/cpp_api.rst
index baeb9cae909..0b7e765bd09 100644
--- a/docs/sphinx/api/languages/cpp_api.rst
+++ b/docs/sphinx/api/languages/cpp_api.rst
@@ -24,6 +24,10 @@ Operators
- ``std::vector<std::size_t>``: Indices.
- ``std::vector<std::si... | 2 | 2 | 0 | [{"id": "G0", "claim": "The documentation type alias `dia_spmatrix` should be renamed to `mdiag_sparse_matrix`.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The helper `create_dia_matrix` should be renamed to `create_mdiag_sparse_matrix`.", "c... | null |
NVIDIA__cuda-quantum__3052 | NVIDIA/cuda-quantum | 3,052 | defect | 75892c18132f54aab39de24bd6727cb43c5c1c34 | 857d01750959b92eb9f42d69ab6888ba269619f0 | Adding control on multilple qubits for C++ kernel builder | Adding control on multilple qubits.
Fixes #155
# ctest result
```
100% tests passed, 0 tests failed out of 1240
Label Time Summary:
gpu_required = 1999.54 sec*proc (782 tests)
mgpus_required = 6.26 sec*proc (3 tests)
Total Test time (real) = 3383.75 sec
``` | diff --git a/python/tests/kernel/test_kernel_features.py b/python/tests/kernel/test_kernel_features.py
index cafcd4b23cf..9b937d9fc38 100644
--- a/python/tests/kernel/test_kernel_features.py
+++ b/python/tests/kernel/test_kernel_features.py
@@ -159,6 +159,35 @@ def test():
assert '110' in counts
+def test_mult... | 2 | 1 | 1 | [{"id": "G0", "claim": "Add C++ kernel builder tests to match the new multi-qubit control change.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The Python tests added by this pull request should also pass without the PR's changes, so they do not exerci... | null |
NVIDIA__cuda-quantum__3135 | NVIDIA/cuda-quantum | 3,135 | defect | 4727e7bfb942badebffd9ba05970083f8e179d29 | 62704d1ff6a6657cea5eb87ece040b7cb67c9a8c | Handle default POD constructors in Quake Bridge | Fixes the issue with POD default constructors hit by this gist:
https://gist.github.com/bmhowe23/44f606cac6420991daa5e2c8e853f400
Simply speaking, we were trying to make a call to a default constructor, which never gets generated. A POD "default constructor" is just an alloc, so we should, you know, do that. | diff --git a/lib/Frontend/nvqpp/ConvertExpr.cpp b/lib/Frontend/nvqpp/ConvertExpr.cpp
index c6e114eaded..008da3593ae 100644
--- a/lib/Frontend/nvqpp/ConvertExpr.cpp
+++ b/lib/Frontend/nvqpp/ConvertExpr.cpp
@@ -3154,6 +3154,13 @@ bool QuakeBridgeVisitor::VisitCXXConstructExpr(clang::CXXConstructExpr *x) {
TODO_x(loc... | 2 | 2 | 1 | [{"id": "G0", "claim": "The allocation has already happened as the first argument to the ctor, so the added AllocaOp duplicates the one made just below.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Use braces-free `if (parent->isPOD()) return push... | null |
NVIDIA__cuda-quantum__3162 | NVIDIA/cuda-quantum | 3,162 | defect | 894bbbe5362444b9a99c8e0e3e8239fdaba223a3 | 96039eee4200f0fb003418203608fbf93493b481 | Add an env variable to enable run for quantum devices or their emulation for testing | ### Description
Add an environment variable to enable run for quantum devices or their emulation for testing
We disabled `cudaq::run` for quantum devices or their emulation for now, but would like to continue the work and add tests for features and examples.
Add an environment variable `CUDAQ_ENABLE_QUANTUM_DEVI... | diff --git a/python/tests/backends/test_Quantinuum_LocalEmulation_kernel.py b/python/tests/backends/test_Quantinuum_LocalEmulation_kernel.py
index c1c87375032..4f63ec42dc9 100644
--- a/python/tests/backends/test_Quantinuum_LocalEmulation_kernel.py
+++ b/python/tests/backends/test_Quantinuum_LocalEmulation_kernel.py
@@ ... | 2 | 1 | 0 | [{"id": "G0", "claim": "The function-local `static bool enableQuantumDeviceRun` should be replaced with a `std::call_once` initialization (as in RuntimeMLIR.cpp) so the environment variable is not read on every run.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id"... | null |
NVIDIA__cuda-quantum__3190 | NVIDIA/cuda-quantum | 3,190 | defect | 5749310aa691a237ad39190cb8862fc2b12f577a | c47662c1589ab5e342429f8cea59bf77278272ea | Introduce `cudaq::contrib` | This introduces the `contrib` namespace within CUDA-Q for new, useful, **fully implemented and functional** experimental features. These features, often by external contributors, might not have the stability and performance guarantees we want out of the main `cudaq` namespace in C++ but are useful to a limited part of ... | diff --git a/docs/sphinx/api/languages/cpp_api.rst b/docs/sphinx/api/languages/cpp_api.rst
index a3c24e66eeb..0c5dc2d0009 100644
--- a/docs/sphinx/api/languages/cpp_api.rst
+++ b/docs/sphinx/api/languages/cpp_api.rst
@@ -163,8 +163,6 @@ Common
.. doxygenfunction:: cudaq::range(ElementType total)
.. doxygenfunction:: ... | 3 | 3 | 1 | [{"id": "G0", "claim": "getKernelLaunchParameters should be kept in the details namespace rather than moved into contrib.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The removed draw doxygen documentation should still be kept, just for the appropriate... | null |
NVIDIA__cuda-quantum__3253 | NVIDIA/cuda-quantum | 3,253 | defect | 02e55beed85d96ec683de977592a146664664636 | a42468bd2d77acc3dbf0e82545b5dbfcb3d25fab | Honor -fenable-cudaq-run if the user explicitly provides it | We need a way to be able to activate `-fenable-cudaq-run` from the command line. | diff --git a/runtime/common/RuntimeMLIRCommonImpl.h b/runtime/common/RuntimeMLIRCommonImpl.h
index a302127b9f4..4c12ffa5621 100644
--- a/runtime/common/RuntimeMLIRCommonImpl.h
+++ b/runtime/common/RuntimeMLIRCommonImpl.h
@@ -309,6 +309,7 @@ mlir::LogicalResult verifyLLVMInstructions(llvm::Module *llvmModule,
... | 2 | 1 | 0 | [{"id": "G0", "claim": "Remove the CUDAQ_ENABLE_QUANTUM_DEVICE_RUN env variable and allow cudaq.run on quantum devices when --enable-cudaq-run is passed to the compiler.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "It would be better to immediately dro... | null |
NVIDIA__cuda-quantum__3281 | NVIDIA/cuda-quantum | 3,281 | defect | 17373a84e1c9b15ed8251410be1608a6edfb3831 | f009c533ec806dcc5a81a9467308deadc3616dac | Fix IQM arch name | Fix IQM arch name as per the new IQM chip convention.
Adonis -> Crystal 5
Apollo -> Crystal 20
Aphrodite -> Crystal 54 | diff --git a/.github/workflows/integration_tests.yml b/.github/workflows/integration_tests.yml
index e47b7d5a64d..19293d2f484 100644
--- a/.github/workflows/integration_tests.yml
+++ b/.github/workflows/integration_tests.yml
@@ -478,7 +478,7 @@ jobs:
# Create a json file with the Resonance auth token
... | 1 | 1 | 1 | [{"id": "G0", "claim": "The pull request includes test files that do not belong in it — targettests/braket/cudaq_observe_qvector.cpp tests targets unrelated to braket, and targettests/execution/IQMTester.cpp duplicates unittests/backends/iqm/IQMTester.cpp — and they should be removed.", "category": "maintainability", "... | null |
NVIDIA__cuda-quantum__3286 | NVIDIA/cuda-quantum | 3,286 | defect | 17373a84e1c9b15ed8251410be1608a6edfb3831 | 81b77094c1659e068da2e0216ca91d30a83dd5e5 | Update the `quantinuum` target to use Nexus service | <!--
Thanks for helping us improve CUDA-Q!
⚠️ The pull request title should be concise and understandable for all.
⚠️ If your pull request fixes an open issue, please link to the issue.
Checklist:
- [ ] I have added tests to cover my changes.
- [ ] I have updated the documentation accordingly.
- [ ] I have r... | diff --git a/.github/workflows/integration_tests.yml b/.github/workflows/integration_tests.yml
index e47b7d5a64d..8fd8bea2f19 100644
--- a/.github/workflows/integration_tests.yml
+++ b/.github/workflows/integration_tests.yml
@@ -391,11 +391,10 @@ jobs:
- name: Setup quantinum account
if: (success() || f... | 6 | 1 | 0 | [{"id": "G0", "claim": "The workflow could set QUANTINUUM_NEXUS_PROJECT_ID after the `export CUDAQ_LOG_LEVEL=\"info\"` step and use it inside both the cpp and Python tests, instead of inlining the secret on the nvq++ line.", "category": "design", "verdict": "uncertain", "priority": "P2", "scope": "introduced"}, {"id": ... | null |
NVIDIA__cuda-quantum__3292 | NVIDIA/cuda-quantum | 3,292 | defect | 9d6f723a3608cd83dd60f6f11c41575cf9944c4d | 9bf97a6c659574eeb6f4aa428e88fed85238c408 | Ability to inject extra payload to REST requests | - Introduce `ExtraPayloadProvider` class to provide a mechanism for amending the REST JSON payload.
- The target can specify a provider that should be used during job request construction.
- Move the `RuntimeTarget` class from Python to `cudaq/common` to be used as the class that encapsulates target information.
... | diff --git a/python/utils/CMakeLists.txt b/python/utils/CMakeLists.txt
index 5ea0bc45270..8bd6f5225c1 100644
--- a/python/utils/CMakeLists.txt
+++ b/python/utils/CMakeLists.txt
@@ -9,6 +9,9 @@ set(CMAKE_LIBRARY_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/lib)
SET(CMAKE_INSTALL_RPATH "$ORIGIN:$ORIGIN/..")
add_library(cudaq... | 4 | 4 | 1 | [{"id": "G0", "claim": "nit: the target_link_libraries call in python/utils/CMakeLists.txt that this PR modified is longer than 80 columns.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "nit: runtime/common/ExtraPayloadProvider.cpp, which this P... | null |
NVIDIA__cuda-quantum__3360 | NVIDIA/cuda-quantum | 3,360 | defect | 571a7dd11e924dd8ae8b6432eeb2b202f007a326 | 062ed2154c690af081ec4ec00cb8efc356004de2 | Support resource estimation on remote simulators | <!--
Thanks for helping us improve CUDA-Q!
⚠️ The pull request title should be concise and understandable for all.
⚠️ If your pull request fixes an open issue, please link to the issue.
Checklist:
- [ x ] I have added tests to cover my changes.
- [ N/A ] I have updated the documentation accordingly.
- [ x ] ... | diff --git a/runtime/common/BaseRemoteSimulatorQPU.h b/runtime/common/BaseRemoteSimulatorQPU.h
index 789d38608ef..f46d6431710 100644
--- a/runtime/common/BaseRemoteSimulatorQPU.h
+++ b/runtime/common/BaseRemoteSimulatorQPU.h
@@ -11,15 +11,26 @@
#include "common/ExecutionContext.h"
#include "common/Logger.h"
#include... | 3 | 2 | 1 | [{"id": "G0", "claim": "The newly added lowerKernel API in RemoteRuntimeClient should have a comment describing its functionality.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "BaseRemoteSimulatorQPU.h should not be coupled to the NVQIR library f... | null |
NVIDIA__cuda-quantum__3390 | NVIDIA/cuda-quantum | 3,390 | defect | 68fc6cfb7dabbd46f6d2637e7973636f4ee2869d | 0021057d3c0e1487e274ea48e234ed56fd986206 | Support architecture-specific customization in target config | <!--
Thanks for helping us improve CUDA-Q!
⚠️ The pull request title should be concise and understandable for all.
⚠️ If your pull request fixes an open issue, please link to the issue.
Checklist:
- [ ] I have added tests to cover my changes.
- [ ] I have updated the documentation accordingly.
- [ ] I have r... | diff --git a/include/cudaq/Support/TargetConfig.h b/include/cudaq/Support/TargetConfig.h
index 81fc92131e6..4107c33f991 100644
--- a/include/cudaq/Support/TargetConfig.h
+++ b/include/cudaq/Support/TargetConfig.h
@@ -8,6 +8,7 @@
#pragma once
+#include <map>
#include <optional>
#include <string>
#include <vector... | 3 | 2 | 0 | [{"id": "G0", "claim": "The `<map>` include added to TargetConfig.h appears unused by these header changes (AFAICT) and could be removed.", "category": "maintainability", "verdict": "opposed", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The `public:` access specifier added before getCodeGenSpec is ... | null |
NVIDIA__cuda-quantum__3448 | NVIDIA/cuda-quantum | 3,448 | defect | d2d2f506c4b5d339e272b2abc77382e3f21f3881 | 213494915b85a5a1290225c8f28751dd17354d11 | Support for QIR output on QCI | This PR updates the QCI backend integration to process QIR output log.
* Updated `QCIServerHelper` to inherit from `QirServerHelper`, refactored result processing to use the new output log extraction and sample result creation methods, and added methods for retrieving raw QIR output logs.
* Changed the default QCI ... | diff --git a/python/tests/backends/test_QCI.py b/python/tests/backends/test_QCI.py
index 041d193af29..1372e3207ab 100644
--- a/python/tests/backends/test_QCI.py
+++ b/python/tests/backends/test_QCI.py
@@ -10,8 +10,9 @@
from multiprocessing import Process
import cudaq
-from cudaq import spin
+import numpy as np
imp... | 1 | 1 | 0 | [{"id": "G0", "claim": "Consider adding one shared helper function to parse the qubit-count attributes, since the same split/replace logic is duplicated across the functions in utils/mock_qpu/qci/__init__.py.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
NVIDIA__cuda-quantum__3449 | NVIDIA/cuda-quantum | 3,449 | defect | 073d0091a1c11f64c9e6055a99664bc5073ef7f0 | 53ffd1098b85d15d612d60af363092c1ab8cfd6f | MergeModules utility function | This fixes bug in `checkRegisteredCppDeviceKernel` which dropped everything on the floor which is not `func::FuncOp`.
* Adding mergeModules utility function
* Avoid using walk as it is wrong. Filtering artifacts by their IR node type is incorrect.
* Adding unit tests
co-authored by: Eric Schweitz <eschweitz@nvi... | diff --git a/include/cudaq/Optimizer/Builder/Factory.h b/include/cudaq/Optimizer/Builder/Factory.h
index ab902eff6f4..be222739686 100644
--- a/include/cudaq/Optimizer/Builder/Factory.h
+++ b/include/cudaq/Optimizer/Builder/Factory.h
@@ -294,6 +294,19 @@ std::pair<mlir::func::FuncOp, /*alreadyDefined=*/bool>
getOrAddFu... | 3 | 2 | 0 | [{"id": "G0", "claim": "The mergeModules definition is not performance critical, so move it out of the header into Factory.cpp.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Change the loop to `for (Operation *op : from.getBody())`, which as a ... | null |
NVIDIA__cuda-quantum__3450 | NVIDIA/cuda-quantum | 3,450 | defect | 073d0091a1c11f64c9e6055a99664bc5073ef7f0 | e2b045d54100c3d81bdf0620850660c3c8f6ea51 | Adding reset after measure if qubit is to be reused | <!--
Thanks for helping us improve CUDA-Q!
⚠️ The pull request title should be concise and understandable for all.
⚠️ If your pull request fixes an open issue, please link to the issue.
Checklist:
- [ ] I have added tests to cover my changes.
- [ ] I have updated the documentation accordingly.
- [ ] I have r... | diff --git a/include/cudaq/Optimizer/Transforms/Passes.h b/include/cudaq/Optimizer/Transforms/Passes.h
index 738068cfea4..214f537a8b8 100644
--- a/include/cudaq/Optimizer/Transforms/Passes.h
+++ b/include/cudaq/Optimizer/Transforms/Passes.h
@@ -85,6 +85,8 @@ std::unique_ptr<mlir::Pass>
createArgumentSynthesisPass(mlir... | 16 | 13 | 3 | [{"id": "G0", "claim": "Use the new automatic pass code-generation facilities for this new pass (as in StackFramePrealloc.cpp) instead of the hand-written constructor entry in Passes.td.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Delete the hand-writ... | null |
NVIDIA__cuda-quantum__3463 | NVIDIA/cuda-quantum | 3,463 | defect | 40a5661aa85a55dcdff7174243a84a2106b329a7 | beded4ba2edf24101e2da3362e051b23708e9e2e | [parser] Ignore unsuccessful shot in output log | This PR updates the handling of shot records in the `RecordLogParser` to ensure that only successful shots are processed and ignores any failed shots (instead of throwing error).
Also removes unnecessary methods, consolidates shot processing logic, and adds unit tests to verify correct behavior for both successful an... | diff --git a/runtime/common/RecordLogParser.cpp b/runtime/common/RecordLogParser.cpp
index 4269255c9ed..c2efc3da7b8 100644
--- a/runtime/common/RecordLogParser.cpp
+++ b/runtime/common/RecordLogParser.cpp
@@ -16,29 +16,47 @@ void cudaq::RecordLogParser::parse(const std::string &outputLog) {
std::vector<std::string> ... | 3 | 2 | 1 | [{"id": "G0", "claim": "Perhaps an error should be thrown when an OUTPUT record is seen while processingShot is false (e.g. a log with no START), instead of calling handleOutput.", "category": "correctness", "verdict": "opposed", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "Enclose the final else's ... | null |
NVIDIA__cuda-quantum__3514 | NVIDIA/cuda-quantum | 3,514 | defect | 5efa9d2727290b345d217192cb9d55d429e6d30e | a079c6bdec38d5152d365eb70cbdc6fe3aa75cfe | C++ support for returning vectors of scalar types with `cudaq.run` | This PR enables the support for quantum kernels that return `std::vector` types in the `cudaq::run` API.
* Add new negative tests for unsupported kernel return types,
* Clean up related code and comments.
_Note_: Out-of-scope for this PR - Python changes
| diff --git a/runtime/cudaq/algorithms/run.h b/runtime/cudaq/algorithms/run.h
index 9632b8b17ab..aa7ee35954f 100644
--- a/runtime/cudaq/algorithms/run.h
+++ b/runtime/cudaq/algorithms/run.h
@@ -98,15 +98,6 @@ void (*get_run_entry_point(qkernel<R(As...)>, const std::string &name))(As...) {
} // namespace details
-#i... | 4 | 4 | 0 | [{"id": "G0", "claim": "The `///` TODO comment in cudaq_run.cpp would show up in the doxygen documentation and should not be a doxygen-style comment.", "category": "documentation", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The asynchronous test could output something a tad... | null |
NVIDIA__cuda-quantum__3538 | NVIDIA/cuda-quantum | 3,538 | defect | a0feee7d6dbdb32a6e493e29852522570766c1b3 | 0bf89055bf8185321f5c7ebe306261db1c9623d2 | Follow up to PR #3530 | This PR follows the work from PR #3530 by updating the logic for extracting result indices from output labels and adds a new unit test to verify correct handling of named results. The changes ensure that both auto-generated and user-defined result labels are interpreted correctly.
Such fixes will go away when we ena... | diff --git a/runtime/common/RecordLogParser.cpp b/runtime/common/RecordLogParser.cpp
index d6eb4fb581a..90bea650f19 100644
--- a/runtime/common/RecordLogParser.cpp
+++ b/runtime/common/RecordLogParser.cpp
@@ -129,18 +129,35 @@ void cudaq::RecordLogParser::handleOutput(
preallocateArray();
}
- // Get th... | 1 | 1 | 1 | [{"id": "G0", "claim": "Add a check that the extracted substring is a number before using it as an index, to further prevent cases like `rxxx_1`.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
NVIDIA__cuda-quantum__3553 | NVIDIA/cuda-quantum | 3,553 | defect | 67cb2955e3c08e77d972deed343881dc21a9a20a | c32968392d3784e9c168c2c3913b94fb7c30ad26 | [QIR] Insert array record call in sampling workflow | This PR introduces a new module pass, `QirInsertArrayRecord`, that analyzes instruction patterns and inserts array recording instruction required for proper measurement result handling in QIR pipelines. The pass looks at existing result recording calls and ensures the QIR output declares the correct array size and type... | diff --git a/include/cudaq/Optimizer/CodeGen/Passes.h b/include/cudaq/Optimizer/CodeGen/Passes.h
index 11ef4ccd10b..09e21c6d815 100644
--- a/include/cudaq/Optimizer/CodeGen/Passes.h
+++ b/include/cudaq/Optimizer/CodeGen/Passes.h
@@ -52,6 +52,7 @@ createQIRToQIRProfilePass(llvm::StringRef convertTo);
std::unique_ptr<ml... | 14 | 11 | 3 | [{"id": "G0", "claim": "The new pass must not use the old tablegen pattern (a hand-written `let constructor`) in its Passes.td declaration.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The label string created for the array record output call (\"array<... | null |
NVIDIA__cuda-quantum__3587 | NVIDIA/cuda-quantum | 3,587 | defect | 2c125c8d6aa2137569b3cd18b30d81d54732addc | f7bd459d61ba6bfcd3b130b4e593125655928652 | [core] Add metadata map for decomposition patterns | <!--
Thanks for helping us improve CUDA-Q!
⚠️ The pull request title should be concise and understandable for all.
⚠️ If your pull request fixes an open issue, please link to the issue.
Checklist:
- [ ] I have added tests to cover my changes.
- [ ] I have updated the documentation accordingly.
- [ ] I have r... | diff --git a/lib/Optimizer/Transforms/DecompositionPatterns.cpp b/lib/Optimizer/Transforms/DecompositionPatterns.cpp
index b16013ebe3c..e7b8336836f 100644
--- a/lib/Optimizer/Transforms/DecompositionPatterns.cpp
+++ b/lib/Optimizer/Transforms/DecompositionPatterns.cpp
@@ -6,6 +6,15 @@
* the terms of the Apache Licens... | 5 | 3 | 1 | [{"id": "G0", "claim": "The pattern metadata (debug name, source and target gates) is hand-maintained in a separate map instead of being derived from the pattern definitions themselves, and the author asks whether the debug name could be derived from a pattern instance and whether the matched/produced ops could be infe... | null |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.