Share Your Experience: Take the 2024 Developer Survey

# Questions tagged [cirq]

A python framework for creating, editing, and invoking Noisy Intermediate Scale Quantum (NISQ) circuits. It is a Python library for writing, manipulating, and optimizing quantum circuits and running them against quantum computers and simulators.

18 questions
Filter by
Sorted by
Tagged with
1k views

• 990
351 views

### How to cite cirq in a scientific article?

What would be the best/prefered bibtex entry for citing cirq ? Is this ok ? ...
1 vote
262 views

### Producing $|ghz\rangle\langle ghz|$ State in Cirq

I could manage to produce 3 qubit ghz state in Cirq. But I don't know how I can produce $|GHZ\rangle\langle GHZ|$ in Cirq Here is my code for 3 qubit ghz state Can you help me please for improving my ...
• 626
1 vote
261 views

### Expectation value of an arbitrary observable. My own definition and cirq limitations

In my previous question I was struggling with the definition of expectation value of an observable for a circuit. Here is what I have derived after some support (I simplify the definition to 2-qubit ...
• 269
1 vote
659 views

### Is there a quantum circuit builder package that allows you to import/export a circuit as a JSON?

I've done a superficial search in each of the qiskit, cirq, and braket open source repositories for such a feature, but can't find any explicit examples of this functionality. I'm wondering if anyone ...
• 147
142 views

### $S^2$ expectation value of a circuit seems wrong

I need to rewrite a following circuit from Cirq to Qiskit with $2\varphi = \pi$. It's a circuit representing an initial state for VQE calculation. Considering, that ...
• 265
64 views

### Multiple Bipartite Entangled State in Cirq

I am trying to create this state: rho = = q . rho_{1,2} + r . rho_{2,3} + s . rho{1,3} + (1-q-r-s) . rho_separable And I wrote this code: ...
• 626