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

Gate staticized, unitarized during gate reassignment #365

Closed
sserita opened this issue Nov 7, 2023 · 1 comment
Closed

Gate staticized, unitarized during gate reassignment #365

sserita opened this issue Nov 7, 2023 · 1 comment
Assignees
Labels
bug A bug or regression

Comments

@sserita
Copy link
Contributor

sserita commented Nov 7, 2023

Describe the bug
When you reassign an explicit model’s fully parameterized gate to that same gate times the dense identity matrix, it somehow makes the resulting gate stored in the model a static unitary gate.

To Reproduce
MWE-GateAssignmentStaticizesAndUnitarizesGate.ipynb.zip

Expected behavior
The gate remains fully parameterized.

@sserita sserita added the bug A bug or regression label Nov 7, 2023
@sserita sserita self-assigned this Nov 7, 2023
sserita added a commit that referenced this issue Nov 9, 2023
@sserita sserita added the fixed-but-not-in-release-yet Bug has been fixed, but isn't in an official release yet (just exists on a development branch) label Nov 9, 2023
@sserita
Copy link
Contributor Author

sserita commented Nov 29, 2023

Closed with release of 0.9.12.

@sserita sserita closed this as completed Nov 29, 2023
@sserita sserita removed the fixed-but-not-in-release-yet Bug has been fixed, but isn't in an official release yet (just exists on a development branch) label Dec 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug A bug or regression
Projects
None yet
Development

No branches or pull requests

1 participant