Skip to content

Platform dependent numerical errors with Weyl decomposition #11

Description

@ACE07-Sev

Platform dependency of weyl.py

Description

The implementation of the weyl.py and consequently two_qubit_decomposition.py cause numerical accuracy errors on different OS platforms, leading to logical errors and failed assertions.

This issue is caused by the dependency of scipy.linalg.eig on tiny values as small as 1e^-17, and slightest inaccuracies can cause the resulting eigenvalues and eigenvectors to differ, leading to wrong results.

The goal is to resolve this implementation to enable stable platform support for Windows and Mac OS users.

Tips

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugSomething isn't workinghelp wantedExtra attention is needed

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions