opensquirrel 0.3.0__tar.gz → 0.3.1__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (56) hide show
  1. {opensquirrel-0.3.0 → opensquirrel-0.3.1}/PKG-INFO +1 -1
  2. {opensquirrel-0.3.0 → opensquirrel-0.3.1}/opensquirrel/writer/writer.py +1 -1
  3. {opensquirrel-0.3.0 → opensquirrel-0.3.1}/pyproject.toml +1 -1
  4. {opensquirrel-0.3.0 → opensquirrel-0.3.1}/LICENSE.md +0 -0
  5. {opensquirrel-0.3.0 → opensquirrel-0.3.1}/README.md +0 -0
  6. {opensquirrel-0.3.0 → opensquirrel-0.3.1}/opensquirrel/__init__.py +0 -0
  7. {opensquirrel-0.3.0 → opensquirrel-0.3.1}/opensquirrel/circuit.py +0 -0
  8. {opensquirrel-0.3.0 → opensquirrel-0.3.1}/opensquirrel/circuit_builder.py +0 -0
  9. {opensquirrel-0.3.0 → opensquirrel-0.3.1}/opensquirrel/circuit_matrix_calculator.py +0 -0
  10. {opensquirrel-0.3.0 → opensquirrel-0.3.1}/opensquirrel/common.py +0 -0
  11. {opensquirrel-0.3.0 → opensquirrel-0.3.1}/opensquirrel/default_gate_modifiers.py +0 -0
  12. {opensquirrel-0.3.0 → opensquirrel-0.3.1}/opensquirrel/default_instructions.py +0 -0
  13. {opensquirrel-0.3.0 → opensquirrel-0.3.1}/opensquirrel/exceptions.py +0 -0
  14. {opensquirrel-0.3.0 → opensquirrel-0.3.1}/opensquirrel/instruction_library.py +0 -0
  15. {opensquirrel-0.3.0 → opensquirrel-0.3.1}/opensquirrel/ir.py +0 -0
  16. {opensquirrel-0.3.0 → opensquirrel-0.3.1}/opensquirrel/parser/__init__.py +0 -0
  17. {opensquirrel-0.3.0 → opensquirrel-0.3.1}/opensquirrel/parser/libqasm/README.md +0 -0
  18. {opensquirrel-0.3.0 → opensquirrel-0.3.1}/opensquirrel/parser/libqasm/__init__.py +0 -0
  19. {opensquirrel-0.3.0 → opensquirrel-0.3.1}/opensquirrel/parser/libqasm/parser.py +0 -0
  20. {opensquirrel-0.3.0 → opensquirrel-0.3.1}/opensquirrel/passes/__init__.py +0 -0
  21. {opensquirrel-0.3.0 → opensquirrel-0.3.1}/opensquirrel/passes/decomposer/__init__.py +0 -0
  22. {opensquirrel-0.3.0 → opensquirrel-0.3.1}/opensquirrel/passes/decomposer/aba_decomposer.py +0 -0
  23. {opensquirrel-0.3.0 → opensquirrel-0.3.1}/opensquirrel/passes/decomposer/cnot2cz_decomposer.py +0 -0
  24. {opensquirrel-0.3.0 → opensquirrel-0.3.1}/opensquirrel/passes/decomposer/cnot_decomposer.py +0 -0
  25. {opensquirrel-0.3.0 → opensquirrel-0.3.1}/opensquirrel/passes/decomposer/general_decomposer.py +0 -0
  26. {opensquirrel-0.3.0 → opensquirrel-0.3.1}/opensquirrel/passes/decomposer/mckay_decomposer.py +0 -0
  27. {opensquirrel-0.3.0 → opensquirrel-0.3.1}/opensquirrel/passes/decomposer/swap2cnot_decomposer.py +0 -0
  28. {opensquirrel-0.3.0 → opensquirrel-0.3.1}/opensquirrel/passes/exporter/__init__.py +0 -0
  29. {opensquirrel-0.3.0 → opensquirrel-0.3.1}/opensquirrel/passes/exporter/cqasmv1_exporter.py +0 -0
  30. {opensquirrel-0.3.0 → opensquirrel-0.3.1}/opensquirrel/passes/exporter/export_format.py +0 -0
  31. {opensquirrel-0.3.0 → opensquirrel-0.3.1}/opensquirrel/passes/exporter/quantify_scheduler_exporter.py +0 -0
  32. {opensquirrel-0.3.0 → opensquirrel-0.3.1}/opensquirrel/passes/mapper/__init__.py +0 -0
  33. {opensquirrel-0.3.0 → opensquirrel-0.3.1}/opensquirrel/passes/mapper/general_mapper.py +0 -0
  34. {opensquirrel-0.3.0 → opensquirrel-0.3.1}/opensquirrel/passes/mapper/mapping.py +0 -0
  35. {opensquirrel-0.3.0 → opensquirrel-0.3.1}/opensquirrel/passes/mapper/qubit_remapper.py +0 -0
  36. {opensquirrel-0.3.0 → opensquirrel-0.3.1}/opensquirrel/passes/mapper/simple_mappers.py +0 -0
  37. {opensquirrel-0.3.0 → opensquirrel-0.3.1}/opensquirrel/passes/mapper/utils.py +0 -0
  38. {opensquirrel-0.3.0 → opensquirrel-0.3.1}/opensquirrel/passes/merger/__init__.py +0 -0
  39. {opensquirrel-0.3.0 → opensquirrel-0.3.1}/opensquirrel/passes/merger/general_merger.py +0 -0
  40. {opensquirrel-0.3.0 → opensquirrel-0.3.1}/opensquirrel/passes/merger/single_qubit_gates_merger.py +0 -0
  41. {opensquirrel-0.3.0 → opensquirrel-0.3.1}/opensquirrel/passes/router/__init__.py +0 -0
  42. {opensquirrel-0.3.0 → opensquirrel-0.3.1}/opensquirrel/passes/router/general_router.py +0 -0
  43. {opensquirrel-0.3.0 → opensquirrel-0.3.1}/opensquirrel/passes/router/routing_checker.py +0 -0
  44. {opensquirrel-0.3.0 → opensquirrel-0.3.1}/opensquirrel/passes/validator/__init__.py +0 -0
  45. {opensquirrel-0.3.0 → opensquirrel-0.3.1}/opensquirrel/passes/validator/general_validator.py +0 -0
  46. {opensquirrel-0.3.0 → opensquirrel-0.3.1}/opensquirrel/passes/validator/native_gate_validator.py +0 -0
  47. {opensquirrel-0.3.0 → opensquirrel-0.3.1}/opensquirrel/register_manager.py +0 -0
  48. {opensquirrel-0.3.0 → opensquirrel-0.3.1}/opensquirrel/reindexer/__init__.py +0 -0
  49. {opensquirrel-0.3.0 → opensquirrel-0.3.1}/opensquirrel/reindexer/qubit_reindexer.py +0 -0
  50. {opensquirrel-0.3.0 → opensquirrel-0.3.1}/opensquirrel/utils/__init__.py +0 -0
  51. {opensquirrel-0.3.0 → opensquirrel-0.3.1}/opensquirrel/utils/check_mapper.py +0 -0
  52. {opensquirrel-0.3.0 → opensquirrel-0.3.1}/opensquirrel/utils/identity_filter.py +0 -0
  53. {opensquirrel-0.3.0 → opensquirrel-0.3.1}/opensquirrel/utils/list.py +0 -0
  54. {opensquirrel-0.3.0 → opensquirrel-0.3.1}/opensquirrel/utils/math.py +0 -0
  55. {opensquirrel-0.3.0 → opensquirrel-0.3.1}/opensquirrel/utils/matrix_expander.py +0 -0
  56. {opensquirrel-0.3.0 → opensquirrel-0.3.1}/opensquirrel/writer/__init__.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: opensquirrel
3
- Version: 0.3.0
3
+ Version: 0.3.1
4
4
  Summary: A quantum circuit transformation and manipulation tool
5
5
  Home-page: https://github.com/QuTech-Delft/OpenSquirrel
6
6
  License: Apache-2.0
@@ -66,7 +66,7 @@ class _WriterImpl(IRVisitor):
66
66
  gate_generator = []
67
67
  if gate.generator is not None:
68
68
  gate_generator = list(inspect.signature(gate.generator).parameters.keys())
69
- qubit_function_keys = ["target", "control", "qubit"]
69
+ qubit_function_keys = ["target", "control", "qubit", "qubit0", "qubit1"]
70
70
  if gate.is_anonymous:
71
71
  if "MatrixGate" in gate_name:
72
72
  # In the case of a MatrixGate the newlines should be removed from the array
@@ -1,6 +1,6 @@
1
1
  [tool.poetry]
2
2
  name = "opensquirrel"
3
- version = "0.3.0"
3
+ version = "0.3.1"
4
4
  description = "A quantum circuit transformation and manipulation tool"
5
5
  authors = [
6
6
  "Quantum Inspire <support@quantum-inspire.com>"
File without changes
File without changes