qiskit.opflow.state_fns.VectorStateFn.to_matrix_op¶
- VectorStateFn.to_matrix_op(massive=False)[Quellcode]¶
Return a
VectorStateFn
for thisStateFn
.- Parameter
massive (bool) – Whether to allow large conversions, e.g. creating a matrix representing over 16 qubits.
- Rückgabe
A VectorStateFn equivalent to self.
- Rückgabetyp