BQSKit / bqskit

Berkeley Quantum Synthesis Toolkit
Other
118 stars 33 forks source link

Add example code for Pre-Built models #186

Closed tinaoberoi closed 11 months ago

tinaoberoi commented 1 year ago

It would be useful to add code example for pre-built models.

Proposal (Can choose either one):

Example:

model = Sycamore23Model
out_circuit = compile(circuit, model=model)

print("Gate Counts:", out_circuit.gate_counts)

print("Connectivity:", out_circuit.coupling_graph)
edyounis commented 11 months ago

This is a great suggestion! Thank you for this.