  The topology of classical networks is determined by physical links between
nodes, and after a network request the links are used to establish the desired
connections. Quantum networks offer the possibility to generate different kinds
of entanglement prior to network requests, which can substitute links and allow
one to fulfill multiple network requests with the same resource state. We
utilize this to design entanglement-based quantum networks tailored to their
desired functionality, independent of the underlying physical structure. The
kind of entanglement to be stored is chosen to fulfill all desired network
requests (i.e. parallel bipartite or multipartite communications between
specific nodes chosen from some finite set), but in such a way that the storage
requirement is minimized. This can be accomplished by using multipartite
entangled states shared between network nodes that can be transformed by local
operations to different target states. We introduce a clustering algorithm to
identify connected clusters in the network for a given desired functionality,
i.e. the required network topology of the entanglement-based network, and a
merging algorithm that constructs multipartite entangled resource states with
reduced memory requirement to fulfill all desired network requests. This leads
to a significant reduction in required time and resources, and provides a
powerful tool to design quantum networks that is unique to entanglement-based
networks.
