support all gate types and add a deuteron ansatz check Signed-off-by: Thien Nguyen <nguyentm@ornl.gov>