Questions tagged [python]

Python is a multi-paradigm, dynamically typed, multipurpose programming language. It is designed to be quick to learn, understand, and use, and enforce a clean and uniform syntax.

Filter by
Sorted by
Tagged with
1
vote
2answers
62 views

How do I get the Unitary matrix of this circuit without using 'unitary_simulator'? [duplicate]

I am using jupyter notebook and qiskit. I have a simple quantum circuit and I want to know how to get the unitary matrix of the circuit without using 'get_unitary' from the Aer unitary_simulator. i.e.:...
0
votes
1answer
27 views

Why is my unitary matrix using linear algebra not matching the 'get_unitary' simulation?

I am using jupyter notebook and qiskit. I have a simple quantum circuit and I want to know how to get the unitary matrix of the circuit without using 'get_unitary' from the Aer unitary_simulator. i.e.:...
2
votes
4answers
115 views

How do I get the Unitary matrix of a circuit without using the 'unitary_simulator'?

I am using jupyter notebook and qiskit. I have a simple quantum circuit and I want to know how to get the unitary matrix of the circuit without using 'get_unitary' from the Aer unitary_simulator. i.e.:...
1
vote
1answer
36 views

How to use pass_operation_over with cirq.Operation?

Lately I saw a pull request in the Cirq GiHub repo where some dev said a test should be defined, with these constraints: You need to find a case where a ...
0
votes
1answer
21 views

What's the difference between open-source QRNG and Quantis Device?

qRNG is an open-source quantum random number generator written in python and Quantis RNG is a physical quantum random number generator. Both are capable of generating quantum random numbers, but how ...
2
votes
1answer
91 views

Grover's algorithm for the real problem of finding the index of an array element

Good day. I am interested in an IMPLEMENTED, not theoretical, example of code for solving the problem of finding the INDEX of an element in an uncorrected array using Grover's Algorithm. The task ...
1
vote
0answers
24 views

Amazon Braket Token Exception [closed]

I am attempting to run a job on Amazon Braket via the integrated Jupyter Notebooks, but I'm receiving an ...
1
vote
0answers
46 views

In Cirq, how do you display circuit diagrams that are “prettier” than the ones displayed by default?

This is a duplicate of a question that was asked on the Cirq issues page. I'm duplicating this question to increase it's visibility. The standard way to print circuits in Cirq is by calling ...
0
votes
0answers
20 views

How to use 'RevLib' files in python?

RevLib is an online resource for benchmarks within the domain of reversible and quantum circuit design. It provides a database of functions with respective circuit realizations given in a appropriate ...