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

Create functionality for contraction with open indexes #29

Open
benjaminvillalonga opened this issue Jul 17, 2019 · 2 comments
Open

Create functionality for contraction with open indexes #29

benjaminvillalonga opened this issue Jul 17, 2019 · 2 comments
Labels
enhancement New feature or request

Comments

@benjaminvillalonga
Copy link
Contributor

When computing all amplitudes of the "open" region of the circuit, it is faster to contract that region without closing the indexes. The resulting tensor is contracted with the tensor resultant from the rest of the circuit.

@95-martin-orion
Copy link
Contributor

On this topic, there's currently some redundancy between the "qubits_A" input value and the "terminal_cuts" in contraction ordering. This should be consolidated to a single source of truth - keeping it in the contraction ordering seems correct to me.

@95-martin-orion
Copy link
Contributor

The "qubits_A" field was removed in #30 - it is now parsed from contraction ordering. There's a TODO in the code to update this parsing to use the new operation.

@s-mandra s-mandra added the enhancement New feature or request label Oct 14, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants