Two-sort batched routing with repeated matching keys #
The first sort places a unique source before arbitrarily many destinations. The shared scan broadcasts values while preserving destination identifiers. The second sort returns results to fixed output positions. All operations are explicit De Morgan circuits with an additive cost bound.
Sorting by matching key and tag, followed by shared value broadcast.
Equations
- One or more equations did not get rendered due to their size.
Instances For
The bitonic sort followed by the value broadcast.
The complete two-sort batched router.
Equations
- One or more equations did not get rendered due to their size.
Instances For
The exact gate count of routingCircuit.
Matching and broadcast preserve the complete multiset of destination identifiers, including padding identifiers.
Every destination header specifying the query key receives the value of its unique source. Destination keys may repeat.
The concrete two-sort circuit returns each lookup result to the fixed output position determined by its unique destination identifier.
The two sorts and shared scan have linear dependence on the record count, with polynomial factors in depth and record-field widths.