Variational inference for quantum hyperNetworks