tensor_product#
- ssip.lifted_product.tensor_product(A: ndarray[Any, dtype[uint8]], B: ndarray[Any, dtype[uint8]]) CSScode [source]#
Calculate the tensor product in the category of chain complexes given two length 1 chain complexes, i.e. classical codes. This produces a lengeth 2 chain complex, i.e. CSS code.
- Parameters:
A – The first classical code.
B – The second classical code.
- Returns:
The tensor product qubit CSS code.