Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing UnitaryDecomposer method #152

Closed
Shiyin0922 opened this issue Mar 29, 2024 · 2 comments
Closed

Missing UnitaryDecomposer method #152

Shiyin0922 opened this issue Mar 29, 2024 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@Shiyin0922
Copy link

In version 0.3.6,UnitaryDecomposer method is in the following path \elements\element_gates\unitary\decomposer
Has the version 0.4.0 changed the name of this method to a different name or has the feature not been added yet?

@Zhaoyilunnn
Copy link
Collaborator

I believe UnitaryDecomposer in included in 0.4.0. See: https://github.com/ScQ-Cloud/pyquafu/blob/master/quafu/elements/unitary/decomposer.py#L12.

What is the exact error you met, could you please share the backtrace output

@Zhaoyilunnn Zhaoyilunnn self-assigned this Mar 29, 2024
@Zhaoyilunnn Zhaoyilunnn added the bug Something isn't working label Mar 29, 2024
@Zhaoyilunnn
Copy link
Collaborator

f6514d3ab95505bd0d745b06203c24a

qeg now does not have UnitaryDecomposer imported, see https://github.com/ScQ-Cloud/pyquafu/blob/master/quafu/circuits/quantum_circuit.py#L1098

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants