You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am transitioning from Qiskit to ProjectQ and I’m trying to replicate a specific operation. In Qiskit, I can use the following code to apply a multi-controlled X gate:
qc.mcx([0, 1, 3], 2)
I would like to know how to achieve the same functionality in ProjectQ. Is there a built-in function for multi-controlled X gates, or do I need to implement it manually? If manual implementation is required, could someone provide an example?
Thank you for your help!
The text was updated successfully, but these errors were encountered:
Hello ProjectQ Community,
I am transitioning from Qiskit to ProjectQ and I’m trying to replicate a specific operation. In Qiskit, I can use the following code to apply a multi-controlled X gate:
qc.mcx([0, 1, 3], 2)
I would like to know how to achieve the same functionality in ProjectQ. Is there a built-in function for multi-controlled X gates, or do I need to implement it manually? If manual implementation is required, could someone provide an example?
Thank you for your help!
The text was updated successfully, but these errors were encountered: