CUNQA
Contents:
Getting Started
Clone repository
Installation
QMIO
Automatic installation
Manual installation
Finisterrae III (FT3)
Automatic installation
Manual installation
Run your first distributed program
1.
qraise
command
2. Python Program Example
3.
qdrop
command
CUNQA Package
cunqa
cunqa.backend
cunqa.backend.Backend
cunqa.circuit
cunqa.circuit.flatten
cunqa.circuit.from_json_to_qc
cunqa.circuit.generate_id
cunqa.circuit.is_parametric
cunqa.circuit.qc_to_json
cunqa.circuit.CunqaCircuit
cunqa.circuit.CunqaCircuitError
cunqa.mappers
cunqa.mappers.QJobMapper
cunqa.mappers.QPUCircuitMapper
cunqa.qjob
cunqa.qjob.gather
cunqa.qjob.QJob
cunqa.qjob.QJobError
cunqa.qpu
cunqa.qpu.QPU
cunqa.qutils
cunqa.qutils.getQPUs
cunqa.qutils.infoQPUs
cunqa.qutils.nodeswithQPUs
cunqa.qutils.qdrop
cunqa.qutils.qraise
cunqa.qutils.QRaiseError
cunqa.result
cunqa.result.convert_counts
cunqa.result.divide
cunqa.result.Result
cunqa.result.ResultError
cunqa.transpile
cunqa.transpile.transpiler
cunqa.transpile.TranspilerError
Examples gallery
Example for execution of multiple circuits in QPUs
Importing and adding paths to
sys.path
Let’s get the QPUs that we q-raised!
Let’s create a circuit to run in our QPUs!
Execution time! Let’s do it sequentially
Cool isn’t it? But this circuit is too simple, let’s try with a more complex one!
This circuit has 15 qubits and 10 intermidiate measurements, let’s run it in AerSimulator
Takes much longer … let’s parallelize n executions in n different QPUs
Examples for optimizations
Simply using the
QPU.run()
method
Using
QJob.upgrade_parameters()
Paralelization for gradient-free optimizers: Differential Evolution
QJobMapper
QPUCircuitMapper
Paralelization of expectation value terms
Paralelization for gradient optimizers
cloud_example
example_qraise
hpc_example
CUNQA
CUNQA Package
cunqa
cunqa.circuit
cunqa.circuit.generate_id
View page source
cunqa.circuit.generate_id
cunqa.circuit.
generate_id
(
size
=
4
)