1234567891011121314151617181920212223242526 |
- use traits::Backend;
- use gate::Gate;
- use std::collections::HashMap;
- pub struct OpenCL {
- }
- impl Backend for OpenCL {
- fn apply_gate(&mut self, gate: Gate, target: u8) {
- }
- fn apply_controlled_gate(&mut self, gate: Gate, control: u8, target: u8) {
- }
- fn measure(&mut self) -> u8 {
- 1
- }
- fn measure_many(&mut self, iters: u64) -> HashMap<u8, u64> {
- HashMap::new()
- }
- }
|