Skip to content

Support cudaq::state synthesis for all scenarios #1931

@annagrin

Description

@annagrin

Required prerequisites

  • Search the issue tracker to check if your feature has already been mentioned or rejected in other issues.

Describe the feature

We currently only support cudaq::state argument synthesis for executions that are running in the same address space as the synthesis pass, which is not true for remote simulators.

Suggestion:

  • Simulation: Synthesize state pointers as constant global vectors of data
    • remote sim: rewrite quake.init_state to take the synthesized vector from cudaq::state::from_data.
    • same-address space sim: Synthesize state pointers as constant integers (optimization)
  • Quantum devices and emulators: inline kernels that produce the state in cudaq::get_state, with the arguments passed to it.

Now that we are working on new argument synthesis, the following work needs to be completed:

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions