« first day (786 days earlier)      last day (1442 days later) » 

1:00 AM
[ Boson ] New comment posted by mavzolej
@Davit, could you please provide a modified version of your code in which only certain $Z$s (from the provided list, say z_list=[0,3,4]) would be measured? Thanks! — mavzolej 6 mins ago
 
1:50 AM
[ Boson ] New comment posted by Mark S
I'm confused why $S\vert 2\rangle=\vert*\rangle=\frac{1}{\sqrt 2}\vert 0\rangle-\frac{2}{\sqrt 2}\vert 2\rangle$. Are you asking where $-\frac{2}{\sqrt 2}$ came from? That seems like a typo in whatever image you copied this from. The correct state should probably be $S\vert 2\rangle=\vert*\rangle=\frac{1}{\sqrt 2}\vert 0\rangle-\frac{1}{\sqrt 2}\vert 2\rangle$. There you have $\langle *\vert *\rangle=1$. — Mark S 12 mins ago
[ Boson ] New comment posted by Mark S
Hi! Where did you copy the image from? Is this a paper or homework? — Mark S 13 mins ago
 
 
2 hours later…
4:07 AM
@Boson track stackoverflow comments 600 -f CONTAINS LENGTH -v thank -30 -n thank_bot
 
Tracking comments on stackoverflow as directed in SOBotics Workshop
New tracker started: thank_bot
 
4:17 AM
[ Boson ] New comment posted on stackoverflow by Freddy Martinez Garcia
[ Boson ] New comment posted on stackoverflow by Amey Khanolkar
[ Boson ] New comment posted on stackoverflow by Uttam Dey
[ Boson ] New comment posted on stackoverflow by Sudarshana Dayananda
[ Boson ] New comment posted on stackoverflow by Chow jing lun
[ Boson ] New comment posted on stackoverflow by Incredible
[ Boson ] New comment posted on stackoverflow by jjjkkkjjj
[ Boson ] New comment posted on stackoverflow by es-enthu
[ Boson ] New comment posted on stackoverflow by Nilton Schumacher F
[ Boson ] New comment posted on stackoverflow by ali raza
 
5:07 AM
[ Boson ] New comment posted on stackoverflow by Tim Ikata
[ Boson ] New comment posted on stackoverflow by Milan_Thapa
[ Boson ] New comment posted on stackoverflow by Milan_Thapa
[ Boson ] New comment posted on stackoverflow by chiefus
[ Boson ] New comment posted on stackoverflow by Pat Needham
[ Boson ] New comment posted on stackoverflow by Yashodeep D
[ Boson ] New comment posted on stackoverflow by greg
[ Boson ] New comment posted on stackoverflow by VV2020
[ Boson ] New comment posted on stackoverflow by Smit
[ Boson ] New comment posted on stackoverflow by E. Shcherbo
[ Boson ] New comment posted on stackoverflow by Angathan Nesarasa
[ Boson ] New comment posted on stackoverflow by Devansh
 
5:57 AM
[ Boson ] New comment posted on stackoverflow by Nikul Panchal
[ Boson ] New comment posted on stackoverflow by Theavuth
[ Boson ] New comment posted on stackoverflow by Ranjul Ramachandran
[ Boson ] New comment posted on stackoverflow by Jeremy DeGioa
 
6:27 AM
[ Boson ] New comment posted on stackoverflow by Sandy
[ Boson ] New comment posted on stackoverflow by John Priestakos
[ Boson ] New comment posted on stackoverflow by Tyler Collins
[ Boson ] New comment posted on stackoverflow by Romy
[ Boson ] New comment posted on stackoverflow by EzrealReal
 
6:50 AM
[ Boson ] New comment posted by shashanka300
yes it its from a paper. I agree about the typo but is it a valid super position state for a Qutrit — shashanka300 6 mins ago
[ Boson ] New comment posted on stackoverflow by [Rohan ](stackoverflow.com/users/13609573/rohan)
[ Boson ] New comment posted on stackoverflow by Andrei Cherniuk
[ Boson ] New comment posted on stackoverflow by sridharlovevirus
[ Boson ] New comment posted on stackoverflow by S. Iakovlev
[ Boson ] New comment posted on stackoverflow by Nadlir
[ Boson ] New comment posted on stackoverflow by zhangnan
[ Boson ] New comment posted on stackoverflow by Petr
 
7:27 AM
[ Boson ] New comment posted on stackoverflow by motya
 
7:37 AM
[ Boson ] New comment posted on stackoverflow by Salah
[ Boson ] New comment posted on stackoverflow by Ben
 
7:47 AM
[ Boson ] New comment posted on stackoverflow by Shahjalal Hazari
[ Boson ] New comment posted on stackoverflow by GarryCyber
[ Boson ] New comment posted on stackoverflow by Vimala K
[ Boson ] New comment posted on stackoverflow by Ashutosh Sharma
[ Boson ] New comment posted by Rik
I didn't expect an answer directly from you, it was a pleasant surprise :) anyway now everything is clear, thank you very much! — Rik 22 mins ago
[ Boson ] New comment posted on stackoverflow by Ale865
 
8:17 AM
[ Boson ] New comment posted on stackoverflow by scapy
[ Boson ] New comment posted on stackoverflow by Ezio Auditore da Firenze
 
8:27 AM
[ Boson ] New comment posted on stackoverflow by Paul Grimshaw
[ Boson ] New comment posted on stackoverflow by Dibzmania
[ Boson ] New comment posted by Davit Khachatryan
@mavzolej, I have changed my answer, now it includes the case described in your comment. — Davit Khachatryan 14 mins ago
[ Boson ] New comment posted on stackoverflow by Keijo Keijo
[ Boson ] New comment posted on stackoverflow by Eddy_Kay
[ Boson ] New comment posted on stackoverflow by xyz
[ Boson ] New comment posted on stackoverflow by hellomynameisA
[ Boson ] New comment posted on stackoverflow by The8BitOwl
[ Boson ] New comment posted on stackoverflow by radix
[ Boson ] New comment posted on stackoverflow by Ope
[ Boson ] New comment posted on stackoverflow by user553480
[ Boson ] New comment posted on stackoverflow by ASSeeger
[ Boson ] New comment posted on stackoverflow by Sofiane Laghouati
[ Boson ] New comment posted on stackoverflow by MasterSinge
 
9:37 AM
[ Boson ] New comment posted on stackoverflow by Luis Olias
[ Boson ] New comment posted on stackoverflow by OEA
 
9:57 AM
[ Boson ] New comment posted on stackoverflow by Vladimir
[ Boson ] New comment posted on stackoverflow by Rollo99
[ Boson ] New comment posted on stackoverflow by Philippe
[ Boson ] New comment posted on stackoverflow by vuchau
[ Boson ] New comment posted on stackoverflow by pooja
[ Boson ] New comment posted on stackoverflow by rishi_stark
[ Boson ] New comment posted on stackoverflow by Ale865
[ Boson ] New comment posted on stackoverflow by nicoptere
[ Boson ] New comment posted on stackoverflow by Anurag Singh
[ Boson ] New comment posted on stackoverflow by gunal
[ Boson ] New comment posted on stackoverflow by Lukic
[ Boson ] New comment posted on stackoverflow by user9403668
[ Boson ] New comment posted on stackoverflow by Shripada
[ Boson ] New comment posted on stackoverflow by LonelyRogue
[ Boson ] New comment posted on stackoverflow by Константин Константин
[ Boson ] New comment posted on stackoverflow by Константин Константин
[ Boson ] New comment posted on stackoverflow by Jose M Lechon
 
11:07 AM
[ Boson ] New comment posted on stackoverflow by Don2
[ Boson ] New comment posted on stackoverflow by myamulla_ciencia
[ Boson ] New comment posted on stackoverflow by Don2
 
@Boson stop thank_bot
 
Bot thank_bot stopped
 
11:25 AM
[ Boson ] New comment posted by Davit Khachatryan
Please, provide an example of a conditional gate. One of the most famous conditional gates is $CNOT$, but note that it is a two-qubit gate, and the question assumes that there are single qubit conditional gates (at least that's how I (maybe mistakenly) understand the question). — Davit Khachatryan 5 mins ago
 
11:50 AM
[ Boson ] New comment posted by JSdJ
This comment unfortunately does not answer the asked question, as that is specifically on the real-world implementation of quantum simulations. — JSdJ 9 mins ago
 
12:40 PM
[ Boson ] New comment posted by Nelimee
While this link may answer the question, it is better to include the essential parts of the answer here and provide the link for reference. Link-only answers can become invalid if the linked page changes. - From ReviewNelimee 7 mins ago
 
 
2 hours later…
3:10 PM
[ Boson ] New comment posted by mavzolej
@Davit, amazing, thanks!! I guess, the list in your example should be [0,1], using Qiskit notations?.. Also, is my understanding correct that in order to measure an arbitrary Pauli, the only extra step would be adding an additional layer of rotations to the quantum circuit before measuring, conditioned on which particular Pauli is to be calculated? — mavzolej 23 mins ago
 
4:00 PM
[ Boson ] New comment posted by mavzolej
What exactly does the line bit_indexes.sort(reverse=True) do? (and why do we need it?) — mavzolej 7 mins ago
[ Boson ] New comment posted by mavzolej
Perfect, thanks! TBH, I'm a little surprised that this whole procedure is not included into standard Qiskit library. — mavzolej 11 mins ago
[ Boson ] New comment posted by Davit Khachatryan
@mavzolej, happy to help :) I think the ordering is ok, it can be checked with the link that I have added in the answer. Yes, you are right, note that I have added a small explanation for the arbitrary Pauli term. — Davit Khachatryan 13 mins ago
 
4:25 PM
[ Boson ] New comment posted by Davit Khachatryan
[ Boson ] New comment posted by mavzolej
Could you please also explain why cut_counts produces a reduced number of counts? Shouldn't just some of the original counts be counted multiple times? — mavzolej 14 mins ago
[ Boson ] New comment posted by Davit Khachatryan
@mavzolej, it sorts the indexes in decreasing order. It is added because if the function has received [0, 5, 1, 2] indexes, it will need to reorder them and it does reordering in decreasing order [5, 2, 1, 0] because that is the order that the for loop that uses bit_indexes needs in the current implementation. — Davit Khachatryan 22 mins ago
 
 
1 hour later…
5:40 PM
[ Boson ] New comment posted by Mariia Mykhailova
Can you please edit your question to include the code you're trying to run? It's really hard to troubleshoot errors without the code that produces them. — Mariia Mykhailova 14 mins ago
 
6:05 PM
[ Boson ] New comment posted by Davit Khachatryan
@AlexanderSoare, I know the paper and how I understand sometimes/often people drop the $\otimes$ symbol, and in this particular case they also have dropped the $\otimes$ symbol. So in equation (1) they have tensor products. — Davit Khachatryan 3 mins ago
[ Boson ] New comment posted by Alexander Soare
I could be confused here, but I'm not actually referring to the tensor product (which would be for the 2-qubit case). I'm talking about the operator which is formed by the sequential application of $\sigma_z$ then $\sigma_y$, which is what I understand the paper means with equation (1) from my original question. — Alexander Soare 8 mins ago
 
6:30 PM
[ Boson ] New comment posted by Davit Khachatryan
Alexander, the equation (1) (or slight modification of it) is applicable also for one qubit case: for one qubit $H = \sum_{\alpha} h_{\alpha} \sigma_{\alpha} = h_i I + h_x \sigma_x + h_y \sigma_y + h_z \sigma_z$. — Davit Khachatryan 2 mins ago
[ Boson ] New comment posted by Alexander Soare
Ah understood, I had the whole premise wrong. Thank you! I will accept your answer although I suppose it may make sense (if you have time) to add an edit fully clarifying this last part for anyone else who might have my issue. — Alexander Soare 12 mins ago
[ Boson ] New comment posted by Davit Khachatryan
A quote from the paper: "Any Hamiltonian may be written as", it already means that the equation (1) is not written only for the one qubit case. — Davit Khachatryan 24 mins ago
 
6:55 PM
[ Boson ] New comment posted by Davit Khachatryan
And in the second (similarly for the third) sum of the equation (1) we don't have separate $h_{\alpha}$ and $h_{\beta}$, instead, there should be $h_{\alpha \beta}^{ij}$ that is not (necessarily) equal to $h_{\alpha}^i \cdot h_{\beta}^j$. — Davit Khachatryan 14 mins ago
 
7:20 PM
[ Boson ] New comment posted by Yuzuriha Inori
The example you have provided is a perfect Golomb ruler (can measure $n(n-1)$ lengths where $n$ is the number of marks, and in your case is $2\cdot 3=6$). Do you want an algorithm for perfect rulers or for general rulers? Because, if you want the former, then there exist no such rulers with more than 4 marks. — Yuzuriha Inori 23 mins ago
 
7:45 PM
[ Boson ] New comment posted by Davit Khachatryan
Alexander, it is ok :). Sometimes the notations are not clear. BTW here is my Qiskit implementation/tutorial for one qubit VQE that might be interesting: github.com/DavitKhach/quantum-algorithms-tutorials/blob/mast‌​er/…Davit Khachatryan 38 secs ago
[ Boson ] New comment posted by Uzumaki Saptarshi
Yeah, i found out about the convention few minutes back. I was testing with |001> and |100> and found it. — Uzumaki Saptarshi 1 min ago
[ Boson ] New comment posted by Mark S
General rulers! Thanks! — Mark S 5 mins ago
[ Boson ] New comment posted by Alexander Soare
Wow! Thank you. There are probably many ways to answer this question but you somehow nailed it for me with the practical approach — Alexander Soare 19 mins ago
[ Boson ] New comment posted by Alexander Soare
@DavitKhachatryan I'm pretty sure I applied my erroneous thinking in the middle of transcribing it which further reinforced said thinking, lol — Alexander Soare 24 mins ago
 
8:10 PM
[ Boson ] New comment posted by Davit Khachatryan
Alexander, yes, I can try to review :). You can contact with me by Twitter or Linkedin (both links are available in my QCSE profile). — Davit Khachatryan 7 mins ago
[ Boson ] New comment posted by Alexander Soare
@DavitKhachatryan wow, I actually have this opened up along with mustythoughts.com, and I'm writing my own framework agnostic tutorial as we speak. I'm actually looking for more seasoned quantum computing practitioners to give it a seal of approval by reviewing it before I publish it. If you'd be interested to do so for me please PM me (maybe this is now inappropriate for SE comments so I'll delete it soon) — Alexander Soare 22 mins ago
 
8:35 PM
[ Boson ] New comment posted by mavzolej
Wow, that's quite involved but will hopefully work :) Why can't I just copy the gates one by one to another circuit, until I reach the measurement? — mavzolej 11 mins ago
 
9:25 PM
[ Boson ] New comment posted by Mark S
Thanks! I guess I’m looking for the dual problem- given about $n^2$ qubits try to make about $n$ of them $1$, so as to satisfy the Golomb property. — Mark S 6 mins ago
 
 
1 hour later…
10:40 PM
[ Boson ] New comment posted by edbert kwesi
gracias! grateful — edbert kwesi 17 secs ago
 
11:30 PM
[ Boson ] New comment posted by Yuzuriha Inori
I am not sure I get you, although I have a vague idea what you mean. Can you provide a couple of examples to demonstrate your idea? Say with 4 and 9 qubits? — Yuzuriha Inori 21 mins ago
 

« first day (786 days earlier)      last day (1442 days later) »