class_docstr: A base class for all quantum object like operators and states.
class_docstr_tok: ["A","base","class","for","all","quantum","object","like","operators","and","states","."]
docstr: Create new instance of this class with hilbert_space and args.
  
  This is used to bypass the more complex logic in the ``__new__``
  method in cases where you already have the exact ``hilbert_space``
  and ``args``. This should be used when you are positive these
  arguments are valid, in their final, proper form and want to optimize
  the creation of the object.
docstr_tok: ["Create","new","instance","of","this","class","with","hilbert_space","and","args",".","This","is","used","to","bypass","the","more","complex","logic","in","the","``","__new__","``","method","in","cases","where","you","already","have","the","exact","``","hilbert_space","``","and","``","args","``",".","This","should","be","used","when","you","are","positive","these","arguments","are","valid",",","in","their","final",",","proper","form","and","want","to","optimize","the","creation","of","the","object","."]
code: def _new_rawargs(cls, hilbert_space, *args, **old_assumptions):
      """Create new instance of this class with hilbert_space and args.
  
      This is used to bypass the more complex logic in the ``__new__``
      method in cases where you already have the exact ``hilbert_space``
      and ``args``. This should be used when you are positive these
      arguments are valid, in their final, proper form and want to optimize
      the creation of the object.
      """
  
      obj = Expr.__new__(cls, *args, **old_assumptions)
      obj.hilbert_space = hilbert_space
      return obj
  
imports: from sympy.core.expr import Expr
  from sympy.core.symbol import Symbol
  from sympy.core.sympify import sympify
  from sympy.matrices.dense import Matrix
  from sympy.printing.pretty.stringpict import prettyForm
  from sympy.core.containers import Tuple
  from sympy.utilities.iterables import is_sequence
  from sympy.physics.quantum.dagger import Dagger
  from sympy.physics.quantum.matrixutils import numpy_ndarray, scipy_sparse_matrix, to_sympy, to_numpy, to_scipy_sparse
label_desc: Use image node_id 3 for calling the QExpr obj's underlying member method code with example usage: obj._new_rawargs(cls, hilbert_space) and returns: obj