Skip to content

Support matrix-based QuantumCircuit to backend model conversion #64

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

Open
mrossinek opened this issue Mar 5, 2025 · 0 comments
Open
Assignees
Labels
enhancement New feature or request

Comments

@mrossinek
Copy link
Member

What should we add?

Under the hood, the models in both, quimb and tenpy, store the MPO bond updates as matrices.
Therefore, it is possible to convert any QuantumCircuit object to a backend-supported model by converting each encountered gate to a matrix. This avoids the hard-coded list of gates to be supported in the LayerModel.from_quantum_circuit implementations (see e.g. #63 for an extension thereof).

@mrossinek mrossinek added the enhancement New feature or request label Mar 5, 2025
@mrossinek mrossinek self-assigned this Mar 5, 2025
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

1 participant