Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"friendly_name": "Classical Shadows",
"description": "Classical shadows algorithm demonstrated on a bell state.",
"qmod_type": ["algorithms"],
"problem_domain_tags": [],
"level": ["basic", "demos"]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
qfunc unitary_application(state: qbit[]) {
H(state[0]);
}

qfunc main(output qarr: qbit[]) {
prepare_bell_state(1, qarr);
unitary_application(qarr);
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
{
"constraints": {
"max_gate_count": {},
"optimization_parameter": "no_opt"
},
"preferences": {
"machine_precision": 8,
"custom_hardware_settings": {
"basis_gates": [
"x",
"cy",
"y",
"z",
"ry",
"sx",
"u2",
"s",
"tdg",
"rx",
"h",
"cz",
"id",
"rz",
"sxdg",
"r",
"u1",
"sdg",
"u",
"p",
"t",
"cx"
],
"is_symmetric_connectivity": true
},
"debug_mode": true,
"synthesize_all_separately": false,
"optimization_level": 3,
"output_format": ["qasm"],
"pretty_qasm": true,
"transpilation_option": "auto optimize",
"timeout_seconds": 300,
"random_seed": 3766126510
}
}
2 changes: 2 additions & 0 deletions tests/resources/timeouts.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,8 @@ bpde.ipynb: 600
bpde.qmod: 10
cheb_lcu_solver_banded_be.qmod: 400
cheb_lcu_solver_pauli_be.qmod: 400
classical_shadows.ipynb: 600
classical_shadows.qmod: 10
chebyshev_approximation.ipynb: 20
classiq_chemistry_application.ipynb: 80
classiq_discrete_quantum_walk.ipynb: 300
Expand Down
Loading