code: def test_pr24993():
      from sympy.matrices.expressions.kronecker import (
          matrix_kronecker_product,
      )
      from sympy.physics.quantum.matrixutils import (
          matrix_tensor_product,
      )
  
      X = Matrix([[0, 1], [1, 0]])
      Xi = ImmutableMatrix(X)
      assert TensorProduct(Xi, Xi) == TensorProduct(X, X)
      assert TensorProduct(Xi, Xi) == matrix_tensor_product(X, X)
      assert TensorProduct(Xi, Xi) == matrix_kronecker_product(X, X)
  
imports: from sympy.core.numbers import I
  from sympy.core.symbol import symbols
  from sympy.core.expr import unchanged
  from sympy.matrices import Matrix, SparseMatrix, ImmutableMatrix
  from sympy.physics.quantum.commutator import Commutator
  from sympy.physics.quantum.tensorproduct import TensorProduct
  from sympy.physics.quantum.tensorproduct import TensorProduct
  from sympy.physics.quantum.tensorproduct import tensor_product_simp
  from sympy.physics.quantum.dagger import Dagger
  from sympy.physics.quantum.qubit import Qubit, QubitBra
  from sympy.physics.quantum.operator import OuterProduct
  from sympy.physics.quantum.density import Density
  from sympy.physics.quantum.trace import Tr
label_desc: Use image node_id 9 for calling a global function with example usage: test_pr24993() without return types