3
$\begingroup$

Is it possible to obtain easily the second quantized $S^2$ operator in Qiskit, preferably from ElectronicStructureProblem?

I'm obtaining Hamiltonian via second_q_ops() method, accessing property ElectronicEnergy. Is something similar possible to obtain $S^2$?

I know, that this functionality is easily accessible in OpenFermion via s_squared_operator property.

$\endgroup$

1 Answer 1

3
$\begingroup$

Yes. In Nature there is the angular momentum operator which is S-squared (built via the AngularMomentum property class). The second_q_ops() link above refers to this as one of the operators which is available in the return.

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.