cirq.linalg.transformations.transpose_state_vector_to_axis_order

Transposes the axes of a state vector to a specified order.

t The state vector to transpose.
axes The desired axis order.

The transposed state vector.