Get desktop application:
View/edit binary Protocol Buffers messages
Arguments needed to specify a gate.
Used in:
,Arguments are either a number, a symbol, or an argument function (which recursively depends on Arg). ArgValue is used to specify an argument that does not vary depending on RunContext. Symbol is used when an argument will be resolved (supplied a value) by a Run Context. Functions are used to define a simple s-expression tree describing how to combine numbers and symbols mathematically.
A function of arguments. This is an s-expression tree representing mathematically the function being evaluated. What language is supported is specified by the arg_function_language in the language message.
Used in:
The name of the function. I.e. if the function is the sum of two symbols, this could be '+', and the args would be two string symbol values. Valid values for the type are given in cirq/google/arg_func_langs.py and must be consistent with the arg_function_language specified in the language field of the program.
The arguments to the function.
Value that can be passed as an argument to a gate.
Used in:
The quantum circuit, specified as a series of moments (abstract slices of times with gates acting on disjoint sets of qubits).
Used in:
The moments of the circuit, with the first element corresponding to the first set of operations to apply, etc.
How the circuit is scheduled.
Used in:
The scheduling strategy is unspecified.
Each operation in a moment starts at the same time. The start of the next moment is given by the duration of the longest operation in the current moment.
The instruction identifying the action taken on the quantum computer.
Used in:
Name for the Gate. These names must match those specified in the gate set. This is found in cirq/google/gate_sets.py.
The language in which the program is expressed.
Used in:
The name of the gate set being used. Valid names for the gate sets can be found in cirq/google/gate_sets.py.
The language supported by ArgFunctions. These specifies what allowed ArgFunction types there are. Valid names for the arg function language can be found in cirq/google/arg_func_langs.py
A moment is a collection of operations that operate on a disjoint set of qubits. Conceptually a moment represents operations that all occurring the same finite period of time.
Used in:
All of the operations in the moment. Each operation must act on different qubits.
An operation acts on a set of qubits.
Used in:
,Which gate this operation corresponds to.
Map from the argument name to the Argument needed to fully specify the gate.
Which qubits the operation acts on.
Store a pauli acting on a particular qubit.
Used in:
Store the sum of simpler terms.
Store a term which is a coefficient of some number of tensored up paulis.
Used in:
A quantum program.
The language in which the program is written.
Programs can be specified by a circuit or a schedule.
A circuit is an abstract representation as a series of moments, each moment having a set of gates that act on disjoint qubits. Circuits don't have absolute times for their operations (gates acting on qubits).
Schedules are a list of operations (gates acting on qubits) that specify absolute start times for the operations.
Store a single projection.
Used in:
False means |0> and true means |1>.
Store the sum of simpler terms.
Store a term which is a coefficient and the qubits of the projection.
Used in:
An identifier for a qubit.
Used in:
Id of the qubit. These depend on the device being scheduled upon. Typically ids for qubits on a line are simple string versions of integers, while for qubits on a square grid these are integers separated by a underscore, i.e. '0_1', '1_2', etc.
A repeated boolean value.
Used in:
The quantum circuit, specified as a series of operations at specific start times.
Used in:
A list of all the operations and their absolute start times.
An operation occurring at a specific start time.
Used in:
Which operation is to be scheduled.
The start time of the operation, with zero representing the absolute start of the circuit. This must be consistent with the moment structure and must be positive.