for p=3, d=3 and p=2 d=4 the code fails with the following error:
ValueError: Internal error while evaluating ContractExpression. Note that few checks are performed - the number and rank of the array arguments must match the original expression. The internal error was: '('einstein sum subscripts string contains too many subscripts in the output',)'
Hi,
I'm trying to contract a circuit using your QAOA example. I create it from a graph and then do .preprocess() and .query(). See this file https://github.com/danlkv/acqdp/blob/main/demo/QAOA/bench_cli.py
for p=3, d=3 and p=2 d=4 the code fails with the following error:
ValueError: Internal error while evaluating ContractExpression. Note that few checks are performed - the number and rank of the array arguments must match the original expression. The internal error was: '('einstein sum subscripts string contains too many subscripts in the output',)'