View source on GitHub |
Merges two state vectors into a single unified state vector.
cirq.state_vector_kronecker_product(
t1: np.ndarray, t2: np.ndarray
) -> np.ndarray
The resulting vector's shape will be t1.shape + t2.shape
.
Args | |
---|---|
t1
|
The first state vector. |
t2
|
The second state vector. |
Returns | |
---|---|
A new state vector representing the unified state. |