Add trained logic gates