Qoro

Build once,
run everywhere

Write quantum programs in Python with Divi, then run them on your laptop or on Qoro's cloud without changing a line.

maxcut.py
import networkx as nx
from divi.qprog.algorithms import QAOA
from divi.qprog.problems import MaxCutProblem
from divi.qprog.optimizers import MonteCarloOptimizer
from divi.backends import QoroService
# Create your problem graph
graph = nx.erdos_renyi_graph(10, 0.5, seed=42)
qaoa = QAOA(
MaxCutProblem(graph),
n_layers=2,
max_iterations=10,
optimizer=MonteCarloOptimizer(),
backend=QoroService()
)
qaoa.run()
print(f"Best loss: {qaoa.best_loss:.4f}")
print(f"Solution: {qaoa.solution}")
  • HPC simulators in the cloud
  • Same code locally and on Qoro
  • Python-native

1,000 free credits

Sign up today and start simulating instantly

Qoro

Reset your password

Enter your email to receive a reset link

← Back to Login