Skip to content
Discussion options

You must be logged in to vote

Is there a way to use the cuda-q framework to directly simulate noisy cirq circuits or to translate noisy cirq circuits into cudaq kernels?

In general, I don't think that there is a way to directly simulate a noisy Cirq circuit with CUDA-Q.

Cirq noisy simulation can be translated to CUDA-Q using the apply_noise method (see the doc here)

For example,

This Cirq snippet from its doc:

depo = cirq.asymmetric_depolarize(p_x=0.10, p_y=0.05, p_z=0.15)

circuit = cirq.Circuit(depo(cirq.LineQubit(0)))

can be translated to CUDA-Q as:

cudaq.apply_noise(cudaq.Pauli1, 0.10, 0.05, 0.15, q[0])

Regarding the second question about Cirq - NetworkState interoperability, I'd recommend that you post it to …

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by lucas-slattery
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants