productstate
- Model.productstate(quantum_nums)
Return the product-basis state for the given per-spin quantum numbers.
- Parameters:
quantum_nums (
str|Dict[str,float] |Tuple[float,...]) –Quantum numbers. It can be specified by three 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.By a bitstring such as
"010", interpreted in thespin_namesorder using each spin’squbit_subspace.
- Return type:
ndarray|Array- Returns:
Product basis state