Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
schweitzpgi opened this issue Jun 10, 2024 · 0 comments
Open
Assignees
Labels
TODO Not yet implemented features in the code base
Milestone

Comments

@schweitzpgi
Copy link
Collaborator

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

@schweitzpgi schweitzpgi added the TODO Not yet implemented features in the code base label Jun 10, 2024
@bettinaheim bettinaheim added this to the release 0.8.0 milestone Jul 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
TODO Not yet implemented features in the code base
Projects
None yet
Development

No branches or pull requests

3 participants