QuantumBFS / Yao.jl

Extensible, Efficient Quantum Algorithm Design for Humans.
https://yaoquantum.org
Other
918 stars 119 forks source link

Implementing circuit.append(cirq.X(qubits[3]).controlled_by(qubits[1],qubits[4])) #431

Closed BoltzmannEntropy closed 1 year ago

BoltzmannEntropy commented 1 year ago

Hello, Is that supported in Yao?

image
GiggleLiu commented 1 year ago

Thanks for the issue. Yes, it is

control(4, (1, 4), 3=>X)

While it is a good question and is welcomed here, in order to make the answer more accessible to other users, a better place to ask question is the quantum domain of discourse: https://discourse.julialang.org/c/domain/quantum/52 . Both Roger and I watched that channel.