converting quantum scripts to neutron