-
Notifications
You must be signed in to change notification settings - Fork 1k
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
Quantum shannon decomposition fails for QFT with non-unitary matrix error #6666
Comments
csynque meeting - we need to confirm this fails due to significant difference rather than round-off errors. |
related to #6725 @pavoljuhas it seems that |
@NoureldinYosri I would say this is a good opportunity to rewrite how cirq does QSD for two reasons:
It would be great if you can just replicate what Qiskit has for your QSD. I'd be more than happy to help where I can. Here's a reference for QSD through qiskit vs through cirq (let's assume it's fixed):
|
@ACE07-Sev QSD was a recent addition to Cirq and we welcome help with this and other issues. if you (or someone else) would like to help fix this, feel free to assign the issue to yourself and we would be very grateful. otherwise we will discuss this issue in the next cirq-sync. |
May I ask how I can get added to the meeting for this? I had a look at the cirq-dev google group, but I can't see any scheduled meetings there. |
@ACE07-Sev when you join https://groups.google.com/g/cirq-dev, you get automatic invitation to the meeting |
Description of the issue
I encountered an issue when attempting to decompose the unitary matrix of QFT(4) using the built-in
quantum_shannon_decomposition
function in Cirq.According to the documentation, the
quantum_shannon_decomposition
function is supposed to decompose the unitary matrix into a sequence of CX, YPow, ZPow, and CNOT gates. However, it seems that the result of the decomposition contains a non-unitary matrix.How to reproduce the issue
Cirq version
1.4.1
The text was updated successfully, but these errors were encountered: