diff --git a/src/qibotn/cutn.py b/src/qibotn/cutn.py index 6deb078..e6f3e8c 100644 --- a/src/qibotn/cutn.py +++ b/src/qibotn/cutn.py @@ -5,6 +5,4 @@ from cuquantum import contract def eval(qibo_circ, datatype): myconvertor = QiboCircuitToEinsum(qibo_circ, dtype=datatype) - operands_expression = myconvertor.state_vector_operands() - results = contract(*operands_expression) - return results + return contract(*myconvertor.state_vector_operands())