tensorcircuit
tensorcircuit copied to clipboard
QAOA block on weighted graph
Task description
Add weighted graph QAOA ansatz support for tc.templates.blocks.QAOA_block
Implementation
https://github.com/tencent-quantum-lab/tensorcircuit/blob/master/tensorcircuit/templates/blocks.py#L83 In this method, add graph edge weights in parameters.
Requirements
nxgraph package edge property
Difficulty: ★★