Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Comments

Purification apply op#489

Merged
Jakob-Unfried merged 2 commits intomainfrom
purification_apply_op
Mar 20, 2025
Merged

Purification apply op#489
Jakob-Unfried merged 2 commits intomainfrom
purification_apply_op

Conversation

@Jakob-Unfried
Copy link
Member

@Jakob-Unfried Jakob-Unfried commented Mar 12, 2025

Looks like PurificationMPS.apply_local_op (Implemented in MPS) does not handle the labels correctly for multi-site operators, since _get_p_labels gives all labels, ancilla and physical.

Second commit in this PR adds a test that detects this bug.
The rest of them fix the bug.

Fix the implementation of MPS.from_full such that it allows for
multiple legs per site.
@Jakob-Unfried Jakob-Unfried force-pushed the purification_apply_op branch from 5e9bb3c to 71b52f6 Compare March 20, 2025 13:51
@Jakob-Unfried Jakob-Unfried force-pushed the purification_apply_op branch from 71b52f6 to e223bea Compare March 20, 2025 13:53
@Jakob-Unfried Jakob-Unfried merged commit 44e2ebd into main Mar 20, 2025
9 checks passed
@Jakob-Unfried Jakob-Unfried deleted the purification_apply_op branch March 20, 2025 15:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant