Implement Controlled Gates in the MPS Simulator
Los mantenedores suelen responder en 2 días
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 5/5
- Tiempo estimado
- Más de una semana
- Aptitud para principiantes
- 38/100
Línea de trabajo
Start with the stubbed ApplyControlledGate in lib/mps_simulator.h, then read the existing MPS gate application code and tests to understand how operations are represented and simulated. Add controlled-gate tests alongside the existing MPS tests; done means controlled operations are simulated correctly and the tests pass.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
What is your request or suggestion?
In docs/mps.md, controlled gates are listed as a current limitation
- Controlled gates are not yet implemented
ApplyControlledGateexists but is a stub (// TODO)
it would be great to implement controlled gates as that would extend the functionality of the MPS simulator and allow circuits containing controlled operations to be simulated.
What solution or approach do you envision?
In lib/mps_simulator.h, implement the currently stubbed ApplyControlledGate function.
The implementation should integrate with the existing MPS simulation and include appropriate tests for controlled-gate operations.
How urgent is this for you?
None
- Lenguaje dominante
- C++
- Estrellas
- 702
- Forks
- 219
- Merge medio
- 1 d 2 h
- PR fusionados (30 d)
- 8
Preparar el entorno
- Incluye un Dockerfile o un archivo de Docker Compose
- Sin plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de quantumlib/qsim
-
`MPSStateSpace::Sample` accesses results out of bounds when the output vector is emptyPosiblemente ocupada @aadityarshah la tomó hace 42 días. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 84/100
quantumlib/qsim#1126 ·
Los mantenedores suelen responder en 2 días
-
Dificultad 3/5 1-2 días Aptitud para principiantes 57/100
quantumlib/qsim#1146 ·
Los mantenedores suelen responder en 2 días
-
Dificultad 4/5 3-5 días Aptitud para principiantes 56/100
quantumlib/qsim#1145 ·
Los mantenedores suelen responder en 2 días
-
`MPSStateSpace::SampleOnce` crashes for two-qubit statesPosiblemente ocupada @aadityarshah la tomó hace 40 días. Abierto
Dificultad 3/5 1-2 días Aptitud para principiantes 58/100
quantumlib/qsim#1129 ·
Los mantenedores suelen responder en 2 días
-
Implement expectation values for the MPS SimulatorPosiblemente ocupada @rupasri118 la tomó hace 36 días. Abierto
Dificultad 4/5 3-5 días Aptitud para principiantes 55/100
quantumlib/qsim#1122 · 1 comentario ·
Los mantenedores suelen responder en 2 días
Todos los issues de quantumlib/qsim
Issues similares
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 70/100
Los mantenedores suelen responder en 1 día
-
ai_p1 comp-sql-syntax
Dificultad 2/5 1-3 horas Aptitud para principiantes 74/100
ClickHouse/ClickHouse#133888 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
Los mantenedores suelen responder en 1 día
-
documentation good first issue
Dificultad 2/5 Medio día Aptitud para principiantes 66/100
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 70/100
jbcoe/cc-protocol#507 ·
Los mantenedores suelen responder en 1 día