Skip to content

bloqade.cirq_utils.parallelize.generate_epochs

← Module overview

functiongenerate_epochssource

bloqade.cirq_utils.parallelize.generate_epochs

def generate_epochs(solution: dict[NodeType, float], tol=0.01)

Internal function to generate epochs from the solution of the linear program.

Parameters

NameTypeDefaultDescription
solutiondict[NodeType, float]required
tol—0.01
source