>>> x = graph.pwc(durations=np.array([0.1, 0.3]), values=np.array([1, 2]))
>>> graph.symmetrize_pwc(x, name="symmetrize")
<Pwc: name="symmetrize", operation_name="symmetrize_pwc", value_shape=(), batch_shape=()>
>>> result = qctrl.functions.calculate_graph(graph=graph, output_node_names=["symmetrize"])
>>> result.output["symmetrize"]
[
{"value": 1.0, "duration": 0.1},
{"value": 2.0, "duration": 0.3},
{"value": 2.0, "duration": 0.3},
{"value": 1.0, "duration": 0.1},
]