2
$\begingroup$

I have already asked this question on reddit.com/r/QuantumComputing.

Cirq supports to create quantum circuits composed by qubits having 2D grid structure.

We have been preparing educational materials to teach the basics of quantum computing and quantum programming tools. I am looking for an interesting and very basic level example using 2D grid of qubits. It should not be more complex than superdense coding or quantum teleportation but still have some fun.

Do you know any example or do you have any idea?

We have used Qiskit until now, and we plan to include the examples by pyQuil and Cirq. Having some good motivation would be pedagogically reasonable when including them, as we would ask the user to install and learn more than one platform.

Thank you!

$\endgroup$
  • 1
    $\begingroup$ You could do a permutation of the grid, like transposing or reversing the qubits. That sort of task is more efficient on a grid than on a line. Another simple example would be a flood fill of some sort, like a CNOT from some common control to all other qubits or computing the parity of all the qubits. $\endgroup$ – Craig Gidney Oct 21 '19 at 16:32
  • 1
    $\begingroup$ are you looking for code, or just for some fun physical example to implement? $\endgroup$ – user2723984 Oct 21 '19 at 17:34
  • $\begingroup$ @user2723984: some examples or ideas. We will create the material and codes. $\endgroup$ – Abuzer Yakaryilmaz Oct 21 '19 at 18:49
  • $\begingroup$ @CraigGidney: Nice ideas for practicing on the grid. Thank you! $\endgroup$ – Abuzer Yakaryilmaz Oct 21 '19 at 18:51
  • $\begingroup$ do you know about the surface code? You could implement one qubit using a grid with that, but maybe it's too complex? $\endgroup$ – user2723984 Oct 21 '19 at 20:06

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.