HamiltonianGate.to_matrix

HamiltonianGate.to_matrix()[source]

Return matrix for the unitary.