bloqade.cirq_utils.parallelize.generate_epochs
← Module overview
function
source
functiongenerate_epochs¶source
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
| Name | Type | Default | Description |
|---|---|---|---|
solution | dict[NodeType, float] | required | |
tol | — | 0.01 |