![]() |
For a given layer (specifically, a set of pairs of qubits), combinations
is a 2d array
cirq.experiments.random_quantum_circuit_generation.CircuitLibraryCombination(
layer: Optional[Any],
combinations: np.array,
pairs: List[cirq.experiments.random_quantum_circuit_generation.QidPairT
]
)
of shape (n_combinations, len(pairs)) where each row represents a combination (with replacement) of two-qubit circuits. The actual values are indices into a list of library circuits.
layer
is used for record-keeping. This is the GridInteractionLayer if using
get_random_combinations_for_device
, the Moment if using
get_random_combinations_for_layer_circuit
and ommitted if using
get_random_combinations_for_pairs
.
Attributes | |
---|---|
layer
|
Dataclass field |
combinations
|
Dataclass field |
pairs
|
Dataclass field |
Methods
__eq__
__eq__(
other
)