cirq_google.api.v2.line_qubit_from_proto_id

Parse a proto id to a cirq.LineQubit.

Proto ids for line qubits are integer strings representing the x attribute of the line qubit.

proto_id The id to convert.

A cirq.LineQubit corresponding to the proto id.

ValueError If the string is not an integer.