Number factoring is implemented with a reversible multiplier logic circuit. Logic gates are implemented with continuous equations that are equivalent to the reversible logic gates. Gradient descent is then performed on the resulting equations in order to factor a number.
To factor all numbers with a 4x4 multiplier circuit in forward mode:
go build
./janus -all