cirq.QubitOrderOrList

cirq.QubitOrderOrList = typing.Union[cirq.ops.qubit_order.QubitOrder, typing.Iterable[cirq.ops.raw_types.Qid]]

Specifies a qubit ordering.

The ordering can either be specified by an iterable (such as a list) with
the qubits in the desired order, or by a cirq.QubitOrder object.