Exploring 2D materials heterostructures with a single spin quantum sensor