fqpath to circuit