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

Add remote sim tests #1977

Closed
wants to merge 85 commits into from
Closed

Conversation

annagrin
Copy link
Collaborator

Description

Support state* synthesis on remote simulators.

Details

  • Add a SimulationData class that owns the data pointer and contains length and element size of the data.
    • avoids circular dependency between the compiler and the runtime
  • Pass a function that reads the data to the QuakeSynthesizer
  • Update quake synthesizer to
    • read the data from the state
    • synthesize data vector
    • update the quake.state_init instruction to use the vector instead of the state
    • const prop calls to getNumQubits runtime call
  • Add tests

Closes: #1931

@annagrin annagrin marked this pull request as draft July 19, 2024 22:58
Copy link

CUDA Quantum Docs Bot: A preview of the documentation can be found here.

github-actions bot pushed a commit that referenced this pull request Jul 20, 2024
@annagrin
Copy link
Collaborator Author

Closing in favor of #2035

@annagrin annagrin closed this Jul 31, 2024
@github-actions github-actions bot locked and limited conversation to collaborators Jul 31, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Support cudaq::state synthesis for all scenarios
2 participants