The state equation of jk flip-flop is: q * = jq'+k' q.
Let these two formulas be equal:
D = JQ+ gram Q.
The above functions can be converted into jk flip-flops by gate circuits.