Skip to content

Commit

Permalink
lint-fix
Browse files Browse the repository at this point in the history
  • Loading branch information
GeorgDaniel committed Nov 29, 2023
1 parent 770bce0 commit 16582cc
Showing 1 changed file with 7 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@ import { Router } from '@angular/router';
import { HttpClient, HttpHeaders } from '@angular/common/http';
import { UtilService } from '../../../util/util.service';



@Component({
selector: 'qunicorn-service',
templateUrl: './qunicorn-service.component.html',
Expand All @@ -15,11 +13,11 @@ export class QunicornAppComponent implements OnInit {
variableNames = ['name'];
loading = true;

userInput: string = '';
userInput = '';
deploymentID = 3;
deploymentName: string = 'PlanQK-UseCase';
deploymentName = 'PlanQK-UseCase';
jobID: any = 1;
jobName: string = 'PlanQK-Job';
jobName = 'PlanQK-Job';

selectedPlatform = 'IBM'; // Added property for the selected platform
selectedLanguage = 'QASM2';
Expand All @@ -39,9 +37,9 @@ export class QunicornAppComponent implements OnInit {
private router: Router,
private utilService: UtilService,
private http: HttpClient
) { }
) {}

ngOnInit(): void { }
ngOnInit(): void {}

getJobs() {
this.http
Expand Down Expand Up @@ -76,8 +74,8 @@ export class QunicornAppComponent implements OnInit {
programs: [
{
// quantumCircuit:
//'OPENQASM 2.0;\ninclude "qelib1.inc";\nqreg q[2];\ncreg meas[2];\nh q[0];\ncx q[0],q[1]; \
//\nbarrier q[0],q[1];\nmeasure q[0] -> meas[0];\nmeasure q[1] -> meas[1];\n',
// 'OPENQASM 2.0;\ninclude "qelib1.inc";\nqreg q[2];\ncreg meas[2];\nh q[0];\ncx q[0],q[1]; \
// \nbarrier q[0],q[1];\nmeasure q[0] -> meas[0];\nmeasure q[1] -> meas[1];\n',
quantumCircuit: this.userInput,
assemblerLanguage: this.selectedLanguage,
},
Expand Down

0 comments on commit 16582cc

Please sign in to comment.