1
$\begingroup$

enter image description here

Hello, can you explain how to see in Google Cirq that the figure above is a 54 qubits quantum computer ? thanks

$\endgroup$
1
  • $\begingroup$ Just count the tuples (i,j) $\endgroup$
    – Mathias
    Commented Feb 19 at 10:28

2 Answers 2

1
$\begingroup$

Using Cirq, you can do the following:

import cirq_google

my_device = cirq_google.Sycamore
metadata = my_device.metadata
# Then:
print(len(metadata.qubit_set))
# Or,
print(len(metadata.nx_graph.nodes))
$\endgroup$
0
$\begingroup$

Just count the (a,b). They are 54. Or look at google's official docs, what the circuit diagram signifies.

https://quantumai.google/cirq/build/circuits

$\endgroup$

Not the answer you're looking for? Browse other questions tagged or ask your own question.