Skip to content

Small Bug in HHLResult #6

@Cmurilochem

Description

@Cmurilochem

Hi @koenleijnse,

While investigating the preconditioning problem for HHL, I spotted two minor things that wanted to check with you.

solution = HHLResult

def solution(self) -> np.ndarray:
"""return either the circuit that prepares the solution or the solution as a vector"""
return self._state

I think that solution above is meant to be an instance of the class so solution = HHLResult() and the return self._solution ?
I do not think these things are changing the final results but you never know the future. Please, let me know what do you think.

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