Testing quantum foundations with quantum computers