Hello, can you explain how to see in Google Cirq that the figure above is a 54 qubits quantum computer ? thanks
2 Answers
$\begingroup$
$\endgroup$
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))
$\begingroup$
$\endgroup$
Just count the (a,b). They are 54. Or look at google's official docs, what the circuit diagram signifies.