Skip to content

QASM for QubitCircuit#71

Merged
sansiro77 merged 1 commit intoTuringQ:mainfrom
sansiro77:dev-qasm
Jan 6, 2025
Merged

QASM for QubitCircuit#71
sansiro77 merged 1 commit intoTuringQ:mainfrom
sansiro77:dev-qasm

Conversation

@sansiro77
Copy link
Contributor

For example:

cir = dq.QubitCircuit(4)
cir.x(0, controls=[1,2,3])
cir.y(0, controls=[1])
cir.rx(0)
cir.ry(0, controls=[1])
cir.cnot(0, 1)
cir.s(0, controls=[1])
cir.t(0)
cir.rxx([0,1])
cir.measure(wires=[0,2])
cir.qasm()

@sansiro77 sansiro77 added the enhancement New feature or request label Jan 6, 2025
@sansiro77 sansiro77 requested a review from Hugh-888 January 6, 2025 08:01
@sansiro77 sansiro77 self-assigned this Jan 6, 2025
@sansiro77 sansiro77 merged commit a885ffd into TuringQ:main Jan 6, 2025
@sansiro77 sansiro77 deleted the dev-qasm branch January 20, 2025 02:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants