Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options not deleted user 7933

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.

1 vote
2 answers
407 views

How to create a multicontrol mcx gate or operation in cirq

In qiskit the method to apply a multi control with more than 2 control qubits is: qc.mct ( listcontrols,targetbit,listancillas, mode=mode[i]) What is the equivalent in Cirq for creating that operation …
Luis ALberto's user avatar
1 vote

How to create a multicontrol mcx gate or operation in cirq

I think the answer is: For creating an mct that will be executed: q = cirq.LineQubit.range(6) mymct = cirq.ControlledGate(sub_gate=cirq.X, num_controls=3) opmymct=mymct(q[0],q[1],q[2],q[3]) And for d …
Luis ALberto's user avatar
1 vote
0 answers
41 views

How to Find a circuit that evolves from one density matrix to another(qiskit or cirq)

given two density matrices, dmBefore and dmAfter, I want to generate(find) a circuit in Qiskit or Cirq that starting initaliazed with dmBefore ends with dmAfter after it's execution. … Also, I know that Qiskit have the evolve method for density matrixs witch takes a quantum circuit, but I don't know if Cirq can evolve a density matrix with a quantum circuit. …
Luis ALberto's user avatar