Matrix representation of circuit
See original GitHub issueWhat is the expected enhancement?
It would be great to be able to inspect the unitary matrix of a circuit that can be represented as such. Currently one can go through Operator
to get a representation but it’s not obvious to a user how to do this.
A circuit.to_matrix
method or similar would make this much clearer and easily accessible. However, not all circuits have a matrix representation and thus this would not be universal.
Issue Analytics
- State:
- Created 4 years ago
- Reactions:2
- Comments:7 (7 by maintainers)
Top Results From Across the Web
Matrix representation of quantum circuits - notations and gotchas
A case study by building a tensor network to match qiskit conventions.
Read more >How to interpret a quantum circuit as a matrix?
To find the overall matrix for the circuit, then, we multiply them all together: ... If you don't know the base representation of...
Read more >1 Matrix representation in Quantum Computing - bingweb
Suppose that all the matrices describing quantum gates are of the same size. (a). A. ˆ. We introduce a notation of quantum circuit....
Read more >Matrix Representation of Quantum Gates
cused on representing quantum reversible gates in matrix form. In turn these matrices can be used to develop quantum circuits with help of...
Read more >A Matrix Representation of Quantum Circuits over Non ...
A synthetic matrix representation of an arbitrary quantum circuit is easy to achieve by involving compositions of multiple SWAP gates and ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
I don’t think this should be a circuit method:
It would be better to better document to the user how to use the Operator class or unitary simulator to do this
closing this issues as
wont fix
. Please, reopen if there are new arguments for aQuantumCircuit.to_matrix
method.