productstate
- Model.productstate(quantum_nums)
Return the product basis state of the model corresponding to given quantum numbers of the spins.
- Parameters:
quantum_nums (
Dict[str,float] |Tuple[float,...]) –Quantum numbers. It can be specified by two different ways:
By a
dictwhose keys correspond to the spin names and values correspond to the quantum numbers.By a
tuplecontaining the quantum numbers in the same order as indicated by thespin_names.
- Return type:
- Returns:
Product basis state