Skip to content

✨ State Preparation Routines for DD Package #341

Closed
@burgholzer

Description

@burgholzer

Currently, the DD package provides methods for directly constructing the decision diagrams for

  • computational basis states
  • any product state that can be constructed from the single-qubit states |0>, |1>, |+>, |->, |L>, |R>

It would be convenient to have some further state preparations available that can be used, e.g., in DDSIM.
Examples:

  • GHZ state
  • W state
  • ... some other important states ...

It should be possible to directly construct the DDs for these states without starting from the all-zero state and applying some operations.

A suggestion would be to name these functions make<SOME-IDENTIFIER>State.
In the interest of providing a little more structure in the DD package, these functions should probably be designed in a way that they can be put into a separate header file and, ideally, not rely on any template stuff, so that the implementation can be moved to a source file.
If this is accomplished, the existing functions for state preparation should be moved as well.

Metadata

Metadata

Assignees

No one assigned

    Labels

    DDAnything related to the DD packagefeatureNew feature or requestgood first issueGood for newcomers

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions