code: def test_issue_5923():
      # most of the issue regarding sympification of args has been handled
      # and is tested internally by the use of args_cnc through the quantum
      # module, but the following is a test from the issue that used to raise.
      assert TensorProduct(
          1, Qubit("1") * Qubit("1").dual
      ) == TensorProduct(1, OuterProduct(Qubit(1), QubitBra(1)))
  
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 7 for calling a global function with example usage: test_issue_5923() without return types