Skip to content

Non-unitary matrix ValueError #12

@soyjdezcurra

Description

@soyjdezcurra

Steps to reproduce the problem

Input non-unitary matrix. I used the following matrix and vector:
matrix = [[ 48, 19, 6, 3],
[ 35, 5, 1, 0],
[ 57, 36, 18, 7],
[105, 95, 85, 75]]
b = [56.98, 31.83, 12.89, 7.46]

What is the current behavior?

Raises ValueError and doesn't run.

What is the expected behavior?

Solver should work with a non-unitary matrix (decompose into linear combination of unitaries).

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions