Skip to content

HIP loses the imaginary part on ROCM 7 #704

@eessmann

Description

@eessmann

When building and running QuEST with ROCM 7, we lose the imaginary components of the state vector. For example, here’s a qureg initialised with a random pure state vector and we still lose the imaginary components regardless of how I initialise it.

Qureg (4 qubit statevector, 16 qcomps, 360 bytes in gpu):
    0.23598     |0⟩
    0.19536     |1⟩
    -0.25405    |2⟩
    -0.14684    |3⟩
    0.11705     |4⟩
    -0.045575   |5⟩
    -0.0095484  |6⟩
    0.42606     |7⟩
    0.082763    |8⟩
    -0.10199    |9⟩
    -0.19393    |10⟩
    0.027218    |11⟩
    -0.019831   |12⟩
    -0.21442    |13⟩
    -0.11921    |14⟩
    -0.090414   |15⟩

Total probability: 0.5017

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions