Skip to content

Add a method for tensor product of cudaq::states and a method to take trace of cudaq::state (C++) #4269

@YauheniTalochkaN

Description

@YauheniTalochkaN

Required prerequisites

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

Describe the feature

Dear developers,

Could you please add a method for tensor product in CUDA-Q (C++) if it is not already there?
It allows us to easily build a density matrix using a certain state vector and to build, for instance, using two density matrices, an extended matrix of the total system consisting of two subsystems.
Moreover, could you please add a method to take a trace of a cudaq::state if it is a density matrix?

Metadata

Metadata

Assignees

No one assigned

    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