Skip to content

Commit 48b95a3

Browse files
authored
📝 Update Getting Started example
1 parent e7d581c commit 48b95a3

File tree

1 file changed

+4
-7
lines changed

1 file changed

+4
-7
lines changed

README.md

+4-7
Original file line numberDiff line numberDiff line change
@@ -30,14 +30,11 @@ The following code gives an example on the usage:
3030
```python3
3131
from mqt import qcec
3232

33-
# initialize the equivalence checker
34-
ecm = qcec.EquivalenceCheckingManager("circ1.qasm", "circ2.qasm")
33+
# verify the equivalence of two circuits provided as qasm files
34+
result = qcec.verify("circ1.qasm", "circ2.qasm")
3535

36-
# execute the check
37-
ecm.run()
38-
39-
# obtain the result
40-
print(ecm.equivalence())
36+
# print the result
37+
print(result.equivalence)
4138
```
4239

4340
## System Requirements and Building

0 commit comments

Comments
 (0)