<｜begin▁of▁sentence｜>### Instruction:
Given a simple undirected graph with edges connecting vertices in a linear sequence (0-1-2-3), how do you save this graph to a file in Python pickled format using igraph, and then verify by reloading it?
### Response:
from igraph import Graph

# Create a simple graph
graph = Graph(edges=[(0, 1), (1, 2), (2, 3)])

# Write the graph to a pickle file
pickle_filename = 'my_graph.pickle'
graph.write_pickle(pickle_filename)

# To demonstrate loading:
# Read the graph from the pickle file (for verification)
loaded_graph = Graph.Read_Pickle(pickle_filename)
print(loaded_graph)
<|EOT|>
