Skip to main content
Share Your Experience: Take the 2024 Developer Survey

New answers tagged

1 vote

How does the cirq compilation process work?

Circuit compilation is done with cirq.optimize_for_target_gateset. the method takes as an input a target gate set (e.g. cirq.CZTargetGateset) which dictates the flow of translation. Generally the ...
Noureldin Yosri's user avatar
1 vote

How to do quantum tomography on a subsystem of 2 of 30 qubits in cirq?

State tomography is implemented in Cirq as ...
Noureldin Yosri's user avatar
0 votes

How to do quantum tomography on a subsystem of 2 of 30 qubits in cirq?

You only need to do State Tomography on the 2 qubits. But take in mind that, when you perform that, you trace out the other qubits, and are taken as ancilla.
felipechoy's user avatar
2 votes
Accepted

How to compose a larger circuit onto a smaller circuit in Qiskit, adding extra quantum registers to some fixed list

If you already know how many ancillas are needed for each subcircuit, just add to your circuit ancillas enough to support the subcircuit with maximum number of ancillas, then pass a subset of these ...
Egretta.Thula's user avatar
0 votes

How to compose a larger circuit onto a smaller circuit in Qiskit, adding extra quantum registers to some fixed list

The way I would go about this is by first creating an additional QuantumRegister for the ancilla qubits then adding that ...
qubitzer's user avatar
  • 197
1 vote
Accepted

How to implement a depolarizing noise channel for qutrits using cirq?

The depolarizing channel can be represented as a probabilistic mixture of unitaries. You can represent mixtures in Cirq by implementing the _mixture_ and ...
Balint Pato's user avatar
  • 1,053

Top 50 recent answers are included