Skip to content
This repository was archived by the owner on Aug 19, 2026. It is now read-only.
This repository was archived by the owner on Aug 19, 2026. It is now read-only.

Non-unitary matrix ValueError #12

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

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions