NVIDIA / NVIDIA/cuda-quantum

Implement initialization of a single qubit from a cudaq::state object

Open
#1,785 1 comment 0 reactions 1 assignee View on GitHub

@annagrin is already working on this.

Since Aug 7, 2024.

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

Description

This corner case needs to be implemented and a test added. The implementation must verify that the state object contains 2 complex values.

#include <cudaq.h>

__qpu__ void qernel(cudaq::state &aState) {
  cudaq::qubit q = aState;
  ...
}

See #1086

Contributor guide

Open the contributing guide

First steps

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

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.