![]() |
Whether a given collection of coordinates is within the Weyl chamber.
cirq.google.optimizers.two_qubit_gates.math_utils.in_weyl_chamber(
kak_vec: np.ndarray
) -> np.ndarray
Args | |
---|---|
kak_vec
|
A numpy.ndarray tensor encoding a KAK 3-vector. Input may be broadcastable with shape (...,3). |
Returns | |
---|---|
np.ndarray of boolean values denoting whether the given coordinates are in the Weyl chamber. |