Required prerequisites
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?
Required prerequisites
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::stateif it is a density matrix?