Skip to content

Add a new implementation of creating Dicke states #755

Description

@JiriGuthJarkovsky

Priority

Low

Responsible

Jirka Guth Jarkovsky - do the thing

Short Description

Add new implementation of Dicke state construction inspired by https://arxiv.org/pdf/2112.12435

Long Description

I've discussed with Raphael starting to contribute to Qrisp a bit (at least the optimization-related parts, i.e., the DQI algorithm). He asked me to do this (new implementation of Dicke state construction), since it's relevant for the DQI algorithm and it's a good stepping stone for me before working on DQI directly.

The current implementation of Dicke states uses an older reference: https://arxiv.org/abs/1904.07358
I think I will add a method keyword to the function that allows users to select which method of preparing the Dicke states to use.

Means of Verification

Test-ID Type Description Expected Result
T-001 Positive Some "normal" input using both methods Both methods agree
T-002 Negative Invalid input for method Raise ValueError
T-003 Boundary Use the same boundary tests as the current implementation uses, probably something like k = 0 or extremal values for the input quantum variable Same output as the current implementation

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions