Implement initialization of a single qubit from a cudaq::state object
Open
@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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.