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 21065

a model in which a computation is a sequence of quantum gates, which are reversible transformations on an n-qubit register (the quantum-mechanical analog of an n-bit register)

0 votes

The amount of clbit arguments 0 does not match the instruction expectation (16)

There should be no classical registers in your quantum circuit. Just make your quantum circuit qcirc = QuantumCircuit(16) then do your operations and then call the IterativeAmplitudeEstimation functi …
Yet another Random Guy's user avatar
2 votes
Accepted

Running circuits back to back in Qiskit

When your first circuit has no measurement operator, how does it get executed in the first place. I tried to replicate your code in the updated qiskit version. (on IBM Platform) # Importing standard Q …
Yet another Random Guy's user avatar
0 votes
Accepted

How to make sense of `Pauli observables` in the gate cutting code here?

The Pauli list says the operator or the basis on which you want to measure the quantum state. Whenever you implement a QAOA, or any other code that requires you to find the expectation value of an ope …
Yet another Random Guy's user avatar
0 votes

How to suppress long parameters list that appears in the initialize gate?

If your aim is to make a quantum circuit plot that doesn't have this big chunk of initialization state, you can make use of decompose function by qiskit. from qiskit import QuantumCircuit from qiskit. …
Yet another Random Guy's user avatar
1 vote

How to convert QUBO (with non-zero diagonal elements) to Maxcut?

It is well-known that any QUBO problem can be translated into an equivalent maximum cut problem (MaxCut), see ref 1. Given a weighted graph ( G = (V, E) ) with edge weights ( w_{ij} ), where ( ij \in …
Yet another Random Guy's user avatar