fqe.fqe_ops.fqe_ops_utils.validate_rdm_string

Check that a string for rdms are valid.

ops String expression to be computed.

Returns Either 'element' or 'tensor'.