cirq.list_of_dicts_to_zip

Converts a list of dictionaries into a cirq.Zip of cirq.Points.

This will convert lists of dictionaries into a more compact Sweep format. For large sweeps, this can vastly improve performance.

This will change [{'a': 1.0, 'b': 2.0}, {'a': 3.0, 'b': 4.0}] into cirq.Zip(cirq.Points('a', [1.0, 3.0]), cirq.Points('b', [2.0, 4.0])_)

ValueError if the keys in any of the list items are not the same.